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.

68 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 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."
    7. 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.

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

    9. 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?

    10. 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.
    11. 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
    12. 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.

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

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

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

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

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

    6. 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.
    7. 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."
    8. 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."
    9. Re:Pure Poettering inspired incompetence by hawk · · Score: 3, Funny

      Poorly knocking off an apple product?

      How much more microsoftish can you get?

      hawk

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

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

    --
    Politics; n. : A religion whereby man is god.
  4. 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.

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

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

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

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

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

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

  11. Re:Open source fail version 4982497823824 by Shaitan · · Score: 2

    "niche operating system"

    The 90's called and want this argument back.

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

  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."
  16. 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.

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

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

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

  20. Re:This is why you should use Windows or Mac by Narcocide · · Score: 2
  21. 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)
  22. 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.

  23. 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."

  24. Hang on by doom · · Score: 2

    Let me go make some popcorn.

  25. 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.
  26. 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.
  27. 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.
  28. "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.

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

  30. 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?

  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.

  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: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.
  35. 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.
  36. 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).