Closed djasa closed 1 month ago
I didn't test the code yet and the timeouts and correct behaviour upon hitting them is up to discussion.
I've hit this situation by running podman run [no --dns] <cont_opts> image exit-on-finished --setup-dns <i-s-i opts>
and the container apparently not exitting after ipa-server-install
successfully finished.
Hello, I struggle to find time to properly review and test this, to please bear with me.
Tested now via https://github.com/freeipa/freeipa-container/pull/630.
Thank you.
podman run
without--dns=127.0.0.1
but with--setup-dns
orupdate-self-ip-address
may lead to ipa-server-configure-first waiting for hostname resolution indefinitely and with no pointers in the logs what's wrong.Let's set timeout for the hostname resolution and error out after reaching it.