by binaryapparatus · 9y ago · 0 comments
Quote from American Gods: “A single product manufactured by a single company for a single global market. Spicy, medium, or chunky! They get a choice, of course! OF COURSE! But they are buying salsa.”
I (thankfully only) used to do Linux BSPs in a former life. In the last year or so of doing that, I think we spent about 15-20% of a project's time debugging systemd problems and working around it being too smart for its own good. 20% for the bloody init system sounds fine until you realize the rest of the time included stuff like writing or expanding device drivers.
It would be great to see in-depth experience reports for systemd, good and bad. The overwhelming majority of anti-systemd commentary has just been noise for so long, and as somebody who is very much in favor of systemd, I'd love to see some real discussion and actual informed criticism.
They keep having embarrassing security exploits (like remote code execution in the dns reimplementation, or handing root to strange usernames by design).
Many people say they broke logging because the binary files create administrative nightmares and are flakey by design. Ubuntu LTS' systemd logging subsystem definitely broke a bunch of production machines I work with by stealing control from rsyslog during a botched update. We have a bunch of tooling for log processing and shipping. The systemd binary format is a usability nightmare compared to .gz files.
Being a member of the "video" group is no longer enough to use DRI or the new rootless X11 stuff. One of the crucial system calls has been hardcoded to only work when invoked by UID zero. The kernel maintainer rejected a one line patch to fix it. The argument is that systemd can launder the call through its own authentication subsystem, so the kernel doesn't need to implement workable permissions for /dev/ anymore. I have no idea how far that brain damage has spread. Just "chown root:root /dev/video; chmod og-rwx" if you want systemd! Don't proactively break every non-systemd distro out there by intentionally crippling the kernel API!
I've noticed that systemd debian-derived desktops age poorly -- uninstall a bunch of packages and reinstall, and you will find you can no longer log in correctly. I never managed to root cause it. It looked like init issues with multiple repros across multiple OS vendors.
If I were choosing a "most interesting alternative to systemd and classic init" award, it'd go to GNU Shepherd which is the init system of GUIX as well: https://en.m.wikipedia.org/wiki/Guix_System_Distribution
All the talk about BSD and launchd has me thinking Shepherd might be on to something. Launchd is XMLed up from here to Sunday, whereas Shepherd can have all the benefits of Scheme's S-EXPRs being tree structures while also having a great scripting language (Scheme) at your disposal.
It was kind of like learning Unix after coming from a DOS background.
If FreeBSD switches to systemd, I'll stick with OpenBSD. OpenBSD is as likely to switch as they are to rewrite the kernel in rust and go.
I don't think Linux would have gotten this far if its core wouldn't be influenced by the design principles of Unix and the kernel project wouldn't be run by a person who takes care regarding incompatible changes. Look at ReactOS or Wine. I'm worried that systemd might prove to be a major headache in the future.
In my experience, systemd fails on both points. For example, and understanding of user permissions under systemd is probably beyond 99% of developers' expertise.
As an application developer and hobby sysadmin, systemd is a godsend over the misconfigured and broken stuff distributions have delivered for years.
systemd has made my work a lot more effective, and I’ve gained massive productivity.
And that is roughly the size of the problem. If you're an application developer or a hobby sysadmin then probably systemd is good for you, but if you're an experienced sysadmin it spells 'fixed what wasn't broken' and it re-introduces many issues that were already thought about, taken care of and laid to rest.
What is this about?
(And I think Oracle MySQL is still alive/supported)
Supported yes. Having history of Oracle handling of projects, Solaris being last example, I am very glad that we have active MariaDB.
Care to elaborate on the 'mess' created? I highly doubt you even used it yourself, sounds like something you've heard and are repeating for some cheap karma. The init scripts used before were the real mess, if you ask me. It's getting really tiring to hear these systemd rants with no good reasons to back them up. I guess ranting against systemd is the cool thing to do, just like calling Apple users sheep once was, there's no need for facts, just hyperbole.
While systemd isn't all bad and in some ways for sure an improvement over init (not that that is hard), there are also very questionable architectural decisions that have been made in systemd.
Next up you have the attitude of the two lead developers, Lennart Poettering and Kay Sievers and the way they handle community interaction and bug reports. If it doesn't fit into their rather limited view of how you should use your system and you break it, it's most likely not a bug they're going to bother fixing.
https://github.com/systemd/systemd/issues/6237
Last but not least, systemd is forcefully being pushed down our throats. Not with well-reasoned technical arguments, but with mostly emotional arguments about what they think is best for everyone. And since more and more of independent functionality is being integrated into and replaced by systemd, it becomes constantly more tedious to maintain software without hooking also into systemd.
* https://github.com/ServiceManager/ServiceManager/ (https://news.ycombinator.com/item?id=10212770)