Package:  console-tools
Version:  1:0.2.3dbs-64
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.
Also, as it starts from rcS.d/, and the syslog daemon starts from
rc2.d/, it does not make sense to have it depend on $syslog (it can't
be fulfilled).  Dropping it.

Here is a patch to solve this issue.

diff -ur console-tools-0.2.3dbs.orig/debian/console-screen.sh 
console-tools-0.2.3dbs/debian/console-screen.sh
--- console-tools-0.2.3dbs.orig/debian/console-screen.sh        2006-09-05 
18:15:12.000000000 +0200
+++ console-tools-0.2.3dbs/debian/console-screen.sh     2008-04-13 
10:42:45.000000000 +0200
@@ -2,11 +2,9 @@
 ### BEGIN INIT INFO
 # Provides:          console-screen
 # Required-Start:    $local_fs $remote_fs
-# Required-Stop:     $local_fs $remote_fs
-# Default-Start:     S 2 3 4 5
-# Default-Stop:      0 1 6
-# Should-Start:      $syslog
-# Should-Stop:
+# Required-Stop:
+# Default-Start:     S
+# Default-Stop:
 # Description: Set console screen modes and fonts
 # Short-Description:   Prepare console
 ### END INIT INFO

Happy hacking,
--
Petter Reinholdtsen



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

Reply via email to