Closed StefanAbl closed 2 months ago
I see /sys/fs/cgroup:/sys/fs/cgroup:ro
in your docker-compose.yaml
. That suggests that the original host was a cgroups v1 system. I assume that Ubuntu 24.04 is cgroups v2.
A quick suggestion might be to try to change that :ro
to :rw
. However, on Ubuntu 24.04 you might also be able to take advantage of rootless docker, so I'd suggest to do a fresh testing setup following the fresh README from this repository, and only after getting solid setup migrate your original container.
We seem to have lost traction here.
Sorry for not answering sooner. Your tip with mounting the volume as rw
helped me to get the container up temporarily.
Regarding a permanent solution, I've read that using cgroup v2 in docker can be quite difficult. Do you recommend using podman instead of docker, as this article suggests that systemd is supported whithout any tweaks by podman?
Thank you for your help!
We document both docker and podman setups in our README at https://github.com/freeipa/freeipa-container. Yes, the systemd-in-container integration in podman is better, so fewer manual options are required.
After updating the host on which I run a FreeIPA replica in a container to Ubuntu 22.04 and then to 24.04 the replica will no longer start. This happens with both versions. Before I used 20.04 with which the container worked. I added the DEBUG_NO_EXIT env variable however the container still crashes.
These are the last logs the container prints:
In
/var/log/ipa-server-configure-first.log
it prints:Sat Aug 24 12:03:38 UTC 2024 /usr/local/sbin/init
And in `/var/log/ipa-server-run.log :The test script is also not successful, however it's output does not help me solve my issue:
I created the container using ansible with the following options:
Thank you for helping me!