[Pkg-systemd-maintainers] default init on non-Linux platforms

Thomas Goirand zigo at debian.org
Wed Feb 19 15:09:14 GMT 2014


On 02/19/2014 10:44 PM, Michael Biebl wrote:
> I'd like to add that switching to openrc breaks the SysV/LSB support in
> systemd. Openrc doesn't use the /etc/rc?.d/ directories to create the
> symlinks which signal if a service is active for a given runlevel.
> (those symlinks are created in /etc/runlevel/* afaics)
> 
> This means systemd doesn't consider the SysV/LSB init script as enabled
> and won't start it on boot.

Oh, that's interesting!

First, yes, OpenRC uses /etc/runlevel, with the folders below that being
the *names* of the runlevel (which IMO is a way more user friendly than
just numbers). FYI, we have: shutdown=0, recovery=1, reboot=6, and
everything-else=default. So we do have these 4 directory names, and
OpenRC doesn't care about /etc/rc?.d.

Could you expand the above text and give a bit more explanations /
details? :)

So, systemd is still using /etc/rc?.d. Could you tell exactly what it
uses out of /etc/rc?.d, and what for? Does it only needs to see them as
S??script-name in runlevel 2 or 4 (or whatever it uses...)?

If systemd needs links in /etc/rcX.d, then I think it should be possible
to hack something.

Cheers,

Thomas





More information about the Pkg-systemd-maintainers mailing list