Positions forming in the Debian init system discussion
Positions forming in the Debian init system discussion
Posted Jan 16, 2014 18:24 UTC (Thu) by anselm (subscriber, #2796)In reply to: Positions forming in the Debian init system discussion by oldtomas
Parent article: Positions forming in the Debian init system discussion
Of course, one could use inittab for daemons under Linux too, but the point is that it was customary in the mid-90's to shepherd system daemons this way, thus potentially controlling their run status and their stdin/stdout/stderr and reacting to their termination via signals.
The most obvious problems with this are that starting daemons via /etc/inittab doesn't give you service ordering even in the clumsy way SysV init does (so no making sure Apache only starts when syslogd and MySQL are already running), and that there is no provision on the part of init for actually dealing usefully with a daemon's stdin/stdout/stderr, which Unix-style daemons customarily close when they start, anyway (and that convention is older than the mid-90s). There's a reason why SysV init works like it does.
This of course completely disregards the fact that systemd does many other useful things even when it is simply starting service processes based on a »runlevel-like« target (leaving aside obvious nifty things like socket activation). All of this would have to be retrofitted into the SysV init infrastructure and would only make that more convoluted and non-standard.
Posted Jan 17, 2014 10:34 UTC (Fri)
by oldtomas (guest, #72579)
[Link]
Yep. That's why I talked about the mid-90ies (no, I wasn't trying to show off what an old fart I am ;-) and hand-waved about evolution path. I do know that when I first saw this SysV bunch-of-scripts I thought "oh, my! what happened to respawn?" (there were other thoughts about those brutal shell epics in HP/UX, but I disgress).
Anyway, this has taken us astray from the original intention of my post, and that was that beyond "technical excellence", which is, of itself not a well-defined thing anyway, there are other factors *for me* on which to judge whether I want to use/take part in some software. And systemd and its "environment" fail on those other accounts so much (I repeat: *for me*, probably not for you) that I refuse to even have a deeper look at it.
Positions forming in the Debian init system discussion
