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 it # Turn off sysrq - if [ "$MAGIC_SYSRQ" = "no" ]; + if [ "$MAGIC_SYSRQ" = "no" -a -e /proc/sys/kernel/sysrq ]; then echo "0" > /proc/sys/kernel/sysrq fi
Already fixed in the latest initscripts in Raw Hide.