nbd-client and systemd

Wouter Verhelst w at uter.be
Thu Jul 16 08:35:31 BST 2015


On Wed, Jul 15, 2015 at 12:46:31PM +0200, Ansgar Burchardt wrote:
> On 07/15/2015 09:34 AM, Wouter Verhelst wrote:
> > However, recently I found out about the
> > systemd-no-service-for-init-rcS-script lintian error, which triggers for
> > nbd-client. I'm afraid that if I create such a unit generator, this
> > would still trigger.
> > 
> > Is that correct? If so, is there another way in which I can ship an
> > nbd-client initscript for the benefit of !systemd installations, while
> > still not using it for systemd installations? Dropping that init script
> > is not something I wish to do.
> 
> When a package ships an init script that is not needed if systemd is
> used as init, it can include a symlink
> 
>   /lib/systemd/system/${name}.service -> /dev/null
> 
> to mask the service. systemd should then just ignore the init script and
> not handle it via its sysvinit generator (or the generated file should
> be ignored).

Okay.

> I'm not sure if including such a symlink silences the lintian warning,
> but if it does not I would consider that a bug in the lintian check.

Fair enough.

-- 
It is easy to love a country that is famous for chocolate and beer

  -- Barack Obama, speaking in Brussels, Belgium, 2014-03-26




More information about the Pkg-systemd-maintainers mailing list