-
Notifications
You must be signed in to change notification settings - Fork 260
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 not starting on podman 5.2.2 #642
Comments
Does the FreeIPA container have DNS server configured? If that's the case, the As for why it works with one podman version and not the other -- is that on exactly the same host, or on a different machine? If the machines are different, is it possible that their |
Sorry for the late reply. Freeipa is running rootless using the "freeipa-server:rocky-9" image on a VM. The VM has a self hosted DNS server configured. I entered the freeipa container and the /etc/resolv.conf on host
/etc/resolv.conf inside freeipa container
Yes, it's the exact same VM. I've just done a |
So the DNS server is running outside of the FreeIPA container. Hmm, our logic in https://github.com/freeipa/freeipa-container/blob/master/ipa-server-configure-first#L235 might be a bit broken for that case. If you remove the |
The DNS server is running on a totally different VM. |
The 10.0.2.3 comes from slirp4netns(1) (or its pasta equivalent). Remove the |
Okay, I renamed that file to |
Right. The I filed #644 to track the future around |
But I would also point out -- do you need that Assuming that is an IP address of the VM and assuming that does not change, once the FreeIPA's DNS record is in the DNS zone, you can probably remove that parameter. That would also prevent the |
Last but not least -- if you want to have the |
@adelton accordig to |
When using
podman version 4.9.4-rhel
the container starts without any issuespodman logs freeipa-server mode of '/tmp/var' changed from 1755 (rwxr-xr-t) to 0755 (rwxr-xr-x) Sat Dec 7 13:43:21 UTC 2024 /usr/sbin/ipa-server-configure-first upgrade FreeIPA server is already configured, starting the services. Sat Dec 7 13:44:08 UTC 2024 /usr/sbin/ipa-server-configure-first update-self-ip-address freeipa.my-domain.com has address 10.1.1.16 FreeIPA server started.
But when using the same systemd file or the same podman run command with
podman version 5.2.2
. The container gets killed after x seconds. Interesting to see, if using-e DEBUG_NO_EXIT=1
the container logs stop like shown below. Freeipa even seems to work, I could open the UI, login etc. Without theDEBUG_NO_EXIT
flag, it gets killed all the time.ExecStart inside systemd file
Couldn't find anything in the podman release notes, which could help here. Anything I can do, or try? Appreciate any help.
The text was updated successfully, but these errors were encountered: