Comment 0 for bug 682211

Revision history for this message
Ian! D. Allen (idallen) wrote :

Binary package hint: acct

Default install of acct package doesn't enable "lastcomm" to work:

<PRE>
# apt-get install acct
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  acct
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 111kB of archives.
After this operation, 360kB of additional disk space will be used.
Get:1 http://ca.archive.ubuntu.com/ubuntu/ maverick/main acct i386 6.5.4-2ubuntu1 [111kB]
0% [1 acct 0B/111kB 0%]
Fetched 111kB in 0s (115kB/s)
Selecting previously deselected package acct.
(Reading database ... 125574 files and directories currently installed.)
Unpacking acct (from .../acct_6.5.4-2ubuntu1_i386.deb) ...
Processing triggers for doc-base ...
Processing 1 added doc-base file(s)...
Registering documents with scrollkeeper...
Processing triggers for install-info ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up acct (6.5.4-2ubuntu1) ...
Turning on process accounting, file set to '/var/log/account/pacct'.
 * Done.

# lastcomm
couldn't open file '/var/account/pacct': No such file or directory

# ls -l /var/account
ls: cannot access /var/account: No such file or directory

# ln -s log/account /var/account

# lastcomm
bash F root pts/0 0.00 secs Fri Nov 19 00:54
ln root pts/0 0.00 secs Fri Nov 19 00:54
bash F root pts/0 0.00 secs Fri Nov 19 00:54
ls root pts/0 0.00 secs Fri Nov 19 00:54
bash F root pts/0 0.00 secs Fri Nov 19 00:54
lastcomm root pts/0 0.00 secs Fri Nov 19 00:54
bash F root pts/0 0.00 secs Fri Nov 19 00:54
lastcomm root pts/0 0.00 secs Fri Nov 19 00:54
[...etc...]

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: acct 6.5.4-2ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
Date: Sat Nov 27 14:07:58 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
 LC_CTYPE=en_CA.utf8
 LC_COLLATE=C
 PATH=(custom, user)
 LANG=C
 SHELL=/bin/bash
SourcePackage: acct