user     initscripts-ng-de...@lists.alioth.debian.org
usertags 593987 + incorrect-runlevels
thanks

This is caused by a change in how symlinks in runlevel 0 and 6 are
treated.  Before dependency based boot sequencing, start symlinks in
those runlevels were silently treated like stop symlinks.  With
dependency based boot sequencing, all start symlinks in those
runlevels were converted to stop symlinks to make their handling more
predictable.

This change to the LSB header should fix it:

--- /etc/init.d/unattended-upgrades.orig        2010-10-25 08:48:28.000000000 
+0200
+++ /etc/init.d/unattended-upgrades     2010-10-25 08:49:15.000000000 +0200
@@ -4,8 +4,8 @@
 # Required-Start:
 # Required-Stop:
 # Provides:          unattended-upgrade-shutdown-check
-# Default-Start:     0 6
-# Default-Stop:
+# Default-Start:
+# Default-Stop:      0 6
 # Short-Description: Check if unattended upgrades are being applied
 # Description:       Check if unattended upgrades are being applied
 #                    and wait for them to finish


To ensure this change take effect on upgraded systems, code in the
postinst could and should be added to change the start symlinks to
stop symlinks in runlevel 0 and 6.

See <URL: http://bugs.debian.org/548306 > for an example patch doing
this for another package, by removing and reinserting all rc?.d/
symlinks during upgrades.

Happy hacking,
-- 
Petter Reinholdtsen




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to