Stories
Slash Boxes
Comments

SoylentNews is people

SoylentNews is powered by your submissions, so send in your scoop. Only 16 submissions in the queue.
posted by LaminatorX on Sunday December 21 2014, @02:05AM   Printer-friendly
from the fsking-pid0 dept.

A Debian user has recently discovered that systemd prevents the skipping of fsck while booting:

With init, skipping a scheduled fsck during boot was easy, you just pressed Ctrl+c, it was obvious! Today I was late for an online conference. I got home, turned on my computer, and systemd decided it was time to run fsck on my 1TB hard drive. Ok, I just skip it, right? Well, Ctrl+c does not work, ESC does not work, nothing seems to work. I Googled for an answer on my phone but nothing. So, is there a mysterious set of commands they came up with to skip an fsck or is it yet another flaw?

One user chimed in with a hack to work around the flaw, but it involved specifying an argument on the kernel command line. Another user described this so-called "fix" as being "Pretty damn inconvenient and un-discoverable", while yet another pointed out that the "fix" merely prevents "systemd from running fsck in the first place", and it "does not let you cancel a systemd-initiated boot-time fsck which is already in progress."

Further investigation showed that this is a known bug with systemd that was first reported in mid-2011, and remains unfixed as of late December 2014. At least one other user has also fallen victim to this bug.

How could a severe bug of this nature even happen in the first place? How can it remain unfixed over three years after it was first reported?

 
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: 2) by forsythe on Sunday December 21 2014, @03:42AM

    by forsythe (831) on Sunday December 21 2014, @03:42AM (#127911)

    I dislike systemd, I don't use it (or pulseaudio, or consolekit, or udev, or...). I fully sympathize with those who encounter difficulties while forced to use it at gunpoint by roving bands of militants. My heart goes out to those who cannot install a different operating system without endangering the lives of their captive families, as well as to those whose computers have been rigged with explosives, wired to detonate if the network card attempts to download Gentoo, Slackware, *BSD, etc.

    However, this is a site I want to come to to read news, not to have a daily 2 minutes of hate against that which does not share my ideological beliefs. If I want to have a lengthy conversation about why the software I use is the best software, why my political views are the best political views, or why my preferred brand of orange juice is the only digestible stuff on the market, my house contains enough mirrors for the purpose.

    --------

    In all seriousness, I get that stories on Gnome 3/systemd/U.S.A. politics/etc. generate comments and all that, but I don't think the price is worth it.

    (I appreciated the story on NTP, however. That was informative news.)

    Starting Score:    1  point
    Karma-Bonus Modifier   +1  

    Total Score:   2  
  • (Score: 0) by Anonymous Coward on Sunday December 21 2014, @04:18AM

    by Anonymous Coward on Sunday December 21 2014, @04:18AM (#127917)

    Hogwash!

    This submission is very relevant news, especially for this site.

    I would never have expected my Linux system, which unfortunately does now run systemd after it was forced on my by an update, to be subject to such an awful flaw.

    This could have prevented my system from booting!

    But thanks to SoylentNews, now I know, and I can prepare my system so that this problem is avoided!

    This is just the kind of news I come here to read.

    I didn't find this news, which is very relevant to me directly, on CNN, or MSNBC, or BBC, or any of the other news sites I frequent.

    I really don't know why you think this is about "hate" or "ideological beliefs" or "political views".

    This is about very broken software that was forced on lots of people and that, as the summary has informed me, actually prevent my system from booting during a very normal operation!

    SoylentNews editors, please keep posting news like this!

    Reading this news submission probably saved me a lot of time, and allowed me to keep my Linux system usable!

    Please keep posting systemd submissions!

    Reading about systemd problems here has saved my ass and I am grateful to you for making us aware of these problems before we too become victims of them!

  • (Score: 4, Informative) by Marand on Sunday December 21 2014, @05:23AM

    by Marand (1081) on Sunday December 21 2014, @05:23AM (#127928) Journal

    However, this is a site I want to come to to read news, not to have a daily 2 minutes of hate against that which does not share my ideological beliefs.

    I actually found this one to be informative and useful for me. I expected another useless flamebait summary, but instead got informed of a potential gotcha with systemd as init. Reading the linked bug report thread, including its followups, also taught me that systemd also likes to disable magic sysrq keys [wikipedia.org].

    Redhat considers this NOTABUG [redhat.com], Mageia did too but bowed to pressure and re-enabled it [mageia.org], and Debian decided it wasn't systemd's place to change this and re-enabled sysrq [debian.org].

    Thanks to this article, I learned about two systemd gotchas I need to remember when dealing with systemd-enabled machines. The sysrq one is especially a big deal, because the times you need the sysreq keys, things are already too hosed to play with trying to enable them. It's not something you need often, but you expect it to work when you do. I saved a laptop from a reboot earlier today using sysrq-k on Xorg, in fact. I would have been pissed if my init had one day decided I'm not adult enough to use them and forced me to cut power instead.

    So, while I agree that we had a pretty bad string of AC systemd troll submissions before, this particular submission has merit, because it's actually providing a link to some useful info I (and likely others) wouldn't have known about otherwise. This is something the systemd users may want to know, and in fact, it's probably more useful to them than to systemd haters.

    • (Score: 2) by Marand on Sunday December 21 2014, @05:36AM

      by Marand (1081) on Sunday December 21 2014, @05:36AM (#127929) Journal

      I should also add, now that I've read father in the chain, that this doesn't affect only fsck. According to another message [debian.org], you can't break out of anything that hangs or takes an excessively long time to start with ^C during bootup, so it's definitely an important gotcha to be aware of.

      • (Score: 0) by Anonymous Coward on Sunday December 21 2014, @09:54AM

        by Anonymous Coward on Sunday December 21 2014, @09:54AM (#127978)

        You want a rant? I've got that.

        Running jessie on my laptop, figured I'd give the thing a fair shot and learn about it on a non critical system long before considering migrating the servers a couple months after the stable release as we usually do.

        I run into new breakage every day, be it trying to hijack ifconfig with race condition fun, acpi shutdown now borked, and sleep mode totally unavailable since an update a couple weeks ago. The half baked bugs I can deal with, there's still time in the oven. The restrictive design choices hurt so bad since they are anathema to why we use a highly-configurable (read: tunable) OS in the first place. Debian needs a Mint edition to fix this, but the third party repos negate a number of the major advantages of using Debian Stable in the first place. OpenBSD is calling but no one wants to deal with the upheaval and retooling. This is not how I want to spend my time guys.

        --angry customer and soon to be former DD after a decade and a half of faithful service to the project.

        • (Score: 2) by janrinok on Sunday December 21 2014, @07:52PM

          by janrinok (52) Subscriber Badge on Sunday December 21 2014, @07:52PM (#128098) Journal

          If you don't want to run testing and have to put up with the problems that it will throw up, why don't you just stick with Wheezy for another 18 months and see how things pan out? I'm not trolling, I simply cannot understand why you would chose Jessie knowing that it hasn't even been released yet and that the release will probably throw up a whole load of problems which will need sorting out before it is ready for prime-time.

          • (Score: 1) by Arik on Sunday December 21 2014, @09:13PM

            by Arik (4543) on Sunday December 21 2014, @09:13PM (#128122) Journal
            For the same reason the same demographic left Slackware and does not want to return to it.

            It's irrational as all heck but still a powerful lot of people are emotionally invested in constantly having and using the newest $whatever. They WANT their computer constantly running out and downloading and installing new stuff all the time without intervention.
            --
            If laughter is the best medicine, who are the best doctors?
          • (Score: 0) by Anonymous Coward on Monday December 22 2014, @12:46AM

            by Anonymous Coward on Monday December 22 2014, @12:46AM (#128181)

            And what does he do after those 18 months are up? Does he just stop installing security updates, and let his systems become progressively more vulnerable? Does he just stop using his computers completely? This "keep using Wheezy" crap is just that: complete crap! It's just delaying an eventual disaster slightly. The disaster is still going to come. It doesn't prevent it at all. It doesn't even mitigate it.

            • (Score: 2) by janrinok on Monday December 22 2014, @08:34AM

              by janrinok (52) Subscriber Badge on Monday December 22 2014, @08:34AM (#128253) Journal

              Well, try thinking a bit differently....

              After 18 months, perhaps all these problems will have been resolved and, who knows, perhaps systemd will have even been dropped. If you don't have to change your system today - don't change it!

              You have 18 months to see what the community decides is a better path and join in the one that most suits you. You have 18 months to find one of the 20+ other distros that are not using systemd. (No - do your own homework - or even try reading other stories here where they are listed). You have 18 months to learn how to switch Jessie from systemd to sysvinit - 10 minutes work at most. You have 18 months to learn about how your computer works and to find the solution that gives you exactly what you want. You even have 18 months to save up for a Window's licence - but I don't think that it is a good use of your time or your money. Essentially, if we are talking about a home computer - even one being used professionally at home - then there is no reason to upgrade today to something that you know does not work. If you are supporting other computers then you have 18 months to plan a sensible upgrade path and find alternative solutions.

              Again, I reiterate, nobody is forcing anyone to upgrade to systemd for a considerable period of time. Why on earth are people panicking about systemd now? It's a pile of crap - but so is a lot of software. Just don't use it.

  • (Score: 0) by Anonymous Coward on Sunday December 21 2014, @03:33PM

    by Anonymous Coward on Sunday December 21 2014, @03:33PM (#128031)

    If the systemd stories "don't belong here", as you claim, then why do they always seem to get so many comments? Like this one has over 80 comments, while the submission on the front page with the next most comments has only 17! Some of the other submissions, even those that have been on the front page for some time now, only have 2 or 3 comments. Systemd is something that people here obviously want to talk about. That's why these systemd submissions always have so many comments. Some of the earlier submissions have broken 100 comments, which is very rare here.

    • (Score: 2) by janrinok on Sunday December 21 2014, @07:54PM

      by janrinok (52) Subscriber Badge on Sunday December 21 2014, @07:54PM (#128099) Journal

      Why is it that systemd stories result in lots of comments from ACs, while the other stories with far fewer comments sometimes don't see an AC at all? Just asking.....

      • (Score: 2) by DECbot on Monday December 22 2014, @12:38AM

        by DECbot (832) on Monday December 22 2014, @12:38AM (#128175) Journal

        Why make multiple accounts for astroturfing when you can post anonymously multiple times?

        --
        cats~$ sudo chown -R us /home/base
      • (Score: 0) by Anonymous Coward on Monday December 22 2014, @12:53AM

        by Anonymous Coward on Monday December 22 2014, @12:53AM (#128183)

        I just looked at some of the other stories on the front page that have nothing to do with systemd. I see AC comments there. The proportion of comments from ACs relative to comments from registered users appears to be consistent, too.

        There are actually more comments from registered users for this particular submission than there are comments from ACs (103 in total; 76 from registered users, and 27 from ACs).

        I had to go back a couple of days to find a story [soylentnews.org] with only comments from registered users. Of course, that story only has 3 comments in total!