Description of problem: Affempts to run systemd-based container started to fail with systemd-253~rc1-1.fc38. Version-Release number of selected component (if applicable): systemd-253~rc1-1.fc38 in the container. podman-4.3.1-1.fc37 on the host. How reproducible: Deterministic. Steps to Reproduce: 1. Create Dockerfile with FROM registry.fedoraproject.org/fedora:rawhide RUN dnf install -y /usr/sbin/init 2. Build container image: podman build -t systemd-rawhide . 3. Run the systemd in the container: podman run --rm -ti systemd-rawhide /usr/sbin/init Actual results: systemd 253~rc1-1.fc38 running in system mode (+PAM +AUDIT +SELINUX -APPARMOR +IMA +SMACK +SECCOMP -GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN -IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK +XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified) Detected virtualization podman. Detected architecture x86-64. Welcome to Fedora Linux 38 (Container Image Prerelease)! Failed to open libbpf, cgroup BPF features disabled: Operation not supported Failed to fork: Operation not permitted [!!!!!!] Failed to start up manager. Exiting PID 1... Expected results: No error. Additional info: This is a regression against Fedora 37 and systemd-252.4-4.fc38.
I see the same results with both rootless and rootful containers. I see the same result with moby-engine-20.10.22-1.fc37 as well, running the container as docker run --rm -ti --tmpfs /run systemd-rawhide /usr/sbin/init
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle. Changing version to 38.
The issue is still present with systemd-253~rc2-3.fc38.
Fix is waiting in https://github.com/systemd/systemd/pull/26478.
FEDORA-2023-9e6007f165 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-9e6007f165
FEDORA-2023-73fea9469f has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-73fea9469f
FEDORA-2023-9e6007f165 has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2023-5690f5f379 has been pushed to the Fedora 38 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-5690f5f379 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-5690f5f379 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.