About the true purpose of systemd
I've been involved with #GNOME, #KDE, #freedesktop and #postmarketOS, ...
I've met @pid_eins and other prominent figures behind closed doors
I can confirm from first-hand experience that systemd is indeed a conspiracy to make better operating systems with Linux
@sonny How dare!
This analogy is completely broken.
There is no market for init systems (or whatever systemd is)
systemd isn't an end product
nothing competes with systemd
But also and this is more personal :)
1. Cars suck
2. I wouldn't mind if everybody drove the same safe car
3. I don't have a driving license
@sonny also, choice in the car market is largely an illusion, so much has been consolidated in that industry in the past decades
@leeloo @sonny @pid_eins well wasn't sysvinit same monopoly before? It was in the same meaning as systemd now. Wasn't ALSA a monopoly? Or later pulseaudio or pipewire nowadays? X.org? Isn't CUPS a monopoly for a long time? Isn't Linux kernel a monopoly? Kinda yes and no.
Systemd provides very convenient functionality and it could be replaced but no one needs that ATM. There was uselessd but as I know it was abandoned.
@mykolak @sonny @pid_eins
Lots of whataboutism and completely missing the point. Nobody tried to make sysvinit a monopoly, it was just small enough that all the interesting stuff was in /etc/rc* and there was plenty of those to choose from.
Alsa is the kernel driver, pick another kernel, you get a different driver, and /dev/dsp never completely went away. Pulseaudio is from the same group as systemd, but they failed to turn it into a monopoly - apart from Firefox and Bluez I haven’t run into anything that demands pulseaudio.
Pipewire is too new, it doesn’t even compile unless you are running the newest untested software.
X.org never tried to prevent people from using alternatives, they were just too expensive (I used Exceed, X-Win32 and XSun). Cups, I have the same problem with, why do I need cups installed when I don’t have a printer, and I prefer LPD anyway?
And of course the Linux kernel is nowhere near a monopoly, it's not even the default. That would be the NT kernel.
@leeloo @sonny @pid_eins it's not whataboutism, I just merely show you that there is a lot of software without relevant alternatives. Systemd is just one of them, it's not a monopoly just as other examples I've provided. You also could pick other init system. No one forcing you to, it's just a lot easier to use it. There are Devuan, Gentoo that doesn't use it.
@mykolak @sonny @pid_eins
Do you drive a Trabant? Do you vote Kim Jong Un?
You argue that having only one option is better, so you should.
If you can accept that different options for different people and different scenarios is better, then systemd is not better. Because that's exactly what systemd is not.
@sonny @pid_eins
Well, is a single big software to rule many aspects of a Linux distribution a good thing ?
I can't understand how it could be a great idea.
We tend to forget the "do one thing and do it well!"
I have nothing against systemd and its purposes but I would prefer simplicity over too many functionalities.
@apexdynamo @sonny @pid_eins I got your simplicity right here: http://fqa.9front.org/fqa0.html#0.1
@apexdynamo @sonny @pid_eins Is it though? Last time I looked, systemd wasn't a monolith, but a set of more specialized tools.
I'll explain my concerns.
- At first, I thought that it was just an alternative to sysvinit, runit ... even though existing init systems / process managers were fine.
The freedom of choice like we all want to have.
But no! It's not just a init thing. It's about controlling the system. Note that I felt in love with the name.
- Systemd : 1 package with many functionalities (tools) controling many building block for a Linux system (part of this definition came from its website)
- No code is really bullet-proof, and a single package that has control over many parts of the system can lead to a larger attack surface and a bigger impact IMHO, No ?
- And hey, why the heck do we have to deal with binary log ?
Why not the usual plain text stream. We have to rely on systemd tool to operate on them. As a sysadmin I have to do some "witchery" operations on logs stream and it is not helpful in many cases as I want to use other tools for some direct manipulation on it.
- Speaking about choice, will we always have the choice to go for another init system if the packages in the distribution we used to work on is totally dependent on systemd ? What if this extends to the whole Linux community ?
Doesn't it sound like a kinda systemd-centric ?
Couldn't it be a bit freaky ?
Where is the good old "Free" ?
Adding to that, the "Open Source" starts to fade on some software that used to be Open, actually.
- All of that doesn't help for saying that systemd will make Linux a better OS.
@grillchen @sonny @pid_eins How do you feel about gnome hard-depending on gtk and plasma on Qt?
I think systemd as a project is good in part because its doing a lot of work that freedesktop.org did for DEs. For example, getting disparate distros and projects to agree on conventions for how to cleanly separate OS files from per-machine configuration.
@grillchen @sonny @pid_eins what interfaces are difficult for OpenRC (or other projects) to implement?
@grillchen @sonny @pid_eins (genuinely wondering, not a rhetorical question)
@sonny @pid_eins
Define "better".
I would define "better" as more stable, predictable, fast with minimal disk and hardware, easily installed quickly and customized, easy to troubleshoot, secure, compatible with the tools I've been using for decades.
I get all this out of a systemd free OS, so this is a fix for a problem I never had.
Although, now I DO have problems because many packages are now dependent on systemd. Why? Why the desperation to drop support for other init systems?
@Okanogen @sonny @pid_eins Same reason why we’re doing away with Xorg and switching to Wayland.
Because despite the old-school init systems being touted as simple, elegant, stable and just way better than systemd (by some people, anyway), you don’t see a lot of people rushing to maintain and develop them.
OpenRC is pretty much the only viable modern non-systemd init system for general use, but it’s being developed with Gentoo in mind.
@notthebee @sonny @pid_eins
Who is "we"? And if something doesn't work for you, good for you, don't use it. I'm not forcing you to use i3WM, am I?
@Okanogen The lack of people willing to maintain the broken mess that is X.Org speaks for itself. Same goes for the older init systems. It's not that there's a desperation to drop support for them, it's just that none of the people who are very vocally anti-Systemd, are rushing to work on support for those older init systems. In FOSS, that's how it usually works. There's rarely an active decision to axe some feature or product to piss people off or please the shareholders. But there's often a lack of resources and people willing to work on the thing.
@notthebee
Other "broken messes" struggling to find developers include InfluxDB. I recall grep couldn't find anyone willing to maintain it at one point. Perhaps "We" should throw those out, too? Toss on the dustbin of history? Because the Kool Kids don't get a thrill unless they are moving fast and breaking things?
Here's a list of other orphaned toys nobody cares about.
https://www.debian.org/devel/wnpp/work_needing
That said, I've been hearing this tired song for at least ten years, and yet things keep working....
@Okanogen Things rarely get thrown out deliberately in FOSS though. You either have people who are willing to work on a thing, or you don't, and then it becomes abandonware.
It's not like there's a secret cabal that prevents developers from working on other init systems and keeping other pieces of software compatible with them. It's just that the majority of people working on Linux have decided to move on. And democracy often means accepting the majority vote, even if you disagree with it.
@notthebee
So "the majority" is the metric for what is right? What is valid? The majority of..... who? Your buddies?
The vast majority of computer users are on Windows, or if you count mobile devices, Android or iOS. With all those combined, by that metric there's almost no support for systemd at all.
@Okanogen Right, but we're talking about Linux here. And the majority of Linux distros use systemd as their init system.
@Okanogen @notthebee @sonny @pid_eins I would like that “we”, for educational reasons, to be forced to use a tiling WM like i3 or xmonad until proficient. There is more than one way. Wayland & systemd kill this polyculture. Most users are used to remote managed desktop - a problem if your wm or compositor is nested - which one gets my Window switch key sequence? How do I control that? “Better” Architecture looses to Muscle memory,
@mil I for one would like to force (for educational reasons) people who oppose things like Wayland and systemd, to spend some time maintaining the X.Org or init.d/upstart/etc. codebase
@notthebee @mil
Oh! Let me help you, then. Despite some deliberate roadblocks thrown in their way, these folks are on version 5: https://www.devuan.org/
@notthebee @mil
Nobody is giving you an assignment, my dude. So ALL people? Everywhere? All people who are less than pleased by journald and networkd? You want to give all people the assignment to become a developer?
If you're so mad about it, why don't you just buy a Mac? Problem solved.
But regarding PITA, I don't know chief, the hard part was done in 2015.
@notthebee @mil
I would like to see anyone try to use networkd for EVERYTHING. Also, never use cron, only systemd timers. Lol. I mean, nobody wanted to maintain that "horrible mess" of ifupdown, until ifupdown2 came around, and cron? So old. Teh oldness. And who can forget "unique network interface names? Wow! Thanks for enpd194u2992uu4. That's a big improvement!
I spend a lot of my admin day working around systemd limitations on servers, including unhelpful journald msgs.
@Okanogen As far as I understand (correct me if I wrong), the unique NIC names are a good idea for the same reason why using /dev/disk/by-id/ is better than using /dev/sdx. The latter is volatile can change when adding new drives to your system, updating the drivers, reinstalling your OS and even rebooting. The former is linked to the unique hardware and will always stay the same, even across different installations.
You can also easily disable that feature: https://documentation.suse.com/smart/network/html/network-interface-predictable-naming/index.html
@notthebee
I'm well aware of how to work around systemd developer's "brilliant ideas".
Network cards never go bad/need failover on boot on some people's systems, apparently. If I can put a nic address in, why do I need a "unique device name"? It had one already. Solutions in desperate search of a problem. Regarding drives, they are two separate problems, and yes it is (generally) better to load drives by blkid or unique name.
We're still allowed to use fstab, right?
@Okanogen if you like fstab, you’re gonna hate zfs
@notthebee
ZFS....
Wow.
You should definitely run a Fedora software raid on top of that.
#YOLO
@notthebee @mil
Upstart? Lol. There's a reason I use -Ubuntu in searches.
@Okanogen @notthebee I am open to different Init & UI systems. I also understand that Xorg is falling appart due to old age. I have seen Inits come and go. “Better” must be seen from the application/user perspective too. Applications differ. One size cannot fit all. What happens if the only way to do something cannot possibly work for a certain application? I oppose creeping monoculture eg. Systemd’s modularity is an opinionated one-way street.
@sonny you have, indeed, hit on why so many BSD users dislike when software depends on systemd.