Package: acpi-support Version: 0.133-2 Tags: patch User: [email protected] Usertags: incorrect-dependency
I just did a test installation of Debian/Squeeze, and noticed the acpi-support init.d script is started before rsyslog. I tested to move it after the rsyslog service is operational, and running 'init.d/acpi-support start' during boot causes the kernel to generate some syslog messages. Because of this, I believe it is a good idea to make sure the acpi-support init.d script is started after the syslog collector is active. This patch will implement this. The patch also make sure it stops before the syslog collector is taken down. No idea if any syslog messages are generated at that point, but added it for symmetry. --- acpi-support-0.133/debian/acpi-support.init 2010-04-21 14:26:08.000000000 +0200 +++ acpi-support-0.133-pere/debian/acpi-support.init 2010-04-21 14:26:46.000000000 +0200 @@ -4,8 +4,8 @@ ### BEGIN INIT INFO # Provides: acpi-support -# Required-Start: $local_fs $remote_fs -# Required-Stop: $local_fs $remote_fs +# Required-Start: $local_fs $remote_fs $syslog +# Required-Stop: $local_fs $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 1 # Short-Description: Start some power management scripts In any case, it should not harm to start a bit later during boot and stop a bit earlier during shutdown, so the patch should be safe to implement. Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

