[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: If Not Systemd, then What?



On Sun, Nov 16, 2014 at 06:08:48PM +0000, Martin Read wrote:
> On 16/11/14 17:33, Laurent Bigonville wrote:
> >Are you aware that this is the approach that systemd and upstart have
> >taken, right?
> >
> >1) Both systemd (PID1) and upstart are drop-in replacement for the good
> >old SysVinit as they both support the common "standard" that are LSB
> >scripts (A really good share of the existing LSB initscripts in the
> >debian archive are just working out of the box).
> 
> Well. They're (mostly) a drop-in replacement for sysvrc and its
> supporting tools. They're certainly not a *drop-in* replacement for
> *sysvinit*, because they don't support all of sysvinit's interfaces;
> specifically, they don't support /etc/inittab.
> 
> Luckily (for some values of lucky), /etc/inittab was such a terrible
> interface (it's unpleasantly reminiscent of Angband's monster, item,
> etc. databases) that it seems even most people who prefer sysvinit
> to systemd or upstart were using a factory-default /etc/inittab.

Writing a generator would be trivial.

http://www.freedesktop.org/wiki/Software/systemd/Generators/

No one seemed to care enough for writing one however, but reading 
the file and generating a unit file ( with the automated restart behavior )
is easy to do.

-- 
l.


Reply to: