Your message dated Tue, 29 Jan 2008 03:17:03 +0000 with message-id <[EMAIL PROTECTED]> and subject line Bug#459615: fixed in coreutils 6.10-3 has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---Package: coreutils Version: 5.97-5.7 Severity: normal Tags: patch When you run id <username> it calls a built in function called getugroup which in turn uses getgrent. The getgrent function is not supported by nss hesiod which of course means id doesn't return the supplementary groups the user belongs to. Instead getgrouplist should be used, this is a known issue, but since the getgrouplist function didn't work well with glibc 2.3.2 the change was reverted. Submitted is a patch for getugroup to use getgrouplist if present. This might also solve the > 32 groups bug though I haven't tested it. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.23.11mos-2 (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages coreutils depends on: ii libacl1 2.2.45-1 Access control list shared library ii libc6 2.7-5 GNU C Library: Shared libraries ii libselinux1 2.0.15-2+b1 SELinux shared libraries coreutils recommends no packages. -- no debconf informationdiff -ru coreutils-5.97/configure.ac coreutils-5.97huji/configure.ac --- coreutils-5.97/configure.ac 2006-05-23 23:38:46.000000000 +0300 +++ coreutils-5.97huji/configure.ac 2008-01-07 16:50:59.000000000 +0200 @@ -114,6 +114,8 @@ done fi +AC_CHECK_FUNCS(getgrouplist) + AC_CACHE_CHECK([for 3-argument setpriority function], [utils_cv_func_setpriority], [AC_LINK_IFELSE( diff -ru coreutils-5.97/lib/getugroups.c coreutils-5.97huji/lib/getugroups.c --- coreutils-5.97/lib/getugroups.c 2005-09-22 09:05:39.000000000 +0300 +++ coreutils-5.97huji/lib/getugroups.c 2008-01-07 16:52:14.000000000 +0200 @@ -54,6 +54,10 @@ int getugroups (int maxcount, GETGROUPS_T *grouplist, char *username, gid_t gid) { +#ifdef HAVE_GETGROUPLIST + getgrouplist(username, gid, grouplist, &maxcount); + return maxcount; +#else struct group *grp; register char **cp; register int count = 0; @@ -104,4 +108,5 @@ endgrent (); return count; +#endif }
--- End Message ---
--- Begin Message ---Source: coreutils Source-Version: 6.10-3 We believe that the bug you reported is fixed in the latest version of coreutils, which is due to be installed in the Debian FTP archive: coreutils_6.10-3.diff.gz to pool/main/c/coreutils/coreutils_6.10-3.diff.gz coreutils_6.10-3.dsc to pool/main/c/coreutils/coreutils_6.10-3.dsc coreutils_6.10-3_i386.deb to pool/main/c/coreutils/coreutils_6.10-3_i386.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Michael Stone <[EMAIL PROTECTED]> (supplier of updated coreutils package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Mon, 28 Jan 2008 21:11:32 -0500 Source: coreutils Binary: coreutils Architecture: source i386 Version: 6.10-3 Distribution: unstable Urgency: low Maintainer: Michael Stone <[EMAIL PROTECTED]> Changed-By: Michael Stone <[EMAIL PROTECTED]> Description: coreutils - The GNU core utilities Closes: 175994 343652 380387 388684 459615 463043 Changes: coreutils (6.10-3) unstable; urgency=low . * [71] use getgrouplist to get list of groups, e.g., for id(1) (Closes: #459615) * [72] display warning if user is in too many groups (Closes: #175994) * [73] prevent segfault in ls -l /proc/sys/fs/inotify/ (Thanks Jan Moringen) (Closes: #463043) * Try upstream fix for info references in man pages (Closes: #388684) * Upstream change in documentation for mv in the case of a moving a symlink to a directory with a trailing '/' (Closes: #343652) * move kill to /bin on hurd (Closes: #380387) * Fix some minor typos/formatting in debian packaging * Add link to upstream FAQ in README.Debian Files: 8580ff452d2b8048ac3914c61e5582d7 858 utils required coreutils_6.10-3.dsc 226ffad2647c77c3481b0760e50b471c 4317 utils required coreutils_6.10-3.diff.gz 507c0833da8cb20834519f9a38083566 3749436 utils required coreutils_6.10-3_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQCVAwUBR56Xvg0hVr09l8FJAQLmvgP/W7iKNDP7llGeEJTePez+IX1idfzgFa4v dODSYeqWYab+sIEqI8YKUNezzejmyn+3ojVvz7mwRZ3mW82tr+XVONn3UI+T4IcH YaKT0UI+ubSChEBcSqxrmir1Wo/aZhp9+TtSy0NESdnP31895hXUVfDNRRGKjOca 9CxbDP5RNgA= =Z6id -----END PGP SIGNATURE-----
--- End Message ---

