Bug#907845: Warn if compat level 11 is used and dh_system_* helpers are used

Michael Biebl biebl at debian.org
Mon Sep 3 05:41:02 BST 2018


On 9/3/18 06:19, Michael Biebl wrote:
> Package: lintian
> Version: 2.5.99
> Severity: wishlist
> 
> Hi,
> 
> in compat level 11, dh_systemd_start and dh_systemd_enable have been
> deprecated in favour of dh_installsystemd.
> dh will also no longer run the dh_systemd_{start,enable} helpers during
> build.
> I've seen a couple of packages which have updated their compat level to
> 11 but still use a dh_systemd_{start,enable} override.
> It would be nice if lintian could detect (grep for usage of
> override_dh_systemd_{start,enable} in debian/rules) and warn accordingly.

I'd like to add here, that if dh_systemd_{start,enable} are called
directly (say you use plain debhelper, they will error out in compat
mode 11 and above,

The problem is that the dh sequencer no longer calls
dh_systemd_{start,enable}, so it's the usage of
override_dh_systemd_{start,enable} which should be checked for.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20180903/98b9f768/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list