UPDATE: after many comments, let me be clear that i have nothing against systemd at a technical level. It indeed solves issues that people had and found it’s way in most mainstream distros for good reasons, beside being pushed by Redhat and Debian, which makes for basically every other mainstream distro out there without much choice. I never used it long enough to judge it, and i dont intend to judge it from a technical point of view. I am worried that such a centra piece of technology deeply interwined with linux is under direct control of IBM and Microsoft (who is the employer of the systemd lead). This might mean nothing, or this could be important for the long time future of linux freedom.

I have recently been exposed to a lot of stuff against systemd.

I know its an old debate that has inflamed people for a long time, I am not looking into restarting it as I never took a stance into it in the past anyway.

I am myself a almost 30+ years power user of Linux and I have never used systemd much myself since it never fixed any issues I had with the previous approaches, and since I am a good user of Gentoo, always loved the freedom to just keep using OpenRC and din’t ever bother with systemd.

I like the Unix approach and at the same time, if it is not broken don’t fix it, is my basic idea. So my approach to systemd has been not of dislike, rather of I don’t care, I don’t need it. And I never needed it anyway.

After reading trough most of the links below I start to think that maybe my stance could be more than simple technical.

What are other lemmy-ers idea on all this?

I didn’t knew about Microsoft taking over the Linux Foundation either, and I am getting concerned about the real freedom behind my beloved Linux.

TLDR: I don’t dislike systemd, I never cared about systemd. Do I need to start caring now due to all this non technical issues?

Note: i a copying verbatim the following article to stress that these are not my personal opinions and that i didnt do a proper research on the topic, except reading (most) of the links below.


(The following is a post on the #libreware telegram channel on the 7th/8th of February 2025)

Lennart Poettering intends to replace “sudo” with #systemd’s run0. Here’s a quick PoC to demonstrate root permission hijacking by exploiting the fact “systemd-run” (the basis of uid0/run0, the sudo replacer) creates a user owned pty for communication with the new “root” process.

This isn’t the only bug of course, it’s not possible on Linux to read the environment of a root owned process but as systemd creates a service in the system slice, you can query D-BUS and learn sensitive information passed to the process env, such as API keys or other secrets.

https://fixupx.com/hackerfantastic/status/1785495587514638559

Nitter mirror: https://xcancel.com/hackerfantastic/status/1785495587514638559

Here are some links about #systemd #alternatives for #Linux in no particular order. Which are your favorite alternatives and distros?

https://suckless.org/sucks/systemd/

https://unixsheikh.com/articles/the-real-motivation-behind-systemd.html

https://sysdfree.wordpress.com/

https://nosystemd.org/

https://skarnet.org/software/systemd.html

https://the-world-after-systemd.ungleich.ch/

https://ewontfix.com/14/

https://forums.debian.net/viewtopic.php?t=120652

https://www.devuan.org/os/announce/

https://www.devuan.org/os/init-freedom

https://thehackernews.com/2019/01/linux-systemd-exploit.html

https://judecnelson.blogspot.com/2014/09/systemd-biggest-fallacies.html

https://chiefio.wordpress.com/2016/05/18/systemd-it-keeps-getting-worse/

https://systemd-free.artixlinux.org/why.php

Some more added here too: https://start.me/p/Kg8keE/priv-sec

#systemd #Linux

  • shirro@aussie.zone
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    6 hours ago

    Systemd provides a modern user space which fixes a huge number of problems. At first I found it difficult to learn but it had things I needed and I made the effort. I will always be nostalgic about things before systemd because I started using linux in the mid 90s.

    I’m not going to throw away my GPU and multi-core CPU and go back to a 386 running dos because multithreaded applications and speculative execution scare me. There is no way to match what modern systems can do by taking old architectures and just adding more gates or faster clock speeds. And there are parallels in software architecture.

    There is absolutely nothing wrong with running a BSD or a non-systemd linux distro if you like. They are still perfectly usable in a lot of situations doing the same stuff people did for years in these systems. If you have a server with a static set of devices that runs a fixed set of services at startup you don’t really need systemd. I still have some systems like that but systemd also handles those cases more efficiently and robustly.

    You see these sort of link dumps from people who think vaccines cause autism or that some diet will cure cancer. Whatever the intention behind it I always associate it with a bad faith attempt to fuck with people’s heads by bamboozling them with more information than they can rationally analyze.

    Believe what you want but you might want to consider that all the experts working on systemd and using it productively might know their shit.

  • Quazatron@lemmy.world
    link
    fedilink
    arrow-up
    23
    arrow-down
    2
    ·
    12 hours ago

    A lot of man-hours went into engineering it. Very smart people from many distros went over it, kicked its tires and deemed it good enough to replace old SysV. We’ve been through this, if you don’t like it for some reason, use something else.

    It’s just software, people, it’s not a frelling religion.

    • MonkderVierte@lemmy.ml
      link
      fedilink
      arrow-up
      8
      arrow-down
      2
      ·
      edit-2
      11 hours ago

      We’ve been through this, if you don’t like it for some reason, use something else.

      My god. Yes, we’ve been through this. You can’t just replace Systemd on most distros, because to have the alternatives in the repo, they would have to provide a bunch of shims and wrappers or have two different repos entirely. This is why i dislike Systemd, btw.

      And before you start with Gentoo; yes, there it works, because it’s source based and Openrc is basically the wrapper.

    • Shimitar@downonthestreet.euOP
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      7
      ·
      12 hours ago

      Did you read my post at all? Maybe I am not clear enough.

      I don’t care for systemd, I don’t dislike it I don’t like it. I don’t use it but merely because I never felt the need to use it, or I would have use it.

      What people think of the non technical reasons given in the links/post is what I am asking. Is it just FUD or there is a valid base to them?

      • non_burglar@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        7 hours ago

        If you don’t care about systemd, then why post?

        Sysvinit is done. It is not graceful at handling dependant services, it was hard to test, and customising a service was painful compared to unit files.

        For someone who’s been at Linux for 30 years, you clearly haven’t spent any time fighting with init scripts.

        Don’t get me wrong, I’m not a fan of Poettering. His approach lacks any empathy for anyone who’s entrenched in a current system and breaks stuff with his deployment approach.

        But run0 solves a LOT of problems with sudo, problems that have always existed. Have you ever tried to deploy a sudoers file in an ecosystem of Linux systems relying on LDAP? Sudo definitely needs fixing.

        • Shimitar@downonthestreet.euOP
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          1
          ·
          7 hours ago

          Again i am not interested in the technical aspect of systemd, yes i do like handling init scripts (OpenRC, not sysv…) so maybe i am a bit unconventional. The point i was trying to make was about how sustainable is having a core piece of linux that keeps growing managed by IBM and Microsoft, and if this was of concern with anybody else, which seems not to be the case.

          • non_burglar@lemmy.world
            link
            fedilink
            arrow-up
            3
            ·
            6 hours ago

            You’ve mentioned that you dont care about systemd several times, but it’s certainly not clear from your post.

            Many companies contribute to the LF. Intel, Qualcomm, Samsung, oracle, redhat, are all platinum members. Are you concerned because poettering works for ms that they’re going to privatize Linux?

            What is your issue with run0?

            • Shimitar@downonthestreet.euOP
              link
              fedilink
              English
              arrow-up
              1
              arrow-down
              1
              ·
              5 hours ago

              I don’t even use sudo, so i will certainly not use run0. I have nothing against run0, it make even sense if the footprint is actually smaller than sudo. I was only reporting the article posted on telegram, as i have added a note to the original post, i did not share the view reported in the copied text, but i choose to report it verbatim for clarity.

      • Rogue@feddit.uk
        link
        fedilink
        arrow-up
        13
        ·
        10 hours ago

        You provided 15 links.

        Are you seriously expecting somebody to walk you through each one?

        You’re claiming not to care either way about systemd and yet you’ve provided 15 sources against it and apparently done zero research into why it has been so widely adopted.

        • Shimitar@downonthestreet.euOP
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          1
          ·
          7 hours ago

          Probably it’s too much asking to go trough all of them indeed, it’s lemmy afterall, already most of the comments didnt actually read the entire first post either.

          But i think i didnt have to provide “pro-systemd” links as my intent is not to discuss it’s technical goodness (which i do not dispute!) but to understand what is the common idea about the fact that systemd could be a critical part of Linux which is in the hands of IBM and Microsoft and what this means for the linux community overall.

          Either nobody cares, or it’s too much complottistic to be real.

          • Rogue@feddit.uk
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            5 hours ago

            understand what is the common idea about the fact that systemd could be a critical part of Linux which is in the hands of IBM and Microsoft and what this means for the linux community overall.

            Either nobody cares, or it’s too much complottistic to be real.

            I wasn’t familiar with the word complotism but yes I think this is the case - It’s just an unsubstantiated conspiracy.

            Even if were true that Microsoft had taken over systemd by stealth. What is the harm? If they suddenly do something malicious with it then all the distros will just fork systemd and continue without the malicious elements.

            • Shimitar@downonthestreet.euOP
              link
              fedilink
              English
              arrow-up
              1
              ·
              5 hours ago

              That is true, it’s open source after all. But i am maybe too old to remember Microsoft strategies to embrace and extinguish… So i am a bit worried, like i was worried that Magisk would be crippled since the lead dev was hired by Google (and indeed, there have been very few progress on Magisk, with Kernel SU getting all the hype lately).

  • Yozul@beehaw.org
    link
    fedilink
    arrow-up
    4
    ·
    9 hours ago

    Systemd is a good init system. Better than any of the alternatives, although they’ve also come a long way since systemd first came around. It’s also a weird interconnected mess of a thousand other things that probably shouldn’t all be lumped together into a single project. Half of them are absolutely vital to the vast majority of Linux systems, and half of them are unused and neglected and no one has touched them in years, but they’re all stuck together in one weird project for some reason.

    That’s kind of the exact same sort of situation xorg was in 20 years ago. I am concerned that systemd is going to turn into the next xorg, but really those concerns are the only reason most people should consider an alternative. If you don’t care about that, you probably don’t need to worry about systemd.

  • ShortN0te@lemmy.ml
    link
    fedilink
    arrow-up
    7
    ·
    11 hours ago

    Lennart Poettering intends to replace “sudo” with #systemd’s run0. Here’s a quick PoC to demonstrate root permission hijacking by exploiting the fact “systemd-run” (the basis of uid0/run0, the sudo replacer) creates a user owned pty for communication with the new “root” process.

    To my understanding that actually solves issues. A lot of ppl already prefer other tools like doas since sudo is basically “too big” for what it does.

    More code means more potential bugs. run0 has to my knowledge significantly less code. And the benefit of not relying on SUID.

    In the end, you do you. The big distros will adopt what is good for them and good to maintain. You do not have to use it.

  • BestBouclettes@jlai.lu
    link
    fedilink
    arrow-up
    10
    ·
    12 hours ago

    I really love all the 5+ years old articles about why systemd sucks.
    It’s not perfect but it’s so much better than the plethora of different init methods Linux used to have. Also managing sysv init scripts sucked really bad.
    It’s lightweight, most of it is optional, it’s declarative, it makes managing your systems much easier and it just works.

    • Yozul@beehaw.org
      link
      fedilink
      arrow-up
      1
      ·
      8 hours ago

      This isn’t really an important point or anything, but I always find it odd when people bring up sysv init when talking about systemd. That’s kind of like arguing that people should switch to Linux because Windows Vista was bad. It’s not wrong, exactly, but it is a very weird thing to bring up in 2025.

      • Shimitar@downonthestreet.euOP
        link
        fedilink
        English
        arrow-up
        2
        ·
        7 hours ago

        Yeah, OpenRC is pretty good IMHO, never had an issue with it. sysv is just like comparing to Windows 3.1 i guess.

  • esa@discuss.tchncs.de
    link
    fedilink
    arrow-up
    10
    arrow-down
    2
    ·
    12 hours ago

    How do you know a post was written by a systemd hater? Easy, they’ll spell it with a big D for some reason. It reminds me of how Norwegian rabid anti-cyclists are unable to spell “cyclist” for some reason.

    Claiming you don’t want to restart an old debate and then trying to restart it anyway is pretty funny.

    You might also want to keep in mind that you can’t really force an init system on Linux distros. Systemd became the norm through being preferred, as in, the people using and maintaining it think it’s good. At this point you might as well be ranting about how “LinuX is evil somehow” and we should all be using GNU HURD or Minix or something.

    Also: Haven’t thought about suckless in well over a decade, maybe closer to two? I guess way back in the day I was kinda intrigued by their ideas and used some of their products; these days I’d rather see them as something between an art shop and people who are playing a somewhat unusual game with themselves, but not particularly relevant to mainstream software engineering.

    • Shimitar@downonthestreet.euOP
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      7
      ·
      11 hours ago

      I am not debating it’s good or bad from a technical perspective, i don’t care, i am sure it’s good otherwise why use it at all.

      Why are you focusing on that? I never said it’s been forced, i never said its bad or evil, i never discredited it.

      I think it’s worth understanding if the non technical points are just FUD or not, i worry about the future of Linux, not the future of it’s init system whatever it is, all it need to do is satisfy it’s function and OpenRC do it as well as systemd (there, with the small d is it different?).

      I was under the impression SystemD was the name, with the capitals and all. Will fix the top post if this is somehow offending you. Whatever.

  • jokro@feddit.org
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    10 hours ago

    I’ve never used another init system, but i see no problem with systemd. The declaritive approach makes things very robust. Surely some things can be improved, but it’s a good tool.

    Edit: Also managing user services the same way is nice.

    • Shimitar@downonthestreet.euOP
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      7 hours ago

      Yeah, as i stated i am not questioning systemd good or bad, useful or not, but the non-techinical aspects highlighted in the links…

  • GravitySpoiled@lemmy.ml
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    2
    ·
    13 hours ago

    I don’t understand what you are talking about.

    I like reading a post with a clear topic and reasoning, unfortunately it’s not obivous to me.

    Something like “I dislike systemd because XY. What do you think?” Would help me.

    • Shimitar@downonthestreet.euOP
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      9
      ·
      13 hours ago

      I don’t dislike systemd, I never cared about systemd.

      Do I need to start caring now due to all those non technical issues?

      (Tldr added to top post)

          • Rogue@feddit.uk
            link
            fedilink
            arrow-up
            11
            ·
            edit-2
            10 hours ago

            In that case why not share your opinion?

            Instead you’ve claimed you’re neutral and shared links to the views of 15 other people.

            You haven’t even provided any context on these articles. Or quoted anything from them that you are concerned about.

            Everything about this screams you’re asking in bad faith just hoping to waste people’s time or start an argument.

            • Shimitar@downonthestreet.euOP
              link
              fedilink
              English
              arrow-up
              1
              arrow-down
              4
              ·
              7 hours ago

              And yes you exactly waste people time :)

              Jokes apart, well i think that having a core component so much linked to IBM and Microsoft is a potential danger to Linux itself. What if it was the kernel to be in the hands of Google and Microsoft? Where would Linux as we know it be going to?

              This is concerning, i think. I thought it was clear from the first post. I dont want to share an opinion on how good or bad systemd is from a technical point of view, because i do not have such an opinion because i use OpenRC and never used systemd long enough to judge it from a tech pov

              • Rogue@feddit.uk
                link
                fedilink
                arrow-up
                3
                ·
                6 hours ago

                I’ve read the update you made to your original post.

                So I now understand your concern is Microsoft control systemd and the proof of that is that the project lead works for Microsoft? Is that the only proof?

                I think it’s quite a grasp. There is no money in open source so the developers need jobs. In this case the developer happens to be employed by Microsoft.

                • Shimitar@downonthestreet.euOP
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  5 hours ago

                  Yes, i hope your view is correct. Indeed he can work for whatever company he likes, but i would see that as a conflict of interest of some kind. Remember also that when you sign up with big tech companies its common that you sell them the intellectual property of all your works, even outside work hours, specially if in the sale related field. Maybe it’s not his case, i have no idea.

                  I was concerned. Maybe i still am a bit. But the fact that systemd can always be forked (or ignored, as that is still possible today) its a comfortable thought.

  • kixik@lemmy.ml
    link
    fedilink
    arrow-up
    13
    arrow-down
    1
    ·
    14 hours ago

    Where did you get this idea?

    I didn’t knew about Microsoft taking over the fsf either, and I am getting concerned about the real freedom behind my beloved Linux.

    I think you are confusing FSF with the Linux Foundation, and you can see MS as part of the platinum LF members. Was that it, or you really meant FSF?

  • philluminati@lemmy.ml
    link
    fedilink
    arrow-up
    13
    arrow-down
    3
    ·
    14 hours ago

    Systemd has more features than old SysV init scripts. Particularly around detecting events and taking actions such as starting firewalls when joining networks, turning on battery tools when unplugged from a charger, starting new services when connected to a dock etc.

    The other things it does, it does more reliably than sysV init scripts. It starts services concurrently, provides a profiler to improve start up time, contains much less code, provides better security to tapping into the container features of Linux.

    • Shimitar@downonthestreet.euOP
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      edit-2
      13 hours ago

      Anyway what you describe is done at DBUS level which has nothing to do with an init system. I do have DBUS and works just fine as it would with OpenRC or SystemD either.

      SystemD doesn’t really help with all that, with OpenRC never had issues with that.

    • MonkderVierte@lemmy.ml
      link
      fedilink
      arrow-up
      1
      arrow-down
      2
      ·
      edit-2
      11 hours ago

      Security is actually where Systemd has troubles generally. It has more CVE tgan all other init together. And reliability (esp. starting order of services) is another weak point.

      • Shimitar@downonthestreet.euOP
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        7 hours ago

        This is concern indeed, but not using systemd myself, i don’t care too much.

        Is the fact that such a critical core compoent spanning everywhere in the system is under the control of IBM and Microsoft that concerns me.

  • juipeltje@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    9 hours ago

    I personally don’t really care much about the init system. For most of my linux journey i was using arch, then void, then nixos, and now i’m back on void, so i jumped between systemd and runit for a bit. I never chose to use void because of its init system though, i just prefer its package manager. I found both systemd and runit to be fairly simple to use and it just gets out of my way. Poettering working for microsoft has concerned me a little bit, but if i’m being honest that’s just me wearing the tin foil hat. I will say though that at this point, if something were to happen to void and i had to move back to arch, i might try using artix just for the style points, and because of me already being familiar with runit anyway.

    • Shimitar@downonthestreet.euOP
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      7 hours ago

      Yes, that is one point. Having the main dev working for “the enemy”. Systemd being developed by the main dev who is at microsoft? To me that rings some bells.

      He will keep doing a great job, he is paid for this, but the point is that microsoft could try to control linux a bit too much, and so is IBM…