Skip to content
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

/etc/systemd/system.conf:1: Assignment outside of section. Ignoring. #652

Open
adelton opened this issue Jan 21, 2025 · 0 comments
Open

Comments

@adelton
Copy link
Collaborator

adelton commented Jan 21, 2025

The Fedora images now report

[...]
changed ownership of '/data/etc/systemd/system/systemd-logind.service' from root:root to nobody:nobody
changed ownership of '/data/etc/systemd/system/rpc-gssd.service' from root:root to nobody:nobody
/etc/systemd/system.conf:1: Assignment outside of section. Ignoring.
systemd 255.16-1.fc40 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.
[...]

when started like

$ podman run --rm -ti -h ipa.example.test quay.io/freeipa/freeipa-server:fedora-41

The issue seems caused by a change https://src.fedoraproject.org/rpms/systemd/c/29eb35530b29232eed65718d0cd96d67cd7ffd6b.

We added that

# Establish reasonably low open files limit in the container
RUN echo "DefaultLimitNOFILE=1024" >> /etc/systemd/system.conf

in 3d8437d.

We might want to update our Dockerfiles, to avoid the warning message and to set the limits again.

It is also possible that the limits are no longer needed -- that might be also nice to investigate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant