[OpenAFS-devel] Re: OpenAFS and glibc-2.2

Derek Atkins warlord@MIT.EDU
26 Mar 2001 13:08:27 -0500


Is this problem only happening on Linux 2.4-based systems?  One
potential problem is that I don't believe OpenAFS supports the
(new-to-Linux-2.4) setgroups32() syscall.  I've been told that one
difference between glibc 2.1 and 2.2 is the change to use
setgroups32() if it exists.  So if AFS doesn't hook that, you will see
this behavior.

-derek

Ulrich Drepper <drepper@redhat.com> writes:

> Russ Allbery <rra@stanford.edu> writes:
> 
> > implicit in "initializes" would be a discarding of all existing
> > memberships.
> 
> This definitely is the case.  All group memberships are wiped out.
> Look at the kernel setgroups() implementation.  Unless the groups are
> somehow also added via a NSS service (all of the services are searched
> all the time) you will not see these groups.
> 
> > Sounds to me like a glibc 2.1 bug fixed in 2.2.
> 
> I agree.  Though I don't know what could have caused the 2.1
> implementation to behave as you described.
> 
> -- 
> ---------------.                          ,-.   1325 Chesapeake Terrace
> Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
> Red Hat          `--' drepper at redhat.com   `------------------------
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo.cgi/openafs-devel

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available