Package:  acct
Version:  6.4~pre1-4
Severity: important
Tags:     patch
User:     [EMAIL PROTECTED]
Usertags: incorrect-dependency

When testing dependency based boot sequencing, I discovered a bug in
the init.d script for acct.  It need a mounted /usr/, and thus should
be depend on $remote_fs.  Without this change, it is started too early
and stopped to late in some configurations.  It can also drop the
empty and optional should-* headers.

Fixing these issues is a release goal for lenny, so it is good if it
is fixed quickly.

This patch solve the issue:

diff -ur acct-6.4~pre1.orig/debian/init.d acct-6.4~pre1/debian/init.d
--- acct-6.4~pre1.orig/debian/init.d    2008-02-17 17:46:35.000000000 +0100
+++ acct-6.4~pre1/debian/init.d 2008-02-17 17:50:18.000000000 +0100
@@ -2,10 +2,8 @@

 ### BEGIN INIT INFO
 # Provides:          acct
-# Required-Start:    $syslog
-# Required-Stop:     $syslog
-# Should-Start:
-# Should-Stop:
+# Required-Start:    $remote_fs $syslog
+# Required-Stop:     $remote_fs $syslog
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: process and login accounting

Happy hacking,
--
Petter Reinholdtsen



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

Reply via email to