News for hackers. Stuff that matters.
Re:Systemd 250 Released by ggm on Friday December 24, 2021 @01:46AM (#29671015)
It used to be process 1 was init, and it forked/exec'd everything else typically from /etc/rc (this elides over a lot) -its the first binary the kernel runs. Everything else stems from the birth of user process number 1.

Fork/exec is the lightweight process inheriting of open i/o and memory state with copy-on-write which made Unix a joy to work with. It's a delightful mapping of kernel and userspace into complex inherited tree of processes sharing that origin state (or not. You can close it all down, change things.)

systemd is a complex mega binary which parses control files and subsumes several functions. It's big. It's not small like init. It's not fork/exec simple it forks control processes and monitors children and does a lot of work some daemons did themselves (getty, inetd) but others didn't do. And you get to monitor things. It's not unlike launchctl on OSX or other platforms. And after all /etc/rc is now 5 or more/etc/rcX.d/ complex substates of states to look for scripts, SAT solver complex dependency stuff between semi arcane shellscripts... blah.

PRO: everything is now much more consistent

CON: greybeards like me hate it (beardless btw but meh) because it's complex

Re:Systemd 250 Released by davydm on Friday December 24, 2021 @01:56AM (#29671071)
consistency ftw: https://news.ycombinator.com/item?id=29670751

gimme open-rc or gimme death

actually, sysv was fine too

open-rc solves the parallel-startup desire for people who want a faster boot and doesn't hide logs in binary formats which can only be interrogated with specialised tools - my primary reason for leaving Debian-based systems that I'd used for 16 years was having systemd forced on me and trying to deal with how to read good old system logging, not to mention 5-minute shutdown times, slower boot on the same machine than with Ubuntu's upstart or with open-rc.

Re:Systemd 250 Released by tpoindex on Friday December 24, 2021 @01:14PM (#29676087)
You want MXLinux - Debian with just enough systemd to work in a modern environment but with SysV init. https://mxlinux.org

> not to mention 5-minute shutdown times

5 minutes? Try total hang on shutdown, and often not starting up. That was my systemd experience. I traced it down to a NFS mount that no amount of tinkering would mount reliably pn boot. Granted that was several years ago, but soured me on systemd.

Re:Systemd 250 Released by Datagenerator on Friday December 24, 2021 @02:18AM (#29671189)
Tried FreeBSD? Very consistent and has POLA, the principle of Least astonishment. The proper good stuff Dell Isilon and NetApp are relying on.
Re:Systemd 250 Released by kaba0 on Friday December 24, 2021 @11:12AM (#29674737)
Because using journalctl is so bad.. Hell, you can even forward to a text-based logger. And it’s not like it is some proprietary format either
Re:Systemd 250 Released by fsh on Friday December 24, 2021 @03:34AM (#29671599)
My Debian came with rsyslog enabled by default which writes the journald logs to disk as plain text.