by severino · 8y ago · 0 comments
We detached this subthread from https://news.ycombinator.com/item?id=18322395 and marked it off-topic.
2. (Close to 100% of) packagers and maintainers of system services
3. System administrators using distros from #1 (which is, again, practically everyone)
Similarly, having something worth switching to also depends on labor to develop such an alternative. Upstart is no longer funded, and was the closest (including in terms of mindshare that caused people to spend labor developing integration between their software and the init system).
The same should happen with the init system. Of course, it's different when the software pretends not just to be an init system but also a replacement for tons of other daemons like cron, inetd, networking, etc, making it a huge piece of software. But maybe that's the problem in the first place.
I also don't think avoiding using systemd solves the problem. My preferred alternative to an abandoned systemd is a well-developed systemd, not sysvinit.
Having looked at the code. Calling it good software is a dubious proposition at best.
As mentioned in another comment. There are other init replacements that are seeking to solve the same issues as systemd. I bet you can’t name them though since they were never properly evaluated.
But you are mistaken if you think systemd is about init, it has gobbled so much stuff that this thing is a monstrous kitchen sink on its way to engulfing the whole bathroom.
then again maybe there are other init systems options than those two, devuan which arose from keeping systemd out of debian offert no less than 6 alternatives that address SysV flaws: openrc, sinit, runit, s6 and shepherd.
B: So you want to drive a horse-and-buggy then?
That is to say, there are quite a number of modern inits that are not systemd. It's such a straw-man argument to bring up sysv init every time someone says something critical of systemd.
A traditional SysV init is just fine. Want orchestrated service invocation on startup? Run it from SysV init instead of replacing SysV init.
There is no need to conflate the "sysv rc system" with "sysv init." They are entirely separate things.
In any case, most people wouldn't consider that design "SysV init". The SysV init ecosystem is built around rc files.
The reason to keep these things modular is flexibility and ease of analysis and improvement. The major criticism I see with systemd is that has undefined operational scope and unbounded feature creep. It has no stable interface between components and changes behavior in incompatible and difficult to predict ways fairly regularly. From a systems perspective it's a big ball of mud and the lack of a formal interface makes it prohibitively difficult to change or replace its subsystems.
I don't like that systemd performs ANSI animations on my machine's serial console, for example. Have you seen the "marquee" animations it does when certain services start? I sure would like to force it to print sequential lines of text instead, but I can't.
I don't like that when systemd updated basic utilities like "reboot" I lost the ability to use them in a chroot. Even "reboot -f" which does not need to talk to init. I had to write my own one-liner to call reboot(2) myself not too long ago.
System components need to be well scoped and replaceable. There's a major design problem brewing in this area.
You have erroneously conflated rc and init, as others have pointed out.
I don't want to hold onto everything about SysV style systems - I love SMF in Solaris! - but I'd definitely prefer a leaner and more focused approach to development than we see with systemd.
From a distance it looks like politics and influence pushed for adoption of systemd, motivation behind this uncanny move and spread has been questioned making some wonder if this could be intended with a nefarious purpose in mind.
The general volatility of systemd introduces so many unstable elements in your system, that it really makes you think if the added risk it is really worth the value it offers (even though I'm still not quiet sure what the value of systemd actually is).
- Services can depend on mounts, sockets, paths, or other servives. Don't start the NFS server until your backend storage is online and mounted and stop it if it goes offline.
- Are you annoyed when Symantec is chewing through your CPU? Use systemctl --edit and cap it at 20% with one CPUQuota option.
- Have a NodeJS service you want to bind to port 80 but not run as root? AmbientCapabilities=CAP_NET_BIND_SERVICE and you're done.
- Want to automount a directory? Drop in an .automount file or add an option to fstab and you're done.
- Replace GRUB with systemd-boot and enjoy configuring boot options with simple INI files.
- Want to do offline updates? Have any service you want be part of system-update.target, touch /system-update and reboot.
- Annoyed that you can't have more than 3 dns servers or can't run DNSoTLS or DNSoHTTPS? systemd-resolved has your back.
- Forget about ntpd or chrony and use systemd-timesyncd is a lightweight standards complaint ntp client.
- Run all your userspace daemons like offlineimap, tmux, emacs, your dev server, etc. as systemd user services.
- Manage the permissions, resource usage, and monitor long running jobs with systemd-run.
- Replace cron with systemd timers that not only have more powerful timespecs, are hooked into the dependency solver, and can be monitored like any other service.
- Isolate troublesome 3rd party applications with systemd-portable which are a bit like privileged containers but easier to use.
- Run apps as unprivileged users without having to fill passwd with users and groups just for services with dynamic users.
These are just the ones off the top of my head. It boggles my mind how people say that systemd doesn't provide value.
Haven't laughed as hard in a while.
I know. It is perfectly OK. I will bever be a fan of systemd.