[systemd-devel] [PATCH] sysv-generator: Skip init scripts for existing native services

Uoti Urpala uoti.urpala at pp1.inet.fi
Wed Feb 4 13:10:16 PST 2015


On Wed, 2015-02-04 at 22:02 +0100, Lennart Poettering wrote:
> On Wed, 04.02.15 21:26, Uoti Urpala (uoti.urpala at pp1.inet.fi) wrote:
> > Isn't this change also relevant to the creation of .wants symlinks, and
> > avoiding generating .wants links from the wrong targets?
> > 
> > As in, the case where you override a rcS.d sysvinit service with a
> > multi-user.target systemd unit (or other less common runlevel
> > combinations for distros that don't have any rcS.d level sysv any more).
> > You want to avoid generating a .wants symlink from an early boot target,
> > even if a generated unit file itself would be shadowed by the native
> > unit.
> 
> systemd does not support sysv scripts for early-boot targets
> anymore. This has been removed long ago.

Yes, but Debian patches rcS.d support back in because they still haven't
managed to create native units for every package. And as the comment in
parenthesis says, the same issue still exists in principle on other
distros with other runlevels (though is less common and important than
on Debian).




More information about the systemd-devel mailing list