Stories
Slash Boxes
Comments

SoylentNews is people

posted by LaminatorX on Monday December 22 2014, @02:13AM   Printer-friendly
from the Man-what? dept.

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.

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 4, Informative) by novak on Monday December 22 2014, @03:51AM

    by novak (4683) on Monday December 22 2014, @03:51AM (#128219) Homepage

    How often do these idiots refuse to fix bugs? Seems like they pretty much won't admit that any shortcoming in their software exists. Like that time when they broke kernel logging and tried to say it wasn't a bug, and Linus had to scream at them and refuse to accept code by Kay until he fixed his shit (http://lkml.iu.edu/hypermail/linux/kernel/1404.0/01331.html).

    I mean, even if you hit your head and think something like systemd is a good idea, you probably don't want software made by these guys.

    --
    novak
    Starting Score:    1  point
    Moderation   +2  
       Informative=2, Total=2
    Extra 'Informative' Modifier   0  
    Karma-Bonus Modifier   +1  

    Total Score:   4  
  • (Score: 2) by jmorris on Monday December 22 2014, @04:04AM

    by jmorris (4844) on Monday December 22 2014, @04:04AM (#128221)

    you probably don't want software made by these guys.

    Yup, that is a big part of the objection. Nothing in the past performance of the key people inspires confidence they have the skills or personality to be essentially taking sole responsibility for the the userspace side of GNU/Linux. (Note I'm normally first in line to say RMS's insistance on the GNU/Linux naming is bogus but I can't see another way to distinguish the GNU/Linux flavor of Linux from other Linux based products like Android/Linux and the busybox/Linux embedded products, etc.)

    Even if you think System Manager and Event Logger is the star to guide by, these idiots aren't the right navigators.

    • (Score: 1) by ghost on Monday December 22 2014, @03:02PM

      by ghost (4467) on Monday December 22 2014, @03:02PM (#128337) Journal

      heh, I wonder if RMS will insist Linux with SystemD NOT be called GNU/Linux.

    • (Score: 0) by Anonymous Coward on Tuesday December 23 2014, @02:25AM

      by Anonymous Coward on Tuesday December 23 2014, @02:25AM (#128572)

      Exactly, the key part of the "problem" is that a group of loudmouths have taken a known pattern of logical fallacy and are using it is their basis for campaigning against the inclusion of choices they don't like. Not just advocating against people choosing the "wrong" thing, but advocating against things they disagree with even being allowed to be included in the choices.

      I guess that is Software Freedom, right? Taking away choices made by people Somebody Doesn't Like.

      • (Score: 0) by Anonymous Coward on Tuesday December 23 2014, @03:46AM

        by Anonymous Coward on Tuesday December 23 2014, @03:46AM (#128590)

        The only people I see taking away choice are the systemd developers and Debian.

        I was never asked if I wanted systemd on the Debian testing system I just installed. It was selected for me by default, and the installer presented me no option for selecting another init system.

  • (Score: 3, Insightful) by jackb_guppy on Monday December 22 2014, @04:31AM

    by jackb_guppy (3560) on Monday December 22 2014, @04:31AM (#128225)

    Following the thread down some you find this about segfault: (Note: Linus post was on April 1, 2014)
    http://lkml.iu.edu/hypermail/linux/kernel/1404.0/01435.html [iu.edu]

    > While we are here, can we please also talk about the !cgroup situation?
    > https://bugs.freedesktop.org/show_bug.cgi?id=74589 [freedesktop.org]
    > A segfaulting systemd on CONFIG_CGROUPS=n is no fun.

    Wow, the attitude there is amazing:
    "To make this work we'd need a patch, as nobody of us tests this."

    Rule #1: systemd maintainers worldview is always correct
    Rule #2: In the unexpected case that you think the worldview of systemd maintainers is incorrect, apply rule #1.

    • (Score: 2) by Nerdfest on Monday December 22 2014, @05:00AM

      by Nerdfest (80) on Monday December 22 2014, @05:00AM (#128229)

      Out of curiosity, what is Linus' opinion of systemd?

      • (Score: 2, Insightful) by Anonymous Coward on Monday December 22 2014, @05:11AM

        by Anonymous Coward on Monday December 22 2014, @05:11AM (#128234)

        He hasn't taken a strong stance against it. I think this is perhaps the biggest mistake he has ever made.

        It became clear some time ago that systemd just isn't a viable option. Its implementation is broken, as the various bugs we've learned of recently show. But more importantly, the philosophy and architecture behind it are broken. These are things that can't be easily fixed. They define what systemd is.

        Linus should have taken a very strong and very public stance against systemd. He should have shown true leadership skills and put an end to this systemd nonsense. He should have done this before Debian, the most important Linux distro and the most important Linux community, was damaged beyond repair thanks to systemd. And, no, light anger directed toward Kay is not sufficient.

        By not speaking out against systemd, Linus has enabled systemd to irreparably harm the entire Linux community. As one of the major leaders of the Linux community, if not the entire open source community, it was his duty to stop this before it blew up. But he didn't. He let it happen, even when it was more than obvious that systemd is just not acceptable.

        I hold Linus responsible for this systemd disaster nearly as much as I hold Lennart and Kay responsible.

        • (Score: 0) by Anonymous Coward on Monday December 22 2014, @07:14AM

          by Anonymous Coward on Monday December 22 2014, @07:14AM (#128246)

          Sadly he see himself as "just" the kernel guy.

          Also, his distro of choice is Fedora. The very Fedora where Systemd has slowly been bloating itself.

          And the last time he voiced an opinion about Fedora user space, polkit requiring root password to change a wifi setting, it got fixed asap.

          All in all, i don't think it has bitten him personally yet...

          • (Score: 0) by SDRefugee on Monday December 22 2014, @04:03PM

            by SDRefugee (4477) on Monday December 22 2014, @04:03PM (#128363)

            I'm betting the abortion that is systemd just hasn't gotten around to biting him in the ass yet... If he uses Fedora, he's already deep into it.. Once he gets screwed by it, you can BET we'll hear about it.. And I DARE any of the systemd fanbois to accuse Linus of any of their favorite excuses.... I look forward to hearing Linus blasting the abortion that IS systemd... I have NO doubt it WILL happen... I've used Linux since 1995, started with Slackware, and frankly, I'm looking into going BACK to it, due to all of my favorite distros (Debian/CentOS) shoving this abortion down their users throats.. I strongly suspect Pat V. isn't gonna go down THAT road....

            --
            America should be proud of Edward Snowden, the hero, whether they know it or not..
        • (Score: 0) by Anonymous Coward on Monday December 22 2014, @12:23PM

          by Anonymous Coward on Monday December 22 2014, @12:23PM (#128294)

          While I understand this point of view - I've said similar things in the past - I think it is important to not over-inflate Mr Torvalds' responsibilities (and our expectations of those responsibilities) simply because we (random community members) wish he had taken a larger role. From another perspective, it is absolutely amazing that Mr. Torvalds had been able to hold the line against stupidity being put into the kernel. We may wish that he had also fought in other battles like the current systemd problem, but any expectation that Mr. Torvalds should have done some additional for us - for free, on top of the important services he has already freely given. - is something that we are imposing on him.

          I highly recommend watching this video [youtube.com], which is a very good explanation of this phenomena.

          that said....

          It certainly would be nice if Mr. Torvalds decided to speak out about the systemd problem.. He may want to stick to the kernel, but systemd is so intimately tied to the kernel avoiding it may not be possible.

          • (Score: 0) by Anonymous Coward on Monday December 22 2014, @07:46PM

            by Anonymous Coward on Monday December 22 2014, @07:46PM (#128440)

            >any expectation that Mr. Torvalds should have done some additional for us - for free, on top of the important services he has already freely given. - is something that we are imposing on him.
            Linus doesn't do what he does for free. He's paid--quite handsomely.

        • (Score: 2) by mojo chan on Monday December 22 2014, @01:06PM

          by mojo chan (266) on Monday December 22 2014, @01:06PM (#128305)

          It seems like there are a few genuine advantages to systemd, so perhaps the way to get rid of it is to invent something with those advantages but none of the things people hate about systemd. You could even fork systemd itself. It seems like there are good reasons why Linux could do with a better boot system, and systemd is taking advantage of that because there is nothing else.

          --
          const int one = 65536; (Silvermoon, Texture.cs)
          • (Score: 0) by Anonymous Coward on Monday December 22 2014, @09:48PM

            by Anonymous Coward on Monday December 22 2014, @09:48PM (#128491)

            Sysv-init already supports anything that isn't totally broken with systemd. Why do we need yet another init system, when the one we've been using for years works fine?

  • (Score: 1) by Wrong Turn Ahead on Monday December 22 2014, @04:53AM

    by Wrong Turn Ahead (3650) on Monday December 22 2014, @04:53AM (#128227)

    Regarding SysReq, it would seem that Debian fixed it, however, not with out a lot of resistance first. I think the comments in this bug report are quite telling...

    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725422 [debian.org]

    • (Score: 2) by jbernardo on Monday December 22 2014, @05:48AM

      by jbernardo (300) on Monday December 22 2014, @05:48AM (#128236)

      In particular this one [debian.org] is particularly damning of the "nanny mentality" of systemd proponents:

      Also, this is a basic system setting, where it makes sense to change the kernel default by default, so it is natural that systemd does that. The goal of the systemd project is to take care of the basic system setup.

      I admit it is interesting that they finally admit the MCP goal, but I am not comfortable with it at all!

      • (Score: 0) by Anonymous Coward on Monday December 22 2014, @07:22AM

        by Anonymous Coward on Monday December 22 2014, @07:22AM (#128248)

        It goes beyond that. Systemd will eventually make every distro that use it as Poettering and his followers envision the one true distro to be. And that looks to be containerized OSX...

  • (Score: 0) by Anonymous Coward on Monday December 22 2014, @02:41PM

    by Anonymous Coward on Monday December 22 2014, @02:41PM (#128325)

    I'd like something like systemd (I don't like booting-on-scripts thing). But its code needs to be propery split and it really needs different kind of programmers *cough*