Skip to content

main: Don't change /proc/sys/kernel/sysrq values

Bastien Nocera requested to merge wip/hadess/no-enable-oom into master

The kernel documentation states:

Note that the value of /proc/sys/kernel/sysrq influences only the
invocation via a keyboard. Invocation of any operation via
/proc/sysrq-trigger is always allowed (by a user with admin
privileges).

So there is no need to change the value in order to trigger sysrq programatically.

This is causing problems on Fedora where the default value of the setting is 16 at /usr/lib/sysctl.d/50-default.conf and low-memory-monitor is changing it to 80 (enabling the 64 bit).

Co-developed-by: Robert Marcano robert@marcanoonline.com

Closes: #11 (closed)

Merge request reports