Slashdot Mirror


Linux systemd Affected by Memory Corruption Vulnerabilities, No Patches Yet (bleepingcomputer.com)

Major Linux distributions are vulnerable to three bugs in systemd, a Linux initialization system and service manager in widespread use, California-based security company Qualys said late yesterday. From a report: The bugs exist in 'journald' service, tasked with collecting and storing log data, and they can be exploited to obtain root privileges on the target machine or to leak information. No patches exist at the moment. Discovered by researchers at Qualys, the flaws are two memory corruption vulnerabilities (stack buffer overflow - CVE-2018-16864, and allocation of memory without limits - CVE-2018-16865) and one out-of-bounds error (CVE-2018-16866). They were able to obtain local root shell on both x86 and x64 machines by exploiting CVE-2018-16865 and CVE-2018-16866. The exploit worked faster on the x86 platform, achieving its purpose in ten minutes; on x64, though, the exploit took 70 minutes to complete. Qualys is planning on publishing the proof-of-concept exploit code in the near future, but they did provide details on how they were able to take advantage of the flaws.

161 of 306 comments (clear)

  1. Thats what you get for running systemd by Shaitan · · Score: 4, Insightful

    Giant bloated executable where trim purpose built utilities and text should be used.

    1. Re:Thats what you get for running systemd by Anonymous Coward · · Score: 5, Insightful

      Sums up the mantra of UNIX design. Too bad they didn't follow it.

    2. Re:Thats what you get for running systemd by Anonymous Coward · · Score: 5, Informative

      Spot on. After reading Mike Gancarz book The Unix Philosophy, it changed how I did things. I now don't write captive scripts, keep everything in plain text, and write tools that do only one thing well. Truly an eye-opening book.

    3. Re:Thats what you get for running systemd by Merk42 · · Score: 2, Funny

      Good thing systemd alternatives haven't had any bugs ever!

    4. Re:Thats what you get for running systemd by Shaitan · · Score: 2

      Of course many bugs have been found and fixed in them over the decades.

    5. Re:Thats what you get for running systemd by pereric · · Score: 4, Insightful

      Of course there have been bugs. But software with a much smaller and well-defined scope (like only being an init system) tend to have less bugs. Also, software with better design choices and better QA tend to have less bugs.

      Also, the dependencies on systemd instead of some independent standard with well-defined interfaces is unfortunate.

    6. Re:Thats what you get for running systemd by Anonymous Coward · · Score: 1

      But some people just love to restart everything from scratch and give control on every aspect of a system to a guy that produced some pulseaudio and his affiliates.

    7. Re:Thats what you get for running systemd by Anonymous Coward · · Score: 1

      I wonder if systemd people responded to those bugs like they do with some other exploitive hacks I've seen with "system works as designed, ticket closed" :P

    8. Re:Thats what you get for running systemd by phantomfive · · Score: 2

      These bugs were mainly the result of improperly validating/sanitizing input. Once again. The developers weren't thinking about hostile input when they were writing code, and didn't test corner cases. It worked for them!

      --
      "First they came for the slanderers and i said nothing."
    9. Re: Thats what you get for running systemd by Narcocide · · Score: 1

      Systemd, PHP, and Mozilla aren't part of any "stack" in any relevant context of the word. If you're gonna try to troll so lazily, at least figure out the context of the words you're using so your statement is logically congruous.

    10. Re:Thats what you get for running systemd by Eravnrekaree · · Score: 2, Interesting

      This is false, systemd is decentralized into 40 independent executables.

      The basic concept of systemd makes sense, you start a list of services first and once that is complete you move onto a seperate list of services . You have unit filed which indicate after target they are a part and which one they depend on. The unit files are simple and easy to understand. An implementation quality issue is a seperate issue from the basic design pattern, the design pattern is a sound concept

      You can still use SysV type init on systemd. Disable the systemd unit with systemctl disable servicename and then create a new service in /etc/init.d say /etc/init.d/servicename-sysv and link to in the /etc/init.d/rcX.d directories. that effectively moves the services from systemd to SysV style init.

      Also, you can turn on text logging with systemd if you want it.

      There are pros and cons to text or binary, it should be up to sysadmin to choose what works best, there is nothing wrong with having a binary capability. One place where binary can help is if you want to store to a database log data so you can have a fast search query or you want to be able to programmatically alter a configuration setting without having to parse and regenerate text files. In these cases some kind of database like SQL can work better than text.

    11. Re:Thats what you get for running systemd by OneHundredAndTen · · Score: 4, Insightful

      The developers weren't thinking about hostile input when they were writing code, and didn't test corner cases. It worked for them!

      The developers were not thinking, period.

    12. Re:Thats what you get for running systemd by Daemonik · · Score: 3, Funny

      How dare you be reasonable and informative??? Didn't you get the memo regarding SystemD being shat directly from the bowels of Satan upon the innocent?

    13. Re:Thats what you get for running systemd by lgw · · Score: 5, Funny

      You have unit filed which indicate after target they are a part

      Well, that made about as much sense as I'd expect from a defense of systemd.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    14. Re:Thats what you get for running systemd by 93+Escort+Wagon · · Score: 5, Funny

      The developers weren't thinking about hostile input when they were writing code

      You'd think, by this point in time, Poettering would be very familiar with hostile input - heck, just look at most of the systemd discussions here on Slashdot!

      --
      #DeleteChrome
    15. Re:Thats what you get for running systemd by squiggleslash · · Score: 1

      Of course there have been bugs. But software with a much smaller and well-defined scope (like only being an init system) tend to have less bugs

      While this is technically true, all that means is that to get a true picture of which is more secure, you have to measure both the bugs in init and the bugs in those daemons systemd replaces when comparing these "smaller and well defined scope" tools to systemd.

      Knowing the quality of 90% of the init scripts I've had to review, I'd be very surprised if there's any overall security advantage to init+the daemons systemd replaced compared with systemd itself.

      --
      You are not alone. This is not normal. None of this is normal.
    16. Re:Thats what you get for running systemd by Anonymous Coward · · Score: 2, Funny

      Can someone help me out and explain to me exactly what problem systemd solves?

      Red Hat did not have sufficient control over the Linux ecosystem. systemd is effectively addressing that problem.

    17. Re:Thats what you get for running systemd by Hognoxious · · Score: 1

      Xzibit here - can one of the services in the list of services start a list of services?

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    18. Re:Thats what you get for running systemd by Etcetera · · Score: 2

      Knowing the quality of 90% of the init scripts I've had to review, I'd be very surprised if there's any overall security advantage to init+the daemons systemd replaced compared with systemd itself.

      You're conflating three different things: service management, init scripts, and the daemons themselves.

      Daemon code quality is out of scope. A bug in the program should be fixed or handled upstream (unless you're a 2019 dev where no one fixes anything because they don't care if it crashes as long as someone spins up another one).

      Init script quality varies *heavily* by distro/ecosystem. Debian/Ubuntu scripts, in my experience, are hot messes. Scripts written to be completely distro agnostic are usually pretty bad, because typically the writer doesn't understand the differences between distros. Init scripts for RH/Fedora/EL should be fine unless there's a bug in whatever custom logic is being written in there to handle the service's unique needs. The SysVInitscript template is trivial to cut and paste.

      Service management is where the bugs come in (especially because it's naturally event based). But I'd rather those bugs be isolated in a relatively small location with specific tasks and without it running as PID1 when it doesn't have to. (See: supervise/tcpserver, xinetd, etc.)

    19. Re:Thats what you get for running systemd by basscomm · · Score: 1

      SystemD has an optional DHCP server. Apache and nginx better watch out.

      It's been a while since I read the docs, but I'm pretty sure that Apache and nginx aren't DHCP servers.

      --
      http://crummysocks.com
    20. Re:Thats what you get for running systemd by sjames · · Score: 1

      Isn't that a bit like a serial killer trying to excuse himself by claiming all of his victims were jaywalkers?

    21. Re:Thats what you get for running systemd by fustakrakich · · Score: 1

      the design pattern is a sound concept

      Not if it's so easy to fuck up. systemd is like flying the plane with the autopilot, but you're not really flying the plane. The autopilot is a black box. That is not good if you can't work the machine when it breaks down. That point was just made by Boeing in Indonesia. But, if you can shut it off, great. Just make sure you really can and keep the machine running. It sounds like there are some dependencies that would prevent that though.

      systemd man bad

      --
      “He’s not deformed, he’s just drunk!”
    22. Re:Thats what you get for running systemd by sjames · · Score: 1

      The init scripts are largely irrelevant since they do their job and then go away.

      As for the daemons, they are their own scope under a sane init system.

    23. Re:Thats what you get for running systemd by exomondo · · Score: 1

      "How" can we, the Userlanders, bring the Debians, Suses, Redhats, Ubuntus, Mints, Arches, Manjaros and their kin to "PLEASE DUMP SYSTEMD".

      Well this is exactly what Free Software is for, it's the "freedom" it grants you. You either contribute significant money or development effort to these projects such that you can influence their direction or you fork the project and take it in your own direction. Alternatively Slackware doesn't have systemd and Devuan is a project that came about from forking Debian and removing systemd so you can show your support for them by contributing money or development time to them.

      Free Software has already solved this problem, it's a complete non-issue now. Just don't use distributions that include systemd and contribute to those distributions.

    24. Re:Thats what you get for running systemd by Anonymous Coward · · Score: 1

      SystemD has an optional DHCP server. Apache and nginx better watch out.

      It's been a while since I read the docs, but I'm pretty sure that Apache and nginx aren't DHCP servers.

      You missed the obvious hint. When does SystemDeath become a web server on top of everything else that it tries to do?

    25. Re:Thats what you get for running systemd by ffkom · · Score: 1

      I wonder if systemd people responded to those bugs like they do with some other exploitive hacks I've seen with "system works as designed, ticket closed" :P

      This time they used the other of their two standard responses to bug reports: Assigning blame to others - the authors of "alloca()" in this case - as a lame excuse.

    26. Re:Thats what you get for running systemd by BadDreamer · · Score: 2

      And if I want to replace one of those 40 independent executables with my own, I just do so, right? The documentation clearly describes their input and output, so that they truly ARE independent?

      No?

      Then how are they independent? They are a big mass with interdependent states.

      And there are no discernible pros to binary logs. Something like ripgrep will search very quickly through text logs. And there is no advantage to storing binary data in a database over storing text data in a database. The opposite is true.

    27. Re:Thats what you get for running systemd by DrJimbo · · Score: 1

      Too bad there is no Easy way to find distros that don't use systemd.

      The #2 (MX Linux), #11 (ReactOS), and #15 (antiX Linux) distros don't use systemd.

      --
      We don't see the world as it is, we see it as we are.
      -- Anais Nin
    28. Re:Thats what you get for running systemd by walterbyrd · · Score: 1

      > Granted systemd is too big and has overgrown it's original purpose, but there is a reason it exists and it's not because of it's creator's ego. It exists because it provides something that was needed and not provided by others.

      Specifically what?

    29. Re:Thats what you get for running systemd by scottragen · · Score: 1

      Yes, but many have suffered through those bugs and now the software is mature with few bugs. Why suffer through it again? I feel Alan's quote which went something like: "Those who fail to understand Unix reinvent it - poorly". Seems Systemd suffers from this issue.

    30. Re:Thats what you get for running systemd by Gavagai80 · · Score: 1

      It's actually true in this case. These bugs are in journald, the alternative to which is plain text logging. There has never been a security vulnerability in a plain text log file.

      --
      This space intentionally left blank
    31. Re:Thats what you get for running systemd by thegreatbob · · Score: 1

      The only hole I see in the analogy is that autopilots (as seen on commercial airliners) are typically both tested quite extensively, and multiply redundant. Suffering for being unaware of some undocumented change in the way it operates in the latest version seems to correlate painfully well.

      --
      There is no XUL, only WebExtensions...
    32. Re:Thats what you get for running systemd by Anonymous Coward · · Score: 1

      No one has ever been sarcastic on the internet. It's true because I read it on the internet.

    33. Re:Thats what you get for running systemd by arglebargle_xiv · · Score: 1

      Well, it is nice to see SMSS-for-Linux follow the path of its predecessor in terms of vulns. Just wait until Poettering decides to do CSRSS-for-Linux...

    34. Re:Thats what you get for running systemd by grcumb · · Score: 1

      The developers weren't thinking about hostile input when they were writing code

      You'd think, by this point in time, Poettering would be very familiar with hostile input - heck, just look at most of the systemd discussions here on Slashdot!

      Yes, but he never actually processed it.

      --
      Crumb's Corollary: Never bring a knife to a bun fight.
    35. Re:Thats what you get for running systemd by Erik+Hensema · · Score: 1, Insightful

      Too bad you don't know what you're talking about.

      Journald is a seperate binary with exactly one purpose, which is exactly the mantra of unix design.

      It's a small binary too, 123 KB on my system. ls is larger. It does use a 2.2 MB systemd library though.

      Haters gonna hate.

      --

      This is your sig. There are thousands more, but this one is yours.

    36. Re:Thats what you get for running systemd by Severus+Snape · · Score: 1

      This is kinda funny.

      journald single purpose is replace plain text in files to binary, antithetical to unix design.

      While you're correct, journald has it's own binary like all the other bits of systemd. This does not necessarily mean the underlying code is modular.

  2. Pure Poettering inspired incompetence by nyet · · Score: 5, Insightful

    Looking at the code, all three of these bugs are inexcusable. The systemd devs really are incompetent.

    1. Re:Pure Poettering inspired incompetence by lgw · · Score: 5, Insightful

      They didn't just copy Microsoft's init system and service manager, they copied Microsoft's attitude towards security and code quality.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    2. Re:Pure Poettering inspired incompetence by Anonymous Coward · · Score: 3, Insightful

      And this is the actual reason why people don't like systemd. It's quality is bad and when it crashes the kernel panics.

    3. Re:Pure Poettering inspired incompetence by thaylin · · Score: 5, Funny

      And this is the actual reason why people don't like systemd. It's quality is bad and when it crashes the kernel panics.

      We all panic.

      --
      When you cant win, ad hominem.
    4. Re:Pure Poettering inspired incompetence by Chris+Mattern · · Score: 1

      Yeah, but when the colonel panics, it's bad for the whole regiment.

    5. Re:Pure Poettering inspired incompetence by kronix1986 · · Score: 3, Insightful

      Absurd comments like this highlight why Red Hat and all major distros no longer care about enthusiasts. They do something ridiculous (adopt systemd, break 40 years of Unix conventions, creating a tightly coupled architecture) and your first instinct is to start whining about Microsoft.

    6. Re:Pure Poettering inspired incompetence by nnull · · Score: 2

      Is it too late for "I told you so."?

    7. Re:Pure Poettering inspired incompetence by lgw · · Score: 3, Interesting

      Systemd is a straight-up copy of the way Windows does things. That to you is "whining about Microsoft"? Making Linux more like Windows is exactly what no one was asking for.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    8. Re:Pure Poettering inspired incompetence by shoor · · Score: 1

      Yes, there are comments referencing Microsoft. It would be amazing if there weren't. But I would say they are the minority of comments. There are plenty of people with lots of expertise and experience who raise sound questions about systemd, and the whole process of how systemd got adopted is rather fishy.

      --
      In theory, theory and practice are the same; in practice they're different. (Yogi Berra & A. Einstein)
    9. Re:Pure Poettering inspired incompetence by Seven+Spirals · · Score: 1

      I won't argue. However, I'd like to point out that Red Hat is pretty much as corporate as it gets nowadays. I'd point out several negative trends for them. First, they just got bought by IBM. Second, did anyone besides me wonder why they waited until 7.0 to properly integrate XFS (yes, I know about the add-on RPMs for 6.x but they were not supported at install-time and came too late)? How about their failure to really fix/embrace BTRFS while ZFS just beats seven shades of snot out of anything Linux has in-tree (yes, I know about ZFS for linux, but it's hack-on that will never gain enough acceptance due to the license schism). Of course, then there is the fact that iptables syntax and features have done nothing but get uglier (especially when compared with PF or netfilter on other OSes). What about Red Hat intentionally dogging LVM2 updates even with giant bug-backlogs? How about RHEV and GlusterFS? Have those displaced VMware or has GlusterFS pushed Ceph out of the HPC space? No and nope. From where I sit Red Hat has been resting on their laurels (what little they've got) since about the RHEL5 days. It certainly always looked corporate and never very friendly to "enthusiasts" anyway. Even when I used to bother with Linux at home for fun (as opposed to holding my nose and learning the internals at work) in the pre-systemd days I'd turn to Slackware, Debian, Gentoo, Arch, or something weird like GoboLinux or VectorLinux. Why waste time with RHEL? I have to use that all the time in corporate environments and it smells like an old gym sock. It's not that I don't know it or can't use it, it's just that it sucks a lot worse than most things. After systemd I only spend time with Linux during new releases to learn the changes. Then I bail out back to BSD where both the past and the future are very bright and one has fewer angry retards to contend with vis-a-vis Linux.

    10. Re:Pure Poettering inspired incompetence by Anonymous Coward · · Score: 1

      Do you understand the difference between copying a design approach, and copying code? Because it sounds like you're too stupid to understand such a simple thing.

    11. Re:Pure Poettering inspired incompetence by 93+Escort+Wagon · · Score: 1

      Systemd is a straight-up copy of the way Windows does things.

      I dunno... it seems to me that systemd is more of a wannabe clone of Apple's launchd that came about because Apple wouldn't offer launchd under the GPL.

      --
      #DeleteChrome
    12. Re:Pure Poettering inspired incompetence by phantomfive · · Score: 2

      That is true, when he started designing it, Lennart had Apple's launchd in mind.

      --
      "First they came for the slanderers and i said nothing."
    13. Re:Pure Poettering inspired incompetence by phantomfive · · Score: 2

      Could be worse, they could be IBM. Oh, wait......

      --
      "First they came for the slanderers and i said nothing."
    14. Re:Pure Poettering inspired incompetence by TimMD909 · · Score: 1

      And this is the actual reason why people don't like systemd. It's quality is bad and when it crashes the kernel panics.

      I don't see what you're getting all worked up about. Take your meds, and chill out.

    15. Re:Pure Poettering inspired incompetence by nsaspook · · Score: 1

      These bugs are mindbogglingly stupid. Damn, I'm glad my systems are systemd free.

      --
      In GOD we trust, all others we monitor.
    16. Re:Pure Poettering inspired incompetence by hawk · · Score: 3, Funny

      Poorly knocking off an apple product?

      How much more microsoftish can you get?

      hawk

    17. Re:Pure Poettering inspired incompetence by thegarbz · · Score: 1

      is exactly what no one was asking for

      Except for developers, and distribution maintainers. In fact many of them have attempted at some point to create something like systemd.

      Claiming it was something no one was asking for is speaking out of ignorance, either willful, pretending that there isn't a group that thinks differently from you, or accidental such as never having read a mailing list on the topic.

  3. Re: Open source fail version 4982497823824 by Anonymous Coward · · Score: 1

    meanwhile, in redmond...

  4. And Jane face it it's been a while by AlanObject · · Score: 1, Troll

    I haven't seen a systemd thread for quite some time around here I guess we're due.

    Some of the rants and raves are actually pretty good.

    Yet I can't help wondering how much of it is really just people who resist change because they don't want to learn something new. The init/upstart process was easy enough to understand but clinky and as full of problems as systemd really. Except, of course of the most common use cases where it had been worked out.

    As for these bugs they don't seem to be making much of an industry problem.

    1. Re: And Jane face it it's been a while by Anonymous Coward · · Score: 3, Interesting

      new things are great! alternatives are wonderful! systemd is just awful.

    2. Re:And Jane face it it's been a while by Anonymous Coward · · Score: 3, Interesting

      New isn't always equivalent to better, and my biggest objection to systemd is the fact that it's gone way past an init system. It has way too large a scope for what it was supposed to be and a core team that doesn't have the skill to keep up with that scope.

      Mr. "My-printer-is-not-a-file" should probably go back to working on Pulse.

    3. Re:And Jane face it it's been a while by 110010001000 · · Score: 3, Interesting

      I don't know about that. These errors seem pretty basic if you look at the code. How did it even pass a LINT-style static check? Are they not doing any static code analysis? The entire codebase seems suspect based on these issues. There could be thousands of these in the code.

    4. Re:And Jane face it it's been a while by mark-t · · Score: 5, Insightful

      It's less about resisting change and more about resisting stupid.

      The problem with systemd is that its design is wholly antithetical to the Unix philosophy. It is nothing less than a tragedy for Linux that something like it has become so tightly integrated into as many distros as it has.

    5. Re:And Jane face it it's been a while by Jonathan+C.+Patschke · · Score: 5, Informative

      Yet I can't help wondering how much of it is really just people who resist change because they don't want to learn something new.

      Probably a good chunk.

      That said, init and upstart solved problems in a fairly small domain: starting daemons in dependency order. SMF, launchd, and a few others did the same thing. They sucked to learn, but they gave us parallel startup, services that could start in response to events (logins, socket connects, etc.) and that was worth some relearning.

      Things that systemd has embraced into its scope that SMD and launchd did not include:

      • System logs
      • Control groups
      • Resource accounting
      • User session management
      • Power management (suspend/resume)
      • Time synchronization
      • Temp file cleanup
      • Name resolution
      • Hostname setting
      • Privilege escalation
      • Disk, Volume, and Metadevice discovery

      Thanks to RedHat's backing, the systemd developers have a bully pulpit to force policy on Linux users everywhere. Like when nohup stopped working by default. The usual rationale from Poettering and company are that things are "broken" or "nobody needs that."

      Right now, on my Debian box, in ~root/ is a script called thanks-systemd.sh. It mostly boils down to: cd /dev ; for i in dm-? ; do ln -s ../$i mapper/$(cat /sys/devices/virtual/block/${i}/dm/name); done

      Because for about two weeks my system stopped autobooting due to some churn between LVM2 and systemd. LVM2's worked nigh-flawlessly for 20 years, and its semantics haven't changed.

      It's one thing to change a clunky misfeature (init scripts) in some jarring way to make them better. It's quite another to take over most aspects of systems management, do them differently "just because," and break random things because of scope creep.

      --
      Pining for the days when The Glorious MEEPT!!! graced SlapDash with his wisdom.
    6. Re:And Jane face it it's been a while by Etcetera · · Score: 5, Informative

      Yet I can't help wondering how much of it is really just people who resist change because they don't want to learn something new. The init/upstart process was easy enough to understand but clinky and as full of problems as systemd really. Except, of course of the most common use cases where it had been worked out.

      Gonna call citation needed on that, especially if you're combining them as "init/upstart".

      upstart, when primarily running as a traditional SysV init (meaning handle initial setup procedureally, then execute an rc script which executes a series of rc#.d/ scripts, which is how upstart was used in RHEL6, for example, was neither "clinky" nor "as full of problems as systemd".

      A primary reason so many people have problems with systemd is that it intermingles the complexity along its entire axis of execution instead of isolating it in a discrete manner. Any time you have event-based management you have the potential for intermittent problems, race condition security issues, memory bugs, etc.

      In previous init systems, persistent management or event mechanisms hung *OFF* the init path and only affected their own children or the services under their control if something went wrong. (This goes for all service managers: inet, xinetd, supervise, whatever.) Meanwhile, the init path is controlled by one-time scripts and as minimal an event mechanism in PID1 as possible.

      Now, all that complexity happens as PID1, or communicates back to PID1, or relies on IPC between the two that is not particularly tight and isolated. Waaaaay more potential for chaos results here, which is why these types of holes are more and more likely to occur.

    7. Re:And Jane face it it's been a while by Shaitan · · Score: 4, Insightful

      "The init/upstart process was easy enough to understand but clinky and as full of problems as systemd really."

      No, it really wasn't. You are confusing user error with the actual utilities which were rock solid. There was some functionality missing but alternatives existed, they largely weren't widely adopted because that functionality just didn't offer enough benefit to be worth it.

      The problem with systemd is that it was a solution that was built and broke all *nix design philosophy. Every layer of complexity added to a framework adds an order of magnitude of probability for error and trades flexibility for tight integration. If a bug does come up it will be fixed almost immediately with small and efficient utilities because you aren't debugging a complex behemoth you are debugging a tiny and simple application.

    8. Re: And Jane face it it's been a while by Shaitan · · Score: 1

      ^ this

    9. Re:And Jane face it it's been a while by Seven+Spirals · · Score: 4, Insightful

      It really does just suck. It's not haters, it's not bias, it's not politics. It's also not only people resisting change, Systemd is just flat out technically inferior. Bad choices were made and the chickens definitely are coming home to roost. I get a *lot* of calls from frustrated/confused sysadmins who run into issue after issue with systemd. From subtle problems from malformed unit files to clear-as-mud dependency graph issues between units. Yes, they are fixable most of the time but systemd just throws obstacle after obstacle into your path. Want to know why something didn't work? Well, there's journald hording your logs as binary. Hope you have the magic decoder when your system crashes and journalctl pukes. I dug into systemd deeply because I support Linux and other systems professionally. I've studied a lot of the code to run down bugs or issues. I learned it quite well and it seems obvious that I know it's internals better than it's cheerleaders do. It shouldn't be this controversial. The only reason it is stems from the leadership folks not wanting to lose face and admit they made a serious mistake. Systemd sucks on it's own. It doesn't need fixing, it needs replacing. It's bad design that violates the "do one thing and do it well". It does a zillion things: all poorly.

    10. Re:And Jane face it it's been a while by Anonymous Coward · · Score: 2, Insightful

      I haven't seen a systemd thread for quite some time around here I guess we're due.

      Some of the rants and raves are actually pretty good.

      Yet I can't help wondering how much of it is really just people who resist change because they don't want to learn something new. The init/upstart process was easy enough to understand but clinky and as full of problems as systemd really. Except, of course of the most common use cases where it had been worked out.

      As for these bugs they don't seem to be making much of an industry problem.

      How much of systemd is due to people who don't want to learn something old? It's always more fun to design from scratch than to actually understand the reason why it was done that way.

    11. Re:And Jane face it it's been a while by SigmundFloyd · · Score: 2

      Yet I can't help wondering how much of it is really just people who resist change because they don't want to learn something new.

      Personally, I refused systemd after learning it. So there's that too.

      --
      Knowledge is power; knowledge shared is power lost.
    12. Re:And Jane face it it's been a while by SigmundFloyd · · Score: 3, Insightful

      Right now, on my Debian box, in ~root/ is a script called thanks-systemd.sh

      I heartily recommend Devuan.

      --
      Knowledge is power; knowledge shared is power lost.
    13. Re:And Jane face it it's been a while by HiThere · · Score: 2

      Most people have either become resigned to systemd, or switched to something that doesn't use it. So one would expect the threads to decrease. I also haven't heard anyone say they liked it recently. (And I still don't. But I haven't switched yet because doing so would be a major inconvenience. But when I set up my next system, I probably will avoid systems that use systemd. So far I haven't seen *ANY* benefits, and I've experienced, and continue experiencing, many small irritations. I'm definitely considering devuan, but I'm even considering Unix. Unix would be a problem during transition, because my current partition formats are incompatible, so I'd have to set up an new series of backups in a format that both systems could handle for the intermediate period....so devuan has the inside track. Or Slackware. Or something that I haven't noticed yet. Or perhaps some version of Unix will become able to read/write ext4 partitions. Lots of possibilities, no real decision, but the fact that I haven't been saying bad things about systemd recently sure doesn't mean that I like it.

      --

      I think we've pushed this "anyone can grow up to be president" thing too far.
    14. Re:And Jane face it it's been a while by mark-t · · Score: 1

      Sure... and guess what?

      It's not.

    15. Re:And Jane face it it's been a while by Anonymous Coward · · Score: 1

      systemd caused some serious downtime on a server the first time I built a machine with it as the init system. Every reboot would lock up in some race condition where one of the partitions refused to unmount, forcing me to physically walk to the machine (luckily I was not working remotely). I've had other machines where the default distro-packaged daemons started up in the wrong order. There's no purpose to parallel boot ups for servers. "Ooh, I shaved 25 seconds off of the Linux boot while it takes 420 seconds for the BIOS to test the RAM and the RAID card to confirm the array structure"

    16. Re:And Jane face it it's been a while by phantomfive · · Score: 1

      A primary reason so many people have problems with systemd is that it intermingles the complexity along its entire axis of execution instead of isolating it in a discrete manner.

      Mmmmmmmm what a beautiful sentence.

      --
      "First they came for the slanderers and i said nothing."
    17. Re:And Jane face it it's been a while by Anonymous Coward · · Score: 1

      You do understand that the init system is a completely separate code base from all the other things that are part of the systemd project, right? The systemd init system is literally just an init system and, again quite literally, nothing more.

      If you're gonna bitch about nonsense, at least make it non-obvious nonsense.

    18. Re:And Jane face it it's been a while by greenwow · · Score: 1

      That's even more frustrating after you waste a bunch of time debugging then when you resort to starting the service at the commandline, it shows a clear error message.

    19. Re:And Jane face it it's been a while by Jonathan+C.+Patschke · · Score: 2

      Yep. I run it and love it on my Linux systems at home. At work, though, I have to deal with systemd all day, so I run Debian unstable.

      The Devuan folks have an uphill battle ahead of them, though. More and more software is getting sucked into the systemd ecosystem because of its heavy-handed policy and vast market share. They might find themselves having to support forks of fairly complex tools just to keep that dependency away.

      By the same token, systemd just might make a whole lot of Linux software Unix-incompatible.

      --
      Pining for the days when The Glorious MEEPT!!! graced SlapDash with his wisdom.
    20. Re:And Jane face it it's been a while by epyT-R · · Score: 1

      change is not axiomatically good or bad.

    21. Re:And Jane face it it's been a while by mark-t · · Score: 1

      What I'm upset about is that it systemd runs counter to the Unix Philosophy, which is somewhat more widespread than my insignificant opinion.

    22. Re:And Jane face it it's been a while by thegarbz · · Score: 1

      Thanks to RedHat's backing

      And Debian. Pretending like this is RedHat's doing is just ignorance.

  5. Details here: by BringsApples · · Score: 5, Informative

    In case you're interested to know the breakdown...

    --
    Politics; n. : A religion whereby man is god.
    1. Re:Details here: by SCVonSteroids · · Score: 1

      "The orange light that follows will soon proclaim itself a God."

      --
      I tend to rant.
    2. Re:Details here: by BringsApples · · Score: 1

      It's worth pointing out that the link that I just posted, and received '5 Informative' mod, is the same exact link that was provided in the summary.

      --
      Politics; n. : A religion whereby man is god.
  6. This is non-news by gosand · · Score: 4, Interesting

    for me... I switched to Devuan a few months ago.

    Yes, I know there are plenty of bugs and vulnerabilities to go around, but based on the frustrations that systemd caused me, I think I am afforded a bit of schadenfreude.

    --

    My beliefs do not require that you agree with them.

    1. Re:This is non-news by Freshly+Exhumed · · Score: 1

      Devuan for sure! Interestingly, MX Linux (steadily climbing up DistroWatch's page hit rankings to #2 at present) allows installation without systemd, but I don't know whether MX has gone to the extent of Devuan in actually ripping it out or just working around it.

      --
      I deny that I have not avoided attaining the opposite of that which I do not want.
    2. Re:This is non-news by r_pattonII · · Score: 1

      It may also motivate some people to go back to Slackware! It is still my go-to distro since 1996. I have installed Devuan 2.0 on a spare hard drive and I do like it!

    3. Re:This is non-news by zwarte+piet · · Score: 1

      I'm still on Linux Mint 17.3 Based on Ubuntu 14.04, it's the last systemD free version

  7. And poettering says: by Anonymous Coward · · Score: 1

    "It's not a bug, but a feature. Or someone else can work around it. Also: Don't be so mean to us, boo hoo."

  8. Re:Open source fail version 4982497823824 by Anonymous Coward · · Score: 2, Interesting

    There is some truth to this. Linux is just a kernel, but there are myriad userland programs, toolchains, and other ancillary software bits that make up a GNU/Linux system. Linux (full system/any distro) is so balkanized. Companies like Red Hat employ the programmers who write stuff like systemd/pulseaudio, etc., so they automatically steer the direction every other distro must go in. I was shocked when Debian adopted systemd, and now more and more software has to have it as a REQUIREMENT. This is one reason I like KDE. I've been using it as a desktop since 1998. I use Kate and Konsole all of the time, and my workflow revolves around them.

    BSD, on the other hand, for all its own faults, is not "grown" like Linux, but engineered. It's a full OS in its own right and end users can install their own preferred userland and ancillary software. I'm really close to just adopting FreeBSD.

  9. Shock! Surprise! Dismay! WTF did you expect? by Seven+Spirals · · Score: 5, Interesting

    Shitty windows-ini-style Unit files, binary logs, 12 different subsystems gobbled up and "integrated" ... I mean did this kind of shit surprise someone? Really? After years of supporting Systemd and solving it's problems for others I can say with limited authority that, yes, it really is garbage. I know there were a few people who thought systemd was just "progress", but no it's a schism, a coup, a shitty revolution that left everyone worse than when they started. Linus and friends are too old and retarded now apparently to lose face and be critical of it because they stood by and shrugged while the Potterites and Fedora assholes ruined Linux. I mean BSD was always better, don't get me wrong. So, it's not as big a loss as some would frame it to be. However, it used to be fun, useful, and relatively untainted by anything this heinous but a few unenlightened windows folks came along and created this svchost.exe ripoff (systemd) for the purposes of enhancing GNOME and now you get this smelly mess that is now Linux. Ah well, it was (sorta) fun while it lasted. Back to my BSD boxes.

    1. Re:Shock! Surprise! Dismay! WTF did you expect? by Eravnrekaree · · Score: 1

      One of the things that does not make sense about your position is you can use sysv init with systemd, also systemd can generate your text based log files for you. Considering these two facts, systemd can work like how you want it to work. You seem to be more opposed to *other people* using it in ways you do not think they should be allowed to use it. So who is the tyrant?

    2. Re:Shock! Surprise! Dismay! WTF did you expect? by Seven+Spirals · · Score: 2

      There is a big difference between "can" and "comes that way by default on the OS you use or support". As you may know, the default is to NOT use sysv scripts and NOT log to text files beyond a few simple/useless exceptions (journald steals & encodes it all into a binary opaque format). You are correct that I don't like other people running it. However, you fail to recognize the reason: I support Linux (and a half dozen other Unix variants) professionally, daily, and at a high level. When sysadmins, teams of sysadmins, or low-level developers are stumped, they send the problem to me as a backline engineer. So, yeah, I think I have pretty well informed reasons to dislike systemd and good reasons to actually care what others do with it, since the default is to suck pretty badly and since when it does suck badly for other people they call *me* to fix it for them. Plus, if folks took your suggestion, they'd basically be de-fanging sysadmind and neutering most of the poor design decisions in it. The question there is: why bother? If you are willing to change your systemd rig by re-writing all your unit files into sysv scripts and dumping or redirecting journald's logs text files you could just as easily dump systemd altogether. Most people aren't going to try because they've either already switch to a non-systemd OS distro (like BSD or Devuan on the Linux side) or the just flat don't know how and aren't wanting to bother. For the latter group, they are going to get the greasy end the systemd stick because they'll be getting bit by every little problem systemd has re-invented and probably come away simply thinking "Linux sucks" but not really being able to find the source of that anal pain and give it a name: systemd.

    3. Re:Shock! Surprise! Dismay! WTF did you expect? by sjames · · Score: 1

      And even if you do what you suggested, you still get stuck with the vulnerabilities outlined in TFA.

    4. Re:Shock! Surprise! Dismay! WTF did you expect? by Seven+Spirals · · Score: 1

      Mr Coward, for once we agree 100% :-)

  10. CrapD strikes again by gweihir · · Score: 1

    Fortunately, I run Linux, not Poetterix and are nicely unaffected.

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  11. Re:Open source fail version 4982497823824 by Shaitan · · Score: 2

    "niche operating system"

    The 90's called and want this argument back.

  12. At Devuan, we knew this was going down by jaromil · · Score: 1

    As stated in 2016 at FSCONS in the Q&A https://youtu.be/wMvyOGawNwo?t...

  13. C programming language strikes again by Pinky's+Brain · · Score: 2

    Two of the bugs only possible in with unsafe referencing/allocation ... par for the course.

    1. Re:C programming language strikes again by 110010001000 · · Score: 2

      A basic static code analyzer would have found these. It has nothing to do with C.

    2. Re:C programming language strikes again by Pinky's+Brain · · Score: 1

      A basic static code analyser spits out so many false positives on a codebase this size you'd have rewritten half of it by the time you convinced yourself they were all meaningless (and missed the few important ones in the sea of noise).

    3. Re:C programming language strikes again by 110010001000 · · Score: 1

      That is why you iteratively tune the analyzer. If you aren't using a static code analyzer you aren't even trying.

    4. Re:C programming language strikes again by squiggleslash · · Score: 1

      Something that exists to find bugs only present in C would have found these, so it's got nothing to do with C? WTF?

      --
      You are not alone. This is not normal. None of this is normal.
    5. Re:C programming language strikes again by Anonymous Coward · · Score: 1

      A basic static code analyser spits out so many false positives on a codebase this size you'd have rewritten half of it by the time you convinced yourself they were all meaningless (and missed the few important ones in the sea of noise).

      Yep this makes perfect sense. Systemd roughly 1mloc... surely static code analysis would be worthless on any codebase of this size or larger. For example Linux kernel is at least 15 mloc and no way has it benefited from static code analysis. Several hundreds of patches resulting from the use of such tools were all just illusions in a sea of noise.

    6. Re:C programming language strikes again by AHuxley · · Score: 1

      We need an Ada OS.

      --
      Domestic spying is now "Benign Information Gathering"
    7. Re:C programming language strikes again by Pinky's+Brain · · Score: 1

      It has benefited, but it can't prevent the same shit happening again and again.

      Static code analysis just tries to find ways we found in the past to fuck up with pointers, buffer overflows and use after frees (among other things). There's an infinite way to fuck up with them though and their pattern matching is no match for our creativity at fucking up.

    8. Re:C programming language strikes again by JustNiz · · Score: 1

      Oh dear god no..

    9. Re:C programming language strikes again by AHuxley · · Score: 1

      Code like the French and US mil. Quality.

      --
      Domestic spying is now "Benign Information Gathering"
  14. Re: Open source fail version 4982497823824 by Shaitan · · Score: 2

    It's been at least a couple decades. Today, Linux is more widely used than literally anything else.

  15. Systemd: Conflict of interest? by Futurepower(R) · · Score: 2, Interesting

    "Giant bloated executable..."

    SystemD causes a lot of problems. That makes more money for people who work for companies that do Linux technology support.

    Is that a giant conflict of interest? Was SystemD allowed by management of Red Hat because it would make more money?

    Mark Shuttleworth said, "Losing graciously". (Feb. 14, 2014} "It will no doubt take time to achieve the stability and coverage that we enjoy today..."

    1. Re: Systemd: Conflict of interest? by Anonymous Coward · · Score: 4, Insightful

      the one thing I learned at the place I work is that people and businesses are not rewarded for perfect code -- trouble-free code results in the project being thought of as small and not valuable -- if you want money, you need to build complex and buggy code - systemd supporters are no dummies and know what it takes to earn more money

    2. Re:Systemd: Conflict of interest? by Eravnrekaree · · Score: 2

      Its systemd, not SystemD.

      Have you ever looked at some bash startup scripts? Its difficult to analyse compared to the declarative style. Bash scripts are a much more serious support issue compared to the simplicity of systemd declarative unit files. I've not had any problem with systemd, and not that is worse than what we had with sysv init.

      Also, ubuntu had systemd -like init with Upstart for many years, systemd just standardized so we dont have to learn another init system for every other distro.

      I really like the basic design pattern makes since such as the simpler declarative file format which much easier to read than Bash scripts and the dependency based startup.

    3. Re:Systemd: Conflict of interest? by Etcetera · · Score: 3, Informative

      Have you ever looked at some bash startup scripts? Its difficult to analyse compared to the declarative style. Bash scripts are a much more serious support issue compared to the simplicity of systemd declarative unit files.

      Shell, and scripting generally in shell languages, is a key component of all *nix systems. Yes, it's possible to write horrible shell code in an init script, but that's largely the fault of the *author*. Most init scripts are simple; except for whatever custom logic is needed uniquely for this daemon, the rest is boilerplate.

      I'd submit that if you can't understand this code, you're not ready to operate or administer a *nix system at the command line or service management debugging level.
      https://fedoraproject.org/wiki/EPEL:SysVInitScripts#Initscript_template

    4. Re:Systemd: Conflict of interest? by Hognoxious · · Score: 2

      I've had precisely one problem with an init script, ever. It was that long ago I found the solution in an actual paper book.

      Every systemd based distro I've even tried has given me problems of some kind.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    5. Re:Systemd: Conflict of interest? by sjames · · Score: 1

      Have you ever looked at some bash startup scripts?

      And written them. Not exactly rocket surgery. The ones that are more complex are doing things you cannot even specify in a unit file (and so, would require that the script be called from systemd anyway). The others are dead simple and tend to have a very much standardized form.

      It's a shame systemd was made as a monolithic charlie foxtrot rather than as an extensible bag of useful tools.

    6. Re:Systemd: Conflict of interest? by exomondo · · Score: 1

      SystemD causes a lot of problems. That makes more money for people who work for companies that do Linux technology support.

      Well it does for supporting RedHat-derivative Linux desktop distributions. But it doesn't look particularly good for RedHat and certainly makes their competitors look more attractive.

      Is that a giant conflict of interest? Was SystemD allowed by management of Red Hat because it would make more money?

      No it's not a conflict of interest, RedHat isn't the only desktop Linux game in town and if the software is getting unstable and support costs are going significantly up then it's worth switching to something else like Slackware. There's not much point in it being Free Software if you're still just going to tie yourself to one vendor like RedHat regardless of the quality and cost of the software.

    7. Re: Systemd: Conflict of interest? by Bite+The+Pillow · · Score: 1

      What the fuck? Who is paying for systemd? Initial release was "30 March 2010", Pottymouth started at RedShat in 2011. Was that the plan? To make a pile of shit and get hired by an ignorant open source company to keep at it?

      RedShat is one of the very very few purely open source companies. They do not have proprietary products as their main focus, with contribution to open source as a side effect, like Adobe or Microsoft. Other than SystemD, they know what they are doing, not idiotic. Your idiotic cynicism on the other hand is not contributing anything of value.

    8. Re: Systemd: Conflict of interest? by reanjr · · Score: 1

      Maybe the problem with analyzing systemd is with the person analyzing too. If you have problems troubleshooting systemd, you are probably too old and obstinate to learn new things and you should give up on this career path.

    9. Re:Systemd: Conflict of interest? by thegarbz · · Score: 1

      the rest is boilerplate.

      Indeed it is. What we should do is strip out this boiler plate and put it in a separate system that can be in charge of doing the all that same boiler plate stuff.

      I always find the dichotomy between people who are happy with copy paste boiler plate code in one place and then get super angry when things like docker or snap ship embedded libraries.

      Dammit I'm making a point, don't use my own logic against me!

    10. Re:Systemd: Conflict of interest? by Etcetera · · Score: 1

      the rest is boilerplate.

      Indeed it is. What we should do is strip out this boiler plate and put it in a separate system that can be in charge of doing the all that same boiler plate stuff.

      I always find the dichotomy between people who are happy with copy paste boiler plate code in one place and then get super angry when things like docker or snap ship embedded libraries.

      Dammit I'm making a point, don't use my own logic against me!

      That would be fine if that's *ALL* it did. In fact, for "standard" daemons that have absolutely 0 changes to the init script template other than setting the program/exec and service name (and maybe permanent flags like a user to setuid to), it would be trivial to write a wrapper that did just that. I might even suggest that.

      The problem is that systemd goes *way* beyond that.

  16. Re:Where is the responsible disclosure ?? by Fly+Swatter · · Score: 1

    Responsible disclosures you never hear about since they are being responsible. So called 'Security Researchers' on the other hand... Want their public glory.

  17. Where is the responsible RTFA? by Pinky's+Brain · · Score: 2

    https://www.qualys.com/2019/01... :

    2018-11-26: Advisory sent to Red Hat Product Security (as recommended by
    https://github.com/systemd/sys...).

    2018-12-26: Advisory and patches sent to linux-distros@openwall.

    2019-01-09: Coordinated Release Date (6:00 PM UTC).

  18. Re:This is why you should use Windows or Mac by Narcocide · · Score: 2
  19. Once again: Slackware NOT affected. by sombragris · · Score: 2

    Slackware ships with a simple, effective BSD-style init populated by simple and readable shell scripts. Its BDFL, Patrick Volkerding, made the decision to purposely avoid systemd like the plague and I think he is right.

    Install Slackware, and many sysadmin's worries will go away.

    --
    -- Look to the Rose that blows about us--"Lo, Laughing," she says, "into the World I blow..."
    1. Re:Once again: Slackware NOT affected. by Rockoon · · Score: 5, Informative

      Slackware ships with a simple, effective BSD-style init populated by simple and readable shell scripts. [....] Install Slackware, and many sysadmin's worries will go away.

      You are missing the forest for the trees. What you really want isnt a "BSD-style init", what you really want is BSD.

      Linux isnt unix, so dont expect it to maintain the unix philosophy. BSD is unix.

      Fun fact: Been true forever

      --
      "His name was James Damore."
    2. Re:Once again: Slackware NOT affected. by shoor · · Score: 2

      Slack was my 1st linux distro, and I'm a long time admirer of it. But nowadays I use devuan, a systemd free fork of debian. There's also PClinuxOS that is systemd free. For me, the acid test is whether I can use me-tv to watch and record ATSC broadcast TV. Back in the pre-systemd days I could not get me-tv to work on ubuntu but I could get it to work on mint (something to do with the gui libraries). I really liked PCLinuxOS but, last time I tried, I couldn't get me-tv to work on it either, same problem as ubuntu I guess. (Maybe I'll try again with the latest distro). But me-tv does work with devuan so that has become my distro of choice, and I really like it.

      --
      In theory, theory and practice are the same; in practice they're different. (Yogi Berra & A. Einstein)
    3. Re:Once again: Slackware NOT affected. by slack_justyb · · Score: 1

      Linux isnt unix, so dont expect it to maintain the unix philosophy. BSD is unix.

      As the old saying goes:

      BSD is what you get when a bunch of UNIX hackers sit down to try to port a UNIX system to the PC. Linux is what you get when a bunch of PC hackers sit down and try to write a UNIX system for the PC.

      So that said, I'll stick to my Slackware installs thank you..

    4. Re:Once again: Slackware NOT affected. by sombragris · · Score: 1

      As someone said, I think there's quite a baby with the bathwater you propose to throw.

      --
      -- Look to the Rose that blows about us--"Lo, Laughing," she says, "into the World I blow..."
    5. Re:Once again: Slackware NOT affected. by a_n_d_e_r_s · · Score: 1

      Slackware - being the oldest distro out there still alive - is as close as standard UNIX as you can come in Linux world.

      --
      Just saying it like it are.
    6. Re:Once again: Slackware NOT affected. by Rockoon · · Score: 1

      After you've drowned the baby, its time to throw it away.

      --
      "His name was James Damore."
    7. Re:Once again: Slackware NOT affected. by r_pattonII · · Score: 1

      Couldn't agree more. Been a Slackware user since 1996!

    8. Re:Once again: Slackware NOT affected. by zwarte+piet · · Score: 1

      And throw away all that juicy meat?

  20. Delicious irony by UPi · · Score: 2
    Near the end of the document is this bit:

    Acknowledgments
    We thank systemd's developers, Red Hat Product Security, and the members of linux-distros@openwall.

    That is the more polite version of "you incompetent chumps make our searches easy and worthwhile. And we listened to a lot of System of a Dawn."

  21. Hang on by doom · · Score: 2

    Let me go make some popcorn.

  22. Re:Open source fail version 4982497823824 by HiThere · · Score: 1

    While that enhanced the security, that wasn't the basis of it. Simple reliable design that could be reasonably debugged was the basis. Also code that large numbers of people could read and understand. (No, not everybody. And I never bothered to learn to. But large numbers.) This, of course, requires that the code be relatively simple. Which means modular, with limited externalities.

    Systemd is a massive failure in ever one of these respects, and I suspect intentionally so. I don't mean I'm certain. It could just be a worship of centralized power finds a different design of software more pleasing. Or there could be some other reason.

    --

    I think we've pushed this "anyone can grow up to be president" thing too far.
  23. Re:Open source fail version 4982497823824 by HiThere · · Score: 1

    There were many intermediate exploits. But they were relatively easy to fix, and fixed relatively quickly. As the software groups have gotten larger, this has become less and less true.

    The complaints about "SJW drones", "codes of conduct", etc. aren't totally without merit, but their validity has more to do with the fact that they only become relevant in larger projects. But larger projects *need* more oversight and administration. (Also, larger projects tend to exclude the kind of people most likely to complain about such oversight...and anyone excluded is likely to feel unhappy.)

    --

    I think we've pushed this "anyone can grow up to be president" thing too far.
  24. "Alexa, start Apache". Smple input to complex code by raymorris · · Score: 5, Insightful

    Even simpler than a systemd declaration is saying "Alexa, start Apache".

    That doesn't mean that Alexa's AI code is simpler than a 20-line bash script. You're comparing the *input* to the systemd code, a config file, vs the actual code that does things in SysVinit.

    In sys V, the shell script starts the daemon, it *is* the code. If anything is wrong or you want to change anything, you can look through the shell script and change things. In systemd, the declaration is handed to a binary that does who-knows-what.

  25. Re: I like systemd by Anonymous Coward · · Score: 1

    Root shell from either a local exploit or a remote exploit IS NOT a minor thing. Typical systemd attitude. Blame the users, handwave away the problems. Sad.

  26. Re:I like systemd by dasunt · · Score: 1

    If someone has local access to your machine, you're doing it wrong anyway.

    Does this need local access? Or just remote access?

  27. Re:I like systemd by a_n_d_e_r_s · · Score: 1

    Linux is a multi-user system from the ground and up.

    --
    Just saying it like it are.
  28. I know you are trolling... but change can be great by gosand · · Score: 4, Insightful

    I was a RedHat user back on v5.1. I tried to upgrade my system, and it was awfully painful. But I stuck with RedHat. Then I upgraded again. And again. Every time it got a little less painful, but it still sucked. Then I decided to try out another distro. Mandrake. It was nice, and I liked KDE! I upgraded a couple of times, and it wasn't too bad. So change was good. After a few more upgrades, it still wasn't that smooth. I decided to try out Ubuntu, and I really liked it. Since I was liking KDE I switched to Kubuntu. Change was good! I upgraded a couple of times - near flawless! Change was great! Then KDE started to really annoy me - too much flash, and eventually a bug cropped up that caused me all kinds of headaches. So I switched to Xubuntu. XFCE was great, and change was good! I upgraded that system several times, and it was very smooth. After 7 upgrades, things were getting less stable. Since i was going to reinstall anyway, i looked at other distros.... ah, Linux Mint. Polished, but with XFCE not overly so. I had found my distro, change was great! The method of upgrading was to reinstall cleanly, so I made sure to set up my new system so that was minimally painful. Then I was able to upgrade in place - painlessly! All was right.

    Then after one upgrade, I noticed that my machine started having various issues. I couldn't shutdown cleanly. I would take minutes to shutdown, where it used to take seconds. I thought it was hardware at first, but it wasn't. It was systemd. I hadn't noticed before upgrading that they were switching to systemd. I had begun to trust Mint so much that I just thought it would be smooth. I learned more and more about systemd, and tried to fix the issue. No deal. So I gritted my teeth and dealt with it. Change can be bad. Eventually I got a different computer, and then I had complete confirmation that my issues weren't hardware related because they persisted. It was time to find a new distro.

    It wasn't an easy search, because by this time systemd had kind of taken over. Mint only went to it because it's a downstream of Ubuntu. Clem (maintainer of Mint) confirmed this to me, that it wasn't his choice at all and it was just the easiest route to take.

    I looked at the BSDs, Arch, Slack, and a few others. But because I was familiar with and really liked the apt package manager, I chose Devuan. It was not only a great distro, but I know that it is specifically focused on NOT implementing systemd. It was a simple install and upgrade, and my system is fast as ever and shuts down within seconds again. So again... change is great!

    --

    My beliefs do not require that you agree with them.

  29. why not make a new init system? by BlackOverflow · · Score: 2

    This is a legitimate question. Most people on slashdot seem to hate systemd. And most of you are programmers and work on Linux every day. Why don't you guys get together and create a new init system that blows systemd away? Isn't that what the whole spirit of FOSS is about?

    1. Re:why not make a new init system? by dhasenan · · Score: 1

      Blowing systemd away would mean doing more than it does. We want a system that does less. For instance, we want an init system that doesn't have a DNS server built in. We want one that doesn't handle rewriting resolv.conf and instead relies on a separate daemon to do that. We want one that doesn't try to take over logging, one that just uses logfiles.

      Systemd has some advantages over sysv-init: named runlevels, starting tasks in parallel, and restart policies are all nice. Integrating logrotate would be handy. But it's hard to wow people with an init system that does a lot less than systemd.

    2. Re:why not make a new init system? by blind+biker · · Score: 1

      Why don't you guys get together and create a new init system that blows systemd away? Isn't that what the whole spirit of FOSS is about?

      Because we already have an init system that blows systemD away.

      That's not the issue. The issue is that Potternig's hot caca has been pushed by RedHat. RedHat is now the de-facto expert on that hot caca, and this gives them a commercial advantage. You have a problem with systemD? Redhat can assist for a fee.

      This is just politics. Personally, I only run systemD-free distros, though I'm looking at going to the BSD world, more and more. It's very enticing.

      --
      "The agriculture ministry is not in charge of Gundam" - Japanese ministry official.
  30. Re: Open source fail version 4982497823824 by doom · · Score: 1

    I have this fantasy where we lock the SJWs and ASJWs in a room together, and let them fight it out for eternity amongst themselves. Kind of like the end of that bad Star Trek episode.

    Now do you think you could go away and stop bring up the same point over-and-over in this ground-breaking discussion of systemd?

    (Yes, I know. "Let That Be Your Last Battlefield". Third season, of course.)

  31. Can this be the straw by sremick · · Score: 2

    ...that broke the camel's back? FINALLY? PLEASE?????

    Can the idiotic pro-systemd folks finally admit they were wrong, abandon the whole misguided concept, and start the process of moving back to unix philosophies and architecture? The world dropped xfree86 fast as a hat, pretty much spun on a dime and moved to X.org.... let that happen w/ systemd as well.

    Or, better yet, just shift support en masse behind FreeBSD and get the hardware and desktop environment and app support back up there like it used to be. Honestly, that'd be the better path and the end result so much better.

    Probably too much to hope for...

  32. the unix philosophy by doom · · Score: 3, Interesting

    I come not to praise systemd, and certainly not to praise Poettering or RedHat...

    But these anti-systemd rants would be more impressive if you guys had showed any signs of thinking through what you're saying about The Unix Way and all that jazz.

    Yes, sometimes decentralized, small encapsulated components are a win, but sometimes monolithic designs where the pieces can talk to each other easily are a win-- You might notice that when Linus Torvalds was asked about this he made some rather mild comments about how some aspects of linux, like the graphic display environment has always been more monolithic.

    Arguably, the initial reason perl was a big deal is it took a bunch of features from the shell programming world and stuck them all inside of one process-- you can do lash-ups of shell, awk, sed and so on, or you can just write a perl script and pretty frequently the perl script is really and truly a better option.

    And take a look at some of the classic shell utilities some time. Look at the docs for things like "find", "tar", etc... do they really look to you like something that's designed to just do "one thing"?

    You guys who keep intoning "the unix philosophy" over-and-over might want to stop and think about the way things really get done with unix.

    But then, none of this is a defense of systemd, or the way systemd was put over...

    1. Re:the unix philosophy by Anonymous Coward · · Score: 3, Insightful

      Perl is a language. It doesn't do anything on it's own. Executing on the language is the "do one" thing and a completely open interface.

      find, well, finds things. I don't think finding /only/ "one" kind of thing and doing that "well" would make any sense. The "find" is the thing it does. That makes sense. Are you suggesting 'find' means something different?

      tar as we know is Tape ARchive. It's a backup tool. Wait, what you don't want to use it to backup things? ... what would make it not go saving off things? Are you on crack?

      SystemD is a ... is a... forget it. It's a BLACK BOX.

      You tell someone not initiated into the command line a unix command like "find" or tell someone what TAR stand for and tapes are actually backup devices, and they get an immediate image of what it does, no class or degree needing. You mention how linux is cool and shiny because of System D, not to mention fast, they'll give you blank stares and start thinking all the stereotypes in existence.

      Now I'm not saying all UNIX stuff really matters or is done well either or understood by non-techies, but you are saying our argument of the UNIX way is invalidated by how things are really done in UNIX? What UNIX are you using? Call it Linux, it was designed to mimic UNIX, and still mimics it, except now we are getting MS-lite wannabe distros added to the mix. Whatever.

      I don't think the UNIX philosophy was ever intended to be a design spec, but inspiration of ideas that work because of their simplicity. It is compatible with building of things of complexity too. But disparage it and make computers non-accessible appliance-like System D devs have to even mainstream techies, just because, and fill it full of marketing features to sell your distro at your peril.

    2. Re:the unix philosophy by geekymachoman · · Score: 1

      People keep mentioning it because the "philosophy" kept it from interfering with other components and did the work just good.
      The lack of it was what kept Windows from not working.

      And now, this lack of philosophy spread to Linux.

    3. Re:the unix philosophy by petrus4 · · Score: 1

      Yes, sometimes decentralized, small encapsulated components are a win, but sometimes monolithic designs where the pieces can talk to each other easily are a win

      I actually do see what you're saying, here. In The Art of UNIX Programming, Eric Raymond mentions that occasionally there are tasks where it simply isn't possible to make them small.

      I don't have a problem with systemd being monolithic, as much as with the parts of said monolith being so tightly welded together. The other problem is lack of transparency and discoverability. Systemd is hard to understand, and for a big, monolithic project, transparency becomes more important, not less.

      Lennart Poettering is an arrogant bully, with a proven track record of writing bad software and attempting to shove it down everyone else's throats. Systemd isn't his first nightmare; some of us remember PulseAudio as well. If you don't believe me about his software being excessively complex, go and look at Pulse's configuration files, and see if you can understand them.

  33. Re:I like systemd by WaffleMonster · · Score: 2

    someone has local access to your machine, you're doing it wrong anyway.

    Linux is a multi-user operating system. It's designed explicitly to support multiple users concurrently with limited privileges.

  34. Re:"Alexa, start Apache". Smple input to complex c by Anonymous Coward · · Score: 1

    Now I understand why so many people were so adamant about how terrible systemd was going to be.

    I'm not a programmer, so didn't really understand what the problem was.

  35. Re:I like systemd by youngone · · Score: 1

    To be fair, it's not really clear in TFA, but it looks like it to me, so I am going to worry about something else for a while.
    To the commenters informing me that Linux is a multi-user system I'm not sure what your point is. If this bug needs an attacker to be standing in front of the machine, typing at the keyboard, you're a bit screwed regardless.

  36. How to fix this by AHuxley · · Score: 1

    Reflect back on "programs that do one thing and do it well".
    Are the deep parts of an OS you are using still supportive of that philosophy?
    If not consider changing to a better quality OS.

    --
    Domestic spying is now "Benign Information Gathering"
  37. Re:It is time... by Anonymous Coward · · Score: 1

    Sadly, the new CoC disallows that action as it would hurt Pottering's feelings.

    CAP === 'students'

  38. Re:"Alexa, start Apache". Smple input to complex c by complete+loony · · Score: 2

    I don't mind that services have a simple config declaration, with mostly standard start / stop handling. But it would be better to start with some form of "#!/..." so the config file can be used as a script that launches a generic service handler from a traditional init system.

    But that's not the only part of the OS that systemd is trying to replace...

    --
    09F91102 no, 455FE104 nope, F190A1E8 uh-uh, 7A5F8A09 that's not it, C87294CE no. Ah! 452F6E403CDF10714E41DFAA257D313F.
  39. Re:I know you are trolling... but change can be gr by AlanObject · · Score: 1

    I wasn't really trolling regardless of what the moderator tally is. I was just remarking that this topic really is a hot button for a lot of people and are willing to write flames about it. And that it hadn't happened for a while.

    And was I wrong? Oh, no.

    I also pointed out that some people have more valid justifications for their passionately held positions than others. Although that is always true on that topic the jury will always be out.

  40. Re:I like systemd by dhasenan · · Score: 2

    The exploit is a privilege escalation attack and does not require physical access to the machine. It uses a local account (that is, one on the OS) to start a local root shell (that is, one available to a process running on the machine, not necessarily available over the network).

  41. Linux can do that easily enough by raymorris · · Score: 1

    Using binfmt_misc (or a GUI front-end to it) you can fairly easily configure your system to use whatever program you want to handle *.service "scripts". It can recognize them by name (.service) and/or by the first bytes being [Unit] or [Service]. This is similar to configuring a default handler for jpeg files, to open them when you click them (but also works from the command line).

    For other file types that don't have a predictable name, nor predictable first bytes, a very simple kernel module can be used to register a handler.

    Lastly, text files of unknown type are sent to /bin/sh if they are chmod executable. You can probably configure sh to handle service files.

  42. ugh by sad_ · · Score: 1

    been using linux since 95 and i've seen all kinds of bugs throughout the years.
    it looks like systemd is remaking all of them again, each time i think - this already happened before, it shouldn't be a problem anymore.
    seems as if the systemd team is recreating the complete history of linux userland bugs again.

    --
    On a long enough timeline, the survival rate for everyone drops to zero.
  43. Re:Remind me again why logs aren't text anymore? by zwarte+piet · · Score: 1

    Logs have always been made of wood.

  44. Haven't you dropped Systemd yet? by Artemis3 · · Score: 1

    Distrowatch says there are 113 alternative distros you can use without systemd

    If you like Debian, you use Devuan.
    If you like Arch, you use Artix.
    Slackware was never tainted, etc...

    What are you waiting for? The main idiot is not even Poettering, its the Distro leaders that choose to force you to use it. Of course Fedora is doomed being a Red Hat project...

    Is it a coincidence that everything made by Poettering behaves more or less the same buggy and bloated way? You think pulseaudio is an example of excellence? What about avahi and the other crud he made? Just say no to his mindset and rid your system of anything made by him.

    http://without-systemd.org/ Take a stand against systemd!

    --
    Artix
    Your Linux, your init.
    1. Re:Haven't you dropped Systemd yet? by petrus4 · · Score: 1

      http://without-systemd.org/ [without-systemd.org] Take a stand against systemd!

      I can hardly begin to describe, the extent to which this warms my heart, or the sense of hope it gives me. I had feared that Linux's users as a whole had simply rolled over and accepted Lennart's crap. This is a revolution that needs to continue.