News for hackers. Stuff that matters.
Re:A Word about Systemd by adrian_b on Wednesday September 18, 2024 @06:33AM (#41577990)
I agree that handling all those conditions is the job of a proper service manager.

I disagree that systemd is a proper service manager. Systemd is horribly complicated in comparison with what is actually needed to implement a proper service manager, as demonstrated e.g. by D. J. Bernstein's daemontools and their many derivatives.

Perhaps systemd is better these days, but a few years ago when I have tried systemd on one of my servers I have stumbled upon a bug that could be explained not by some random programmer mistake but only by a bad global architecture of the program. That bug made me mistrust the competence of the systemd creators, so I have never tried to use it again. Moreover, systemd does not provide any feature that I could consider useful and that is not available in alternative service managers, so there were no reasons for further experiments with it.

(That systemd bug was a bug that I have never seen in a computer without systemd, from the mainframes of 50 years ago to the latest computers, regardless of the operating system. Due to a race condition in systemd, sometimes the shutdown or reboot of a computer could fail, with the computer remaining stuck in a deadlock, i.e. in an infinite loop, without properly saving all state and closing all resources.)

Re:A Word about Systemd by happymellon on Wednesday September 18, 2024 @06:43AM (#41578056)
Do you have the link to the bug you raised?
Re:A Word about Systemd by ksp-atlas on Wednesday September 18, 2024 @08:46AM (#41579059)
The bug you mentioned is very common, I've experienced it myself and others I know have too
Re:A Word about Systemd by eternityforest on Wednesday September 18, 2024 @03:22PM (#41584298)
Systemd is complicated because software that does it all always is.

You might not need the features, but someone does, and putting it all in one places means everyone can use the same tool, and nobody has to learn 10 different systems for slightly different tasks.

Re:A Word about Systemd by cykros on Sunday September 22, 2024 @08:15AM (#41616520)
Software doing it all is antithetical to the Unix philosophy of "Do one thing and do it well."

Hence the hate that systemd has, and always will have, as long as there exists a community of people who use Linux because it is a Unix-like operating system.

But, Linux is versatile enough that everyone can have their own little fiefdom. The real rage came in years ago when tools that were widely used by all suddenly became reliant upon systemd to function at all. Thankfully, in the time since, enough development has happened that mostly people are free to choose what they do and don't want to run again. The manner in which it was foisted upon the community, however, was one that hopefully will be remembered as being far more aggressive than should be repeated in the future.

But, I imagine that as long as Lennart Poettering walks the Earth, we likely will have yet another similarly awful episode.

Re:A Word about Systemd by eternityforest on Thursday September 26, 2024 @06:05PM (#41664005)
I think a big issue is just that it takes more effort to support multiple init systems. It's hard to be particularly excited about maintaining support for something you don't have a use for yourself, and nobody is paying for(Or at least not as many people in your core audience).

Seems like we're in a pretty good place now, with separate development efforts by and for the people who are actually interested in anything but systemd.