-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FreeIPA server configuration failed - named starting failed - pipe() failed: Too many open files #653
Comments
Our tests in https://github.com/freeipa/freeipa-container/actions pass so before rushing to make any changes, we'd really need to understand what is different about your setup. What host OS and version do you use, what podman version, and what OS and version in the container is this? Is the podman running rootless or rootful? What is the exact Can you run
to see if that passes? |
Hi, Thank you for the (very) quick response. The server (host) runs on Debian 12, podman is version 4.3.1, and I run Rocky 9 in the container. The podman is running rootful (due to Ansible The podman command is done via Ansible The server is disconnected from the Internet, that's why you see the Finally running your command leads to the same error (excepting IPv6, but it is disabled in our context):
|
Could you please try if running
in the container (or putting this to |
So sum up the history around us setting the There used to be an issue https://bugzilla.redhat.com/show_bug.cgi?id=1656519 where certmonger was blindly calling
so certmonger was looping for a very long time. For comparison, on a typical Fedora host, the limit is
and podman by default sets more sensible defaults as well:
The certmonger code has since been changed (https://pagure.io/certmonger/pull-request/130#request_diff) but having the FreeIPA container's hard limit more sensible than docker's 1073741816 still seems like a reasonable security setup. Of course, forcing it to be just 1024 for both soft and hard might have been too restrictive, even if we did not see ill effects until this report. That's why I'm trying to find out if having the soft/hard limits match what we have on a typical host would be the best approach going forward. |
Hi,
I just tried to install FreeIPA via Podman, and it keeps failing.
After debugging for a while, it seems like it is related to named not (re)starting.
In
journalctl -xeu named
:After checking
sysctl
,ulimit
,/etc/security/limits.conf
and finding nothing, I saw that a line was added in/etc/systemd/system.conf
:DefaultLimitNOFILE=1024
.I tried to increase the value or comment the line, and the named service starts successfully after that.
It seems like it is related to commit 3d8437d.
Is it possible to comment the line or to increase the value to fix the installation?
The text was updated successfully, but these errors were encountered: