4 ms·
Systemd is a complete solution to a variety of problems with system services under Linux, including user sessions, non-racy session termination, etc. Other ini
by bitwize 3y ago
Systemd is a complete solution to a variety of problems with system services under Linux, including user sessions, non-racy session termination, etc.
Other init systems, not so much.
There are no alternatives to systemd, kinda like there are no alternatives to Excel. Some packages solve many of the same problems, but none solve all of them as thoroughly.
- blablabla123 3y ago> non-racy session termination I've seen a lot of dangling sessions with systemd actually although I'm not sure what the root cause is.
- bandrami 3y agoI had to get an intern to basically live in the server room and look for screens saying "stop command for user 1001 waiting 30 seconds... 90 seconds..." etc. and power cycle the machine. It's ludicrous.
- tadfisher 3y agoIn other words, tell me you've never adminned systemd without telling me you've never adminned systemd. Hint: man systemd.service, look for TimeoutStopSec.
- anthk 3y ago>non-racy session termination The irony it's hard there. SystemD it's the only init system which gave me errors trying to shutdown a machine... >alternatives to Excel You are right. Both systemd and Excels are turds. Excel mangled genomics data making it unusable and forcing scientists to rename sequences in order to not clash with Excel's internal names. That's utterly crap and a severe step backwards from scientists from the 90's used to be around Unix/GNU-Linux envs where they were utterly free to name whatever thing in almost any way they wanted.
- jandrese 3y ago[flagged]
- rkeene2 3y agoYes, I have a software watchdog specifically because systemd sometimes fails to reboot correctly :-)
- bombela 3y agoSame systemd often hang at shutdown and I cannot be bothered to understand why. My biggest issue with systemd is the log system. It is so stupidly slow, that I don't think it is possible to make it that slow without purpose. It literally takes minutes to grep though logs on any of my machines with journalctl. In fact it is so slow. It is faster to first eat the few minutes to extract the logs into a text file. Which I can then grep through in milliseconds. Oh and the raw text file takes less space than the systemd log database!
- chaxor 3y agoWhat scientist would ever even consider excel in the first place?
- depereo 3y agoMost of them, in my experience.
- wener 3y agoSystemd is a complete solution to a variety of problems may not exists. :P
- timw4mail 3y agoSystemd is a hydra, gradually strangling more and more existing functionality with replacements of questionable utility.
- ape4 3y agoAnd it uses Linux native services like cgroups for isolation.
- bandrami 3y agoSo does any init system if you tell it to; systemd just forces you to use them
- esarbe 3y agoManually writing bash scripts to juggle cgroups is not "the init system supporting it". With systemd, this comes out of the box.
- bandrami 3y agoI mean, you (or somebody) need to write a short bash script for each service on sysv, and adding cgroup management to that isn't particularly hard. I just never understood how people find that more complex than a huge mess of unit files that transpile down to God-knows-what, but apparently people do. The user services systemd offers are legitimately cool (though shepherd does it better), I've just never personally understood how people find it "simpler" as a system service manager.
- esarbe 3y agoThanks for the clarification. But I still don't get it; have you ever _seen_ a complete init script? These things are hundreds of lines long if you want to account for stuff like PID management and restart capability and isolation. And you have to do that for every service on your system. And they are not even really portable.
- bandrami 3y agoIt only gets that long if you include the LSB dependency nonsense. Look at Slackware's scripts and tell me where those hundreds of lines are hiding.
- krzyk 3y agoSystemd is a solution to problems that exist in rare corner cases. We had a nail and all we needed was a hammer, instead we got a hydraulic press.