Another user annoyance

poma pomidorabelisima at gmail.com
Sat Jan 31 15:12:17 UTC 2015


On 31.01.2015 12:52, Heinz Diehl wrote:
> Hi,
> 
> tried to safely bring down a crashed Fedora 21 machine today, but M-sysrq
> didn't do anything. After bringing the machine up again, the logs showed
> that M-sysrq functionality was disabled. After investigating further, it seemed
> that only Sysrq-S (emergency save) was actually working. In /etc/sysctl.d/01-sysctl.conf,
> "kernel.sysrq=1" was present. It took me nearly 30 min. to find out that systemd
> has it's own sysctl definitions, gladly ignoring/overwriting /etc/sysctl.d. In
> /usr/lib/sysctl.d/50-default.conf, "kernel.sysrq=16" was set, which is what crippled
> full sysrq functionality.
> 
> In addition, I'm curious what happens when the next systemd update gets pulled in.
> Most probably, my manual settings will be overwritten with what systemd thinks
> is good for the user..
> 

:)

$ grep kernel.sysrq /usr/lib/sysctl.d/*
/usr/lib/sysctl.d/50-default.conf:kernel.sysrq = 16

$ grep kernel.sysrq /etc/sysctl.d/*
/etc/sysctl.d/sysrq.conf:kernel.sysrq = 1

$ sysctl kernel.sysrq
kernel.sysrq = 1




More information about the users mailing list