Bug 87294 - systemctl daemon-reload sets kernel configs again
Summary: systemctl daemon-reload sets kernel configs again
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-13 21:13 UTC by Umut Tezduyar
Modified: 2016-06-07 11:12 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Umut Tezduyar 2014-12-13 21:13:14 UTC
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
#
Comment 1 Lennart Poettering 2016-06-07 11:12:46 UTC
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.