by DCKing · 12y ago · 0 comments
I get what the technical differences are between systemd and alternative solutions. That is not the problem. What I don't get is how the init system of anything can evoke such emotions. It all goes way beyond expressing preference. The flamewars and vitriol that have been spread are disgraceful, and people are seriously considering switching to different operating systems because of whatever package runs their daemons and their startup scripts. It's embarrassing.
As a frequent user of Linux, it completely mystifies me how changes in this can cause such emotions. I mean, I'm the kind of guy who did not prefer Fedora for such details as font rendering and certain package policies, so I'm not insensitive to distro differences in general. But I guess I'm ignorant about why so many people seem to cherish such very strong opinions about an init system.
What is it about init systems that causes this outrage? I really want to know!
I like systemd. It has shaven quite a few seconds off my boot time. I get that its modularity simplifies things for the developer. However, I understand some of that outrage. Linux systems have typically been mix-and-match. However, when systemd started gaining popularity, some packages have been written to depend on it, and it seems to be becoming difficult for people to choose not to have systemd. Given that systemd is built to make good use of Linux-specific features, it's also annoying for *BSD developers to get many software packages to build and run on their systems.
Look at the output from my own setup:
Required By : accountsservice bluez-utils chromium colord crda device-mapper lib32-systemd
libgusb libpulse libusb lightdm lvm2 media-player-info mesa mkinitcpio
netctl packagekit pcmciautils polkit procps-ng python2-pyudev qt5-base
qtwebkit rtkit spotify subversion systemd-sysvcompat udisks2 upower
xf86-input-evdev
I don't understand why many of these packages need systemd.Exactly the issue I think.
I'm wondering (not trolling) how many desktop people actually reboot the kernel (fresh boot or resume from hibernate) as opposed to using suspend to ram? Given the outrage the Gnome devs caused by hiding the power down function on early versions of Gnome 3 quite a few. I generally just suspend, but I've recently started using hibernate on one laptop with whole disk encryption just in case of petty theft/leaving it on a bus.
Do any sysadmins use automatic spinning up of instances of a small Linux to cope with traffic spikes? Is that something that is actually done? Boot time could matter then.
GNU/Linux represents choice and freedom. The abundance of distros is proof of that. You can choose your preferred init system, system logger, cron daemon, desktop environment, browser, etc.
Now, systemd is being forcefully pushed to all distros. For instance, by merging udev (a part of the Linux kernel) with systemd. We can't even build a distro anymore without downloading systemd. User choice is under threat.
In this situation, some people align with the forceful approach of systemd. Some prefer to choose what goes into their computers. This is similar to the inclusion of DRM in Firefox, there's no middle ground.
So the debate is really about competitition vs a walled garden provided by systemd.
I thought one of the advantages of udev (vs devfs) was that it was completely in userspace?
The internals of systemd consists of reams of repetitive string processing that should not even have been written in C, and lots of indirection which obscures control flow paths through the program.
The behavior of systemd is only completely specified only by its obtuse implementation, which was developed by some people who have no clue how to design that kind of thing (or to specify and document it).
Why I even know this is because I had to switch to source level debugging to figure out why systemd is or isn't doing something, and how to change it.
Background: I worked on substantial improvements of Linux's ability to support serial consoles on a USB-serial device. This required interaction with systemd. Part of the functionality is that you can plug a console in before booting or after, and get a prompt. Moreover, you can unplug a device with one kind of USB-serial chip, and plug in a different kind that uses a different driver, yet completely recover your existing session, which could be in the middle of a vi edit or whatever).
To get the behavior completely polished, I had to wrestle with systemd, which was killing the sessions in an obscurely mysterious way that made the USB-serial/TTY/console code in the kernel look like a walk in the park. I think it took me several days to figure out, after poring over the systemd source code. First I discovered it was systemd doing the killing by putting some printk's in the kernel. Reading systemd documentation was useless, so I had to crack open the source code and start instrumenting that. I think it took the better part of a week to finally get the behaviors ironed out.
I used systemd last year to see if it was any good, and it's terrible. Specially journald, well it uses a binary format, I see this file, about 250KB, I wanted to decompress it as a text file to use my tools. OK, I had a brand-new very powerful computer. After 1 HOUR, I see a 5GB file, the decompression still running!
Another bug, I needed to power off with (unix sysadmins will laugh at this):
sync; sync; shutdown -h now
otherwise systemd (systemctl poweroff) would randomly delete files in my home dir!So yes systemd is also technically bad. That's why *BSD, GNU Guix and other alternatives are gaining momentum.
It's partly a hang-over from toxic communities and people ignoring all the evanglist advice. Linux had a lot of early discussion on Usenet. One feature of Usenet was robust discussion (often under people's real names) which could devolve into hateful flame wars. This was not limited to Linux discussion, but includes Vi vs Emacs, the pronunciation of gif, BSD vs GPL licences, microkernals, etc etc etc.
There are also people involved in this current argument who are difficult to talk to. These people have help create a totally toxic environment.
It's not limited to linux. There are several megabytes (doesn't sound much but don't forget it's just text) of arguing on Wikipedia over m-dash, n-dash, hypens and etc. and that place has rules to supposedly encourage collaborative behaviour.
[1] http://lists.centos.org/pipermail/centos-devel/2014-June/010... [and the many many subsequent replies]
[2] https://lists.debian.org/debian-devel/2014/08/msg00129.html [and the rest of the thread, and the other threads about the same issue]
I suspect this one has a lot to do with issues around the structure of the operating system and the way major components depend on each other.
There are some technical concerns, but a disproportionate amount of criticism is because the lead developer[0] of systemd also developed PulseAudio, which was adopted by distros too early and therefore caused a lot of problems for people.
People remember PulseAudio without much fondness, so they are bitter and take it out on systemd.
It doesn't help that he has a somewhat direct manner of communicating, which some people find off-putting.
So, to answer your question, a lot of it is personal, not technical. That's why you see much more vitriol than you'd otherwise expect for a somewhat technically controversial, low-level piece of software.
That said, Poettering's character is so distinctive that it's nearly impossible not to do a little jab against him.
I just wish that Debian did not take systemd, that _really_ saddens me.
You're saying that there are technical concerns, and that those are a large number of the concerns expressed.
I'm saying that his personality and previous history with PulseAudio are a reason that those technical concerns are expressed far more often (and with more vitriol) than they otherwise would be.