[Bug 383049] Re: coreutils programs report group info differently

Elan Ruusamäe glen at delfi.ee
Fri Nov 20 16:34:17 CET 2009


i don't see this behavior anymore, coreutils isn't the same version
either:

[glen at haarber ~]$ export LC_ALL=C
[glen at haarber ~]$ groups
glen adm wheel audio video cdrom usb fuse
[glen at haarber ~]$ id
uid=500(glen) gid=500(glen) groups=4(adm),10(wheel),23(audio),24(video),27(cdrom),78(usb),84(fuse),500(glen)
[glen at haarber ~]$ id glen
uid=500(glen) gid=500(glen) groups=500(glen),4(adm),10(wheel),23(audio),24(video),78(usb),84(fuse),27(cdrom)
[glen at haarber ~]$ grep 33 /etc/group /etc/passwd
/etc/passwd:dnscache:x:33:32:djbdns User:/etc/dnscache:/bin/false
[glen at haarber ~]$ q coreutils
coreutils-7.6-1.x86_64
[glen at haarber ~]$ rpm -q nscd
package nscd is not installed
[glen at haarber ~]$ grep glen /etc/group
adm::4:root,adm,daemon,glen
wheel::10:root,glen
audio::23:glen
video::24:glen
usb::78:glen
fuse::84:maki,glen
cdrom::27:glen
glen:x:500:
[glen at haarber ~]$ grep group /etc/nsswitch.conf
group:          files
netgroup:       files
[glen at haarber ~]$

-- 
coreutils programs report group info differently
https://bugs.launchpad.net/bugs/383049
You received this bug notification because you are subscribed to PLD
Linux.

Status in PLD Linux Distribution: New

Bug description:
like, what group 33?

$ groups
glen adm wheel audio video cdrom groups: cannot find name for group ID 33
33 usb fuse

$ id
uid=500(glen) gid=500(glen) groups=4(adm),10(wheel),23(audio),24(video),27(cdrom),33,78(usb),84(fuse),500(glen)

$ id glen
uid=500(glen) gid=500(glen) groups=500(glen),4(adm),10(wheel),23(audio),24(video),78(usb),84(fuse),27(cdrom)

$ grep 33 /etc/group /etc/passwd
/etc/passwd:dnscache:x:33:32:djbdns User:/etc/dnscache:/bin/false

$ q coreutils
coreutils-7.4-1.x86_64

and no nscd running:
$ rpm -q nscd
package nscd is not installed

uid_gid.db.txt states group 33 is for dnscache:
33      dnscache        dnscache        no shell, group djbdns


More information about the pld-bugs mailing list