procps: users longer than 8 chars are displayed as UID

Marc SCHAEFER schaefer at alphanet.ch
Sun Jun 29 14:25:52 UTC 2008


Package: procps
Version: 1:3.2.7-5ubuntu2
Severity: normal


UNIX login names should be shorter than 8 characters. I usually abide
by this rule, however, Ubuntu doesn't. It has two system users
(haldaemon and messagebus) which are longer than 8 characters. Funnily,
this causes no other problems than `ps' not showing the name for those
UIDs but the UID instead.  No problem seen with `ls' or with the
`gnome-system-monitor'. So it's probably not a bug in getpwuid(3) but
in procps.

108       5038  0.0  0.0   2816  1324 ?        Ss   15:49   0:01
/usr/bin/dbus-daemon --system
111       5298  0.0  0.2   6308  4376 ?        Ss   15:49   0:01
/usr/sbin/hald
111       5389  0.0  0.0   2204   960 ?        S    15:49   0:00
hald-addon-acpi: listening on acpid socket /var/run/acpid.socket

-- System Information:
Debian Release: lenny/sid
  APT prefers hardy-updates
  APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500, 'hardy')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-19-generic (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=fr_CH.ISO-8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages procps depends on:
ii  libc6              2.7-10ubuntu3         GNU C Library: Shared libraries
ii  libncurses5        5.6+20071124-1ubuntu2 Shared libraries for terminal hand
ii  lsb-base           3.2-4ubuntu1          Linux Standard Base 3.2 init scrip

Versions of packages procps recommends:
ii  psmisc                        22.6-1     Utilities that use the proc filesy

-- no debconf information




More information about the ubuntu-users mailing list