[debhelper-devel] Bug#876453: Remove support for upstart jobs from dh_installinit

Michael Biebl biebl at debian.org
Fri Sep 22 12:59:43 UTC 2017


Am 22.09.2017 um 14:18 schrieb Michael Biebl:
> Package: debhelper
> Version: 10.9
> Severity: normal
> 
> dh_installinit supports the installation of upstart job files.
> I think we should stop doing that, given that upstart is no longer a
> supported init system in Debian.
> 
> I'm a bit uncertain whether we should just rip out the code or keep it
> and make it conditional on the use of the debhelper compat level.
> 
> Since upstart jobs are conffiles, they need to be removed manually on
> upgrades. I guess the best we can do is to document that maintainers
> need to that that themselves (e.g. via a .maintscript file)?


I guess removing upstart support completely can only be done once
https://lintian.debian.org/tags/package-installs-deprecated-upstart-configuration.html
is close to zero.

I see that we already cleaned up dh_installinit wrt to .service and
.tmpfile units in compat level 11 and beyond so it seems like a good
opportunity to do the same for .upstart jobs as an intermediate step
until we can remove upstart support completely from debhelper.

Attached is a patch doing this first step (deprecating .upstart in newer
compat levels).

WDYT?

Michael


-- 
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: debhelper-upstart.diff
Type: text/x-patch
Size: 1166 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20170922/08f9aaef/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20170922/08f9aaef/attachment-0003.sig>


More information about the debhelper-devel mailing list