Bug#838997: lintian: checks/init.d: Check for initscripts that source /lib/lsb/init-functions without declaring the corresponding dependency on lsb-base (>= 3.0-6).
Andreas Henriksson wrote:
> I'm hope we agree that because your package ships an init script (|| \
> systemd unit || ...) you should not start depending on lsb-base
That is not what this lintian check does.
> Though I have to say this only makes me more certain we're heading down
> the wrong path here. Consider the case when someone has bind-mounted
> enough bits into their chroot that invoke-rc.d starts systemctl
> instead of directly invoking the init script. What about upstart (which
> is still supported in invoke-rc.d even though I hear upstart is no more)?
> And open-rc? And ... ?
I'm afraid I don't understand how this would affect sourcing init-functions
so am quite lost now.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby@debian.org / chris-lamb.co.uk
`-
Reply to: