Bug 1898524

Summary: Do not change the value of /proc/sys/kernel/sysrq
Product: [Fedora] Fedora Reporter: Robert Marcano <robert>
Component: low-memory-monitorAssignee: Bastien Nocera <bnocera>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 33CC: bnocera
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: low-memory-monitor-2.1-1.fc33 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-22 01:25:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Robert Marcano 2020-11-17 12:48:32 UTC
Tracking bug for packager for upstream bug

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

Comment 1 Fedora Update System 2020-11-17 14:09:21 UTC
FEDORA-2020-7b733d1adb has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-7b733d1adb

Comment 2 Fedora Update System 2020-11-18 01:08:51 UTC
FEDORA-2020-7b733d1adb has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-7b733d1adb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-7b733d1adb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2020-11-22 01:25:02 UTC
FEDORA-2020-7b733d1adb has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.