Control: tags -1 + pendingOn Mon, 26 May 2014 18:23:20 -0007 Cameron Norman <camerontnor...@gmail.com> wrote:
Package: debhelperGreetings,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".
I think this is fixed by https://salsa.debian.org/debian/debhelper/-/merge_requests/90I deliberately did not use "update-rc.d disable" to mark a SysV init script as disabled once uninstalled, since I consider "update-rc.d disable" an interface that is used by the local admin, so a distinct state seemed preferable.
In any case, I'll mark this issue as pending.If you disagree or this solution in MR90 is not sufficient, please let us know.
Michael
OpenPGP_signature
Description: OpenPGP digital signature