Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 79665
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Josh Keegan <jmk83@cornell.edu>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 79665 depends on: Show dependency tree
Bug 79665 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-01-26 19:26 0000
recompiling with no optimizations did not fix the problem.

BSD style accounting and V3 are turned on in the kernel (2.6.11-rc1-mm1).

Old redhat bug (1999!) suggests this may be a problem re: sys/acct.h vs linux/acct.h, but after messing with the source to switch from one to the other the code compiled but the same problem remained.

Reproducible: Always
Steps to Reproduce:
1. Turn on BSD style accounting and V3 of that in the kernel
2. # emerge acct
3. # /etc/init.d/acct start
4. # lastcomm
Actual Results:  
??                      root     ??         0.00 secs Wed Dec 31 19:00
D?                      root     ??         0.00 secs Wed Dec 31 19:00
(?                      17523789 ??         0.00 secs Wed Dec 31 19:00
 ?                      root     ??         0.00 secs Wed Dec 31 19:00
(?                 F    17523789 ??         0.00 secs Wed Dec 31 19:00
(?                 F    17523789 ??         0.00 secs Wed Dec 31 19:00
??                      root     ??         0.00 secs Wed Dec 31 19:00
?? 

is an example output

Expected Results:  
listed process names instead of random jumble of mostly question marks.

no other programs running

------- Comment #1 From Thierry Carrez (RETIRED) 2005-01-27 03:10:43 0000 -------
Looks like a bug, not a vulnerability. Reassigning...

------- Comment #2 From Wojtek Sczygiol 2005-02-01 08:51:52 0000 -------
It's not a bug. You just need a patched version of the acct utilities to read
the new v3 file format. Check out:
http://www.physik3.uni-rostock.de/tim/kernel/utils/acct/

This version should be included to portage (maybe masked).  
Works for me.

------- Comment #3 From Robin Johnson 2005-03-20 19:47:49 0000 -------
I've put an -r1 build into CVS, that uses the new upstream version for the v3
accounting file format.

------- Comment #4 From Jakub Drwal 2005-04-01 12:13:20 0000 -------
*** Bug 87585 has been marked as a duplicate of this bug. ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug