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


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to