Why sysrq is limited to only "sync" command on official fedora kernel?

Paul Wouters paul at nohats.ca
Wed Feb 25 17:37:57 UTC 2015


On Wed, 25 Feb 2015, Lennart Poettering wrote:

> Hmm? Syncing is allowed to my knowledge. C-a-d and gdm allow a clean
> reboot/poweroff. But sysrq does an abnormal reboot/poweroff, which we
> cannot allow. Similar, remounting read-only is also security senstive,
> which we cannot allow.
>
> Without being logged in there's very little you can do on a host right
> now, and sysrq should not open up more there by default.

You must have forgotten your university days....

The alternative to not being able to sync-umount-boot using sysrq is to
flip the switch. I'd rather have them use sysrq.

I said it when they closed X ctrl-alt-backspace and I'll say it now.
When you are on console with the power plug, preventing these actions
is stupid.

Paul


More information about the devel mailing list