Activity log for bug #682211

Date Who What changed Old value New value Message
2010-11-27 20:13:31 Ian! D. Allen bug added bug
2011-02-04 20:45:34 Wren Turkal bug task added acct
2011-02-04 20:52:28 Wren Turkal tags amd64 apport-bug maverick amd64 apport-bug maverick patch
2011-02-05 04:29:22 Mathieu Trudel-Lapierre tags amd64 apport-bug maverick patch amd64 apport-bug maverick
2011-02-05 04:29:51 Mathieu Trudel-Lapierre acct: status New Invalid
2011-02-05 04:29:54 Mathieu Trudel-Lapierre acct (Ubuntu): status New Fix Released
2011-02-25 03:51:35 Mathieu Trudel-Lapierre nominated for series Ubuntu Maverick
2011-03-03 14:10:55 Launchpad Janitor branch linked lp:~mathieu-tl/ubuntu/maverick/acct/lp682211
2011-03-03 14:15:52 Mathieu Trudel-Lapierre description 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 Binary package hint: acct SRU JUSTIFICATION: Without changes, acct reporting utilities are unusable with their default use without parameters; since they expect a data file in an incorrect path. The patch is minimal and with low impact (just path changes for default filenames). TEST CASES: 1) install acct 2) run a few commands, such as 'ls', 'cat', etc. (even doing nothing after installing may be sufficient depending on the shell) 3) run 'sa' or 'lastcomm' With this patch, 'sa' and 'lastcomm' should output reports of the last commands used. Without the patch, they should complain about a missing pacct file under '/var/account/pacct'. --- 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
2011-03-03 14:16:17 Mathieu Trudel-Lapierre bug added subscriber Ubuntu Stable Release Updates Team
2011-03-08 08:25:14 Martin Pitt bug task added acct (Ubuntu Maverick)
2011-03-08 08:25:28 Martin Pitt acct (Ubuntu Maverick): status New Fix Committed
2011-03-08 08:25:33 Martin Pitt bug added subscriber SRU Verification
2011-03-08 08:25:37 Martin Pitt tags amd64 apport-bug maverick amd64 apport-bug maverick verification-needed
2011-03-10 16:06:32 Launchpad Janitor branch linked lp:ubuntu/maverick-proposed/acct
2011-03-31 19:53:11 Pedro Villavicencio tags amd64 apport-bug maverick verification-needed amd64 apport-bug maverick verification-done
2011-04-04 14:14:26 Launchpad Janitor acct (Ubuntu Maverick): status Fix Committed Fix Released
2011-09-19 21:39:59 Ubuntu Foundations Team Bug Bot tags amd64 apport-bug maverick verification-done amd64 apport-bug maverick testcase verification-done