Bug#822669: debhelper: dh_installinit add autoscript for non-existent init script when service file exists

2016-04-27 Thread Raphael Hertzog
On Tue, 26 Apr 2016, Tianon Gravi wrote: > (the "[ -x "/etc/init.d/#SCRIPT#" ]" bit, > https://anonscm.debian.org/cgit/debhelper/debhelper.git/tree/autoscripts/postinst-init) > > Is this check not working properly? It is working... but as you noted since we know that there is not init script, we

Bug#822669: debhelper: dh_installinit add autoscript for non-existent init script when service file exists

2016-04-26 Thread Tianon Gravi
On 26 April 2016 at 02:13, Raphaël Hertzog wrote: > If a package contains a debian/foo.service file that gets installed by > dh_installinit (but no debian/foo.init) then the generated maintainer > scripts will still contain the update-rc.d invocations that are strictly > useless since /etc/init.d/

Bug#822669: debhelper: dh_installinit add autoscript for non-existent init script when service file exists

2016-04-26 Thread Raphaël Hertzog
Package: debhelper Version: 9.20160403 Severity: normal User: de...@kali.org Usertags: origin-kali If a package contains a debian/foo.service file that gets installed by dh_installinit (but no debian/foo.init) then the generated maintainer scripts will still contain the update-rc.d invocations tha