We are (as a distro) overriding a single sys config value by a file within /usr/lib/. Systemd is being nice and informing us about the override on every boot. But I have noticed that between 216-218, systemctl daemon-reload resets the sys configs and puts out a warning message which I should be not there even if we have to set the kernel sysconfig. # systemctl --version systemd 218 -PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK -SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS -ACL -XZ -LZ4 -SECCOMP -BLKID -ELFUTILS +KMOD -IDN # systemctl daemon-reload Overwriting earlier assignment of kernel/sysrq in file '/usr/lib/sysctl.d/52-axis.conf'. # cat /usr/lib/sysctl.d/52-axis.conf kernel.sysrq=1 #
I am pretty sure this works correctly these days. If it doesn't, please file a new bug on systemd github. Thanks.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.