SoylentNews
SoylentNews is people
https://soylentnews.org/

Title    systemd Disables the Linux Magic SysRq Key
Date    Monday December 22 2014, @02:13AM
Author    LaminatorX
Topic   
from the Man-what? dept.
https://soylentnews.org/article.pl?sid=14/12/21/1554227

An Anonymous Coward writes:

As long time SoylentNews community member Marand observed during some recent discussion of severe systemd boot problems, it turns out that systemd disables the magic SysRq key.

The magic SysReq key is described at Wikipedia as:

[...] a key combination understood by the Linux kernel, which allows the user to perform various low-level commands regardless of the system's state. It is often used to recover from freezes, or to reboot a computer without corrupting the filesystem.

A Fedora user who logged a bug report for this issue back in 2013 described the problem with systemd's unexpected and harmful default setting:

As systemd depends on many files on a rootfs, in case of any problems with rootfs, it is not able to do its basic function - control processes and (cleanly) shutdown/reboot when crtl-alt-del is pressed on local keyboard. As this is a feature, I'd like to ask to enable the sysrq by default on Fedora, otherwise it is not possible to reboot system even locally in case of emergency situation.

While that Fedora bug report is set to CLOSED NOTABUG, other Linux distros, like Mageia and Debian GNU/Linux, have restored the proper behavior.

Now that this problem has come to light, all Fedora users should evaluate whether or not they need to fix their systems to work around systemd's incorrect default setting. Users of other Linux distributions using systemd should also evaluate their systems, too, in case their distro has not yet fixed this unexpected bug.

Links

  1. "Marand" - https://soylentnews.org/~Marand/
  2. "recent discussion of severe systemd boot problems" - https://soylentnews.org/comments.pl?sid=5378&tid=11
  3. "systemd disables the magic SysRq key" - https://soylentnews.org/comments.pl?cid=127928&sid=5378&tid=11
  4. "magic SysReq key" - https://en.wikipedia.org/wiki/Magic_SysRq_key
  5. "logged a bug report" - https://bugzilla.redhat.com/show_bug.cgi?id=982200
  6. "Mageia" - https://bugs.mageia.org/show_bug.cgi?id=10473
  7. "Debian GNU/Linux" - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725422

© Copyright 2024 - SoylentNews, All Rights Reserved

printed from SoylentNews, systemd Disables the Linux Magic SysRq Key on 2024-04-20 03:25:26