This service will be undergoing maintenance at 00:00 UTC, 2016-09-28. It is expected to last about 1 hours
Bug 6286 - sysinit issues error message of /proc/sys/kernel/sysrq not present
sysinit issues error message of /proc/sys/kernel/sysrq not present
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Bill Nottingham
Depends On:
  Show dependency treegraph
Reported: 1999-10-23 13:57 EDT by Olivier Crête
Modified: 2014-03-16 22:10 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-10-25 12:04:33 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:

Attachments (Terms of Use)

  None (edit)
Description Olivier Crête 1999-10-23 13:57:05 EDT
If the kernel is compiled w/o sysrq support, rc.sysinit
issues an error message like "/proc/sys/kernel/sysrq: No
such file or directory" I think this simple patch could do

  # Turn off sysrq
- if [ "$MAGIC_SYSRQ" = "no" ];
+ if [ "$MAGIC_SYSRQ" = "no" -a -e /proc/sys/kernel/sysrq
];   then
          echo "0" > /proc/sys/kernel/sysrq
Comment 1 Bill Nottingham 1999-10-25 12:04:59 EDT
Already fixed in the latest initscripts in Raw Hide.

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