[OpenAFS] unpagsh fails with recent glibc

Dr A V Le Blanc Dr A V Le Blanc <LeBlanc@mcc.ac.uk>
Tue, 8 Mar 2005 09:31:16 +0000


I wrote:
> Some while ago someone -- probably Jeffrey Hutzelman -- published
> here a program called 'unpagsh', which deletes AFS PAG groups
> from a process or its children, and which has been very useful for
> starting daemons without giving them a PAG.  Unfortunately the
> program, which worked well with glibc-2.2.5, is failing when it is
> run on a machine with glibc-2.3.2:
> 
>      # unpagsh
>      getgroups: Invalid argument
> 
> Has anyone patched this to work with later versions of glibc?

Further to this, I can confirm that it's actually the kernel which
is the problem, not the C library; unpagsh on the same machine works
with the 2.4.29 kernel, but not with the 2.6.11 kernel.

     -- Owen
     LeBlanc@mcc.ac.uk