Description of problem: My machine just hanged on poweroff. As I had enabled sysrq before, I've tried to halt it via the magic key combos. Bad luck, the only thing I could do was sync. Version-Release number of selected component (if applicable): systemd-204-9.fc19.x86_64 How reproducible: always Steps to Reproduce: 1. # echo "kernel.sysrq = 1" > /etc/sysctl.d/sysrq.conf 2. reboot 3. $ cat /proc/sys/kernel/sysrq Actual results: 16 Expected results: 1 Additional info: https://fedoraproject.org/wiki/QA/Sysrq#How_do_I_enable_the_magic_SysRq_key.3F
You can use the following to work around the bug: # cp /usr/lib/sysctl.d/50-default.conf /etc/sysctl.d/ # sed -i 's/kernel.sysrq = 16/kernel.sysrq = 1/' /etc/sysctl.d/50-default.conf
but there are multiple settings in that file, what if something changes in the future and the change will go unnoticed due to the local copy?
*** This bug has been marked as a duplicate of bug 1007150 ***