Bug 993562 - sysrq configuration not honoured
Summary: sysrq configuration not honoured
Keywords:
Status: CLOSED DUPLICATE of bug 1007150
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-06 07:50 UTC by Karel Volný
Modified: 2013-09-12 19:39 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-09-12 19:39:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karel Volný 2013-08-06 07:50:17 UTC
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

Comment 1 Kamil Dudka 2013-08-14 14:04:40 UTC
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

Comment 2 Karel Volný 2013-08-29 14:25:26 UTC
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?

Comment 3 Lennart Poettering 2013-09-12 19:39:30 UTC

*** This bug has been marked as a duplicate of bug 1007150 ***


Note You need to log in before you can comment on or make changes to this bug.