You are not logged in.
Hi, Im seeing a lot of
systemd-sysctl[192]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
in my journal lately, any ideas of what it is? google hasn't helped me.
bitcoin: 1G62YGRFkMDwhGr5T5YGovfsxLx44eZo7U
Offline
You set some settings twice in /etc/sysctl.conf an in /usr/lib/sysctl.d/50-default.conf
See sysctl wiki entry for more informartion.
Offline
Package `procps-ng` provides /etc/sysctl.conf, which contains this:
# Disable SysRq key to avoid console security issues.
kernel.sysrq = 0
And package `systemd` provides /usr/lib/sysctl.d/50-default.conf, which contains the following line:
kernel.sysrq = 16
The file in /usr is read second, and when systemd finds that sysrq variable was already set, it ignores the second assignment, but not without printing the warning.
The easiest fix is to comment this setting in /etc/sysctl.conf.
Offline
It's just strange because this only occurs on one of my computers, and they both have those identical files
bitcoin: 1G62YGRFkMDwhGr5T5YGovfsxLx44eZo7U
Offline
Check again, maybe one file has SysRq enabled and one disabled. By default the arch sysctl.conf comes with
kernel.sysrq = 0
Offline
100% identical in terms of
kernel.sysrq = 16
in /usr/lib/sysctl.d/50-default.conf
and
kernel.sysrq = 0
in /etc/sysctl.conf
in both computers, only getting the journal output in one of them.
What about your systems?
*Edit
scratch that, I'm seeing 'Duplicate assignment of kernel/sysrq' in both journals.
Last edited by jrussell (2013-05-11 13:46:22)
bitcoin: 1G62YGRFkMDwhGr5T5YGovfsxLx44eZo7U
Offline