The acct service and cron entries hardcode /var/log/account/pacct, but the default location for lastcomm and sa remains /var/account/psacct

Bug #732256 reported by Pierre Carrier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
acct (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: acct

$ grep pacct /etc/init.d/acct /etc/cron.*/acct
/etc/init.d/acct: start_daemon /usr/sbin/accton /var/log/account/pacct 2>/dev/null
/etc/cron.daily/acct:savelog -g adm -m 0640 -u root -c "${ACCT_LOGGING}" /var/log/account/pacct > /dev/null

vs

$ /usr/bin/lastcomm; /usr/sbin/sa
couldn't open file '/var/account/pacct': No such file or directory
couldn't open file '/var/account/pacct': No such file or directory

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Hi,

As described in bug 682211, please install the acct package provided in maverick-proposed and verify that it solves the issue. Once the problem is confirmed to be fixed by the package in -proposed we can promote it to -updates . I'm marking this bug as a duplicate of 682211.

Thanks in advance.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.