54
submitted 4 days ago by Kajika@lemmy.ml to c/linux@lemmy.ml

You can also read The problem with the anti systemd attitude.

This is not just hatred towards systemd, it can do things very well, the direction it is going isn't great.

you are viewing a single comment's thread
view the rest of the comments
[-] atzanteol@sh.itjust.works 10 points 3 days ago

This is by far the most nuanced critique of systemd I’ve ever seen.

It's the same bullshit everyone has always bitched about.

[-] YaBoyMax@programming.dev 6 points 3 days ago* (last edited 3 days ago)

Loosely yes, but I rarely see anyone expound on it beyond "It's bloated and therefore bad". I also rarely see specific criticisms outside of that like journalctl being slow or using a binary format for log files.

[-] atzanteol@sh.itjust.works 8 points 3 days ago

90% of his argument is just "UnIx PhIlOsOpHy" though. Or arguments (term used loosely) that are based on that. He keeps chanting "But systemd Is MoNoLiThIc" over and over as if that ended the discussion while handwaving away the same argument against Linux or Wayland. But somehow systemd is different. Systemd needs to be crap for some reason.

It turns out that system boot benefits from tightly integrated steps. Filesystem mounting can depend on network availability for example. Logging depends on filesystems to be mounted. The sub-systems are naturally inter-dependent. And service management and execution needs to know about all those things. Some services need networking, some need file systems, etc.

You match the design to the problem. You don't pretend like the Unix Philosophy is some gold standard that everything must adhere to.

[-] SteveGoob@lemmy.world 1 points 1 day ago* (last edited 1 day ago)

Except that the author does not end the discussion at "it doesn't follow the Unix philosophy." Granted, they do spend a number of words refuting the argument that systemd is modular; whether or not it's a strawman, it sounds like you already agree with the author on that point. While they do pay some lip service to the value of the Unix Philosophy, their arguement hardly ends there.

From the article, (bold emphasis mine):

This lack of modularity – where “modularity” means free choice in interchanging components for other, unrelated projects – is where most of the criticism of systemd stems. It’s the purest, and most important, criticism of systemd, but my personal grievances against systemd go further. Because, in my experience, systemd isn’t good software.

The author provides evidence for that claim with examples regarding journald, networkd, and session keyrings. None of those criticisms are specific to the Unix Philosophy. Their whole point appears to be "yes, I value software that follows the Unix Philosophy, and systemd does not, but I believe there are many other valid reasons that systemd isn't good."

Of course these concerns play into each other, but the nuance there is kinda the whole point. The author points out that it would be a lot easier to use only the good parts if systemd had a more genuinely modular architecture, but it's simply not built for that. And it's a real and material example of a negative consequence of not following the Unix Philosophy. Rather than say "it's not developed with the UP in mind, it must therefore be bad," the author gives a tangible example representative of why they believe that to be important.

Just as the Unix Philosophy is a thought-terminating cliché (because of course it is), it is similarly unhelpful to claim that consolidation brings performance and cross-cutting capabilities. The proof is in the pudding, and as critical readers we should not overlook valuable perspectives like the one the author has brought.

(Not that it's critical to your point, but we're you trying to argue that Wayland is monolithic? I have to assume you didn't mean it like that, since it's a protocol that decouples clients and compositors, and it's certainly not monolithic in that sense)

[-] atzanteol@sh.itjust.works 1 points 1 day ago

Not that it’s critical to your point, but we’re you trying to argue that Wayland is monolithic?

No - but that it's monolithic in a similar way that systemd is. Modular but integrated. The author seems to reject this form of modularity as a violation of "the code".

[-] Ferk@lemmy.ml 4 points 3 days ago* (last edited 2 days ago)

handwaving away the same argument against Linux or Wayland

Honestly, I would be happy if there was a mature implementation that was practical to use and was more modular for these too. I'd argue Wayland is much better than X11 in this respect, since the Wayland protocol is much more minimalistic in its design, so I think a big reason why X was superseded was the need for removing things that had been needlessly integrated in the X server and added technical debt.

If there had been usable and working alternatives that were less monolithic at the time those were launched, and people were actually using them but had to switch due to the pressure of other bigger projects.. then I'm sure there would have been criticisms too.

Imagine if someone came and proposed "graphicd", a service that combines not just compositor & display manager but also management of priviledges (like polkit), GUI toolkit (like a Gtk/Qt replacement), password manager, terminal emulator, filebrowser, web-browser and any program that might benefit from tight integration with the GUI environment. And it used protocols and methods that are entirely incompatible with Gnome, KDE or other more modular desktop environments, but the API/ABI is so big and fast moving that it's very hard for alternative apps to integrate well with the core of graphicd (the external API on the components is stable, but not the API between the components and the core). Then it started becoming the default everywhere, with some programs adding its specific components (and along with them, the graphicd core) as a dependency.

Filesystem mounting can depend on network availability for example

This is one of my pet peeves with systemd.. I've multiple times tried to use mount units (the "systemd-native" way) but I often have always ended up just relying on either the older /etc/fstab configuration conventions or layers like gvfs and custom scripts (through the init.d-like rc.local compatibility service..) because when writting systemd units to mount conditionally remote drives that might or might not be available they sometimes (not even reproducibly) led to problems in one way or another (like sometimes slowing down my boot or even my shutdown).

The issue is that systemd is considerably more opaque and complex.. so it's hard to tell whether something is a bug in the software, an intentional behavior / quirk, something specific to particular circumstances/cases or an issue in your configuration.

And I'm not saying all of what systemd did is bad, it has advantages.. but acting as if it doesn't have problems that could be smoothed out with a different approach would not be right either.. it's not like it's impossible to do what you are stating in a modular way, for a long time before systemd was a thing we had syslog implementations (like rsyslog) that handled structured, secure remote logging across networks without needing a monolithic init system to dictate how logging architecture should work.

this post was submitted on 27 Oct 2026
54 points (69.9% liked)

Linux

68414 readers
428 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS