HomeClusterLabs Projects

Low: pacemakerd,libcrmcommon: don't touch kernel.sysrq

Description

Low: pacemakerd,libcrmcommon: don't touch kernel.sysrq

On Linux, Pacemaker previously enabled rebooting via SysRq by changing
/proc/sys/kernel/sysrq, then triggered the reboot via /proc/sysrq-trigger (as
root). However, per the kernel sysrq.txt documentation:

"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)."

Details

Provenance
kgaillotAuthored on Dec 6 2018, 11:23 AM
Parents
rPb19dd0e76bfd: Log: fencing: use next device's name where intended
Branches
Unknown
Tags
Unknown

Event Timeline