[debhelper-devel] Bug#749400: dh_installinit: disable init scripts on removal of package

Cameron Norman camerontnorman at gmail.com
Mon May 26 18:30:20 UTC 2014


Package: debhelper

Greetings,

It would be much cleaner to disable init scripts when the package is 
uninstalled, so that a bunch of shell scripts that just run "[ -x 
$DAEMON ] || exit 0" are not slowing down the boot.

Additionally, this causes problems for Upstart, as the "starting" event 
is emitted before the job can tell if its daemon is installed or not. 
It also poses a problem for socket activation with Upstart, as the 
upstart-socket-bridge will create the socket for the job even if the 
daemon is not installed.

I think it would just be overall cleaner to disable the init 
configuration on removal of the package with a "update-rc.d disable 
$daemon".

Thank you,
--
Cameron Norman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20140526/172dc1b9/attachment-0003.html>


More information about the debhelper-devel mailing list