Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200734 - sys-process/procps-3.2.7 - ps doesn't convert all IDs to username
Summary: sys-process/procps-3.2.7 - ps doesn't convert all IDs to username
Status: RESOLVED DUPLICATE of bug 86821
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-29 10:24 UTC by mobidyc
Modified: 2007-11-29 11:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mobidyc 2007-11-29 10:24:58 UTC
Hi,

in ps some accounts are username, others are IDs.

example for two accounts:
#> cut -d: -f1,3 /etc/passwd |egrep "mobidyc|hald"
haldaemon:104
mobidyc:1000

#> ps -eo user,args |egrep "hal|104|mobidyc|1000" |grep -v root
104      /usr/sbin/hald --use-syslog --verbose=no
104      hald-addon-keyboard: listening on /dev/input/event0
104      hald-addon-keyboard: listening on /dev/input/event1
104      hald-addon-keyboard: listening on /dev/input/event2
104      hald-addon-keyboard: listening on /dev/input/event4
104      hald-addon-keyboard: listening on /dev/input/event5
104      /usr/libexec/hald-addon-acpi
mobidyc  /usr/bin/gkrellm2

(note this is the same result with "ps -ef" and "ps aux".)
the more strange is with the same command but the args field:
#> ps -eo user |egrep "hal|104|mobidyc|1000" |grep -v root     
haldaemon
haldaemon
haldaemon
haldaemon
haldaemon
haldaemon
haldaemon
mobidyc

i've ran pwck without error.

sys-process/procps-3.2.7
Linux argon 2.6.22-gentoo-r6 #1 Fri Nov 9 21:45:18 CET 2007 i686 AMD Athlon(tm) XP 2800+ AuthenticAMD GNU/Linux

this problem is always reproducible.

--
Regards,
Mobidyc
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-11-29 11:07:56 UTC

*** This bug has been marked as a duplicate of bug 86821 ***