Package: powersaved Version: 0.14.0-8 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. A stop symlink is inserted in the rcS.d/ directory. This is always wrong and 'S' should be removed from the Default-Stop header. Also, it need /usr/ to be mounted, so it should depend on $remote_fs, not $local_fs. Here is a patch to solve this issue. diff -ur powersave-0.14.0.orig/debian/powersaved.init powersave-0.14.0/debian/powersaved.init --- powersave-0.14.0.orig/debian/powersaved.init 2008-03-15 21:01:41.000000000 +0100 +++ powersave-0.14.0/debian/powersaved.init 2008-03-15 21:12:32.000000000 +0100 @@ -1,12 +1,12 @@ #! /bin/sh ### BEGIN INIT INFO # Provides: powersaved -# Required-Start: $local_fs dbus hal -# Required-Stop: $local_fs dbus hal +# Required-Start: $remote_fs dbus hal +# Required-Stop: $remote_fs dbus hal # Should-Start: $syslog acpid # Should-Stop: $syslog acpid # Default-Start: 2 3 4 5 -# Default-Stop: S 0 1 6 +# Default-Stop: 0 1 6 # Short-Description: power management daemon # Description: Support for ACPI, APM and CPU frequency scaling. # Detects HW support for mentioned systems and optimises Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]