Public bug reported:

Binary package hint: acct

Neither the acct(2) system call nor the accton(8) program provided by
acct-6.3.99+6.4pre1 create the accounting file, causing no accounting
information to be written.

The simplest fix is to add a touch command to /etc/init.d/acct:

--- acct-6.3.99+6.4pre1/debian/init.d       2007-01-26 11:09:25.000000000 +0100
+++ /etc/init.d/acct    2007-01-26 11:05:53.000000000 +0100
@@ -26,6 +26,7 @@
                set +e
 
                echo -n "Starting $DESC: "
+               touch "$ACCT_LOGFILE"
                /usr/sbin/accton "$ACCT_LOGFILE" 2>/dev/null
 
                rv=$?

** Affects: acct (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
process accounting needs to create /var/log/account/pacct
https://launchpad.net/bugs/81611

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to