Package:  sudo
Version:  1.6.8p12-4
Severity: important
Tags:     patch
User:     [EMAIL PROTECTED]
Usertags: incorrect-dependency

I just checked the boot order in unstable on a machine with dependency
based boot sequencing enabled, and discovered a problem with the
init.d scripts provided in this package.  The provided header do not
match the call to update-rc.d.  It should only list S in
default-start, to avoid getting start and stop links in runlevels that
should not have it.  Without this fix, the script will get wrong start
and stop settings when used with dependency based boot sequencing.

I got it wrong the list time (#361055), and have learned more the last
two years. :)

Here is a patch to solve this issue.

diff -ur sudo-1.6.9p15.orig/debian/init.d sudo-1.6.9p15/debian/init.d
--- sudo-1.6.9p15.orig/debian/init.d    2008-04-13 10:20:46.000000000 +0200
+++ sudo-1.6.9p15/debian/init.d 2008-04-13 10:23:19.000000000 +0200
@@ -4,8 +4,8 @@
 # Provides:          sudo
 # Required-Start:    $local_fs $remote_fs
 # Required-Stop:
-# Default-Start:     S 2 3 4 5
-# Default-Stop:      0 1 6
+# Default-Start:     S
+# Default-Stop:
 ### END INIT INFO

 N=/etc/init.d/sudo

Happy hacking,
--
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to