[OpenAFS] Token loss after su on linux 2.6

Jeffrey Hutzelman jhutz@cmu.edu
Wed, 16 Aug 2006 12:48:09 -0400

On Wednesday, August 16, 2006 12:35:39 PM -0400 Bob Hoffman 
<hoffman@cs.pitt.edu> wrote:

> I'm having the following problem on our Red Hat Enterprise 4 systems
> using the 2.6 kernel --
> after exiting from a 'su' session, my token is gone.  This did not occur
> under the 2.4 kernel.

I suspect that if you run dmesg immediately after loading the AFS kernel 
module, you'll find that it was unable to find and patch the system call 
table.  That means it's not intercepting calls to setgroups(), and you end 
up losing your PAG at inconvenient times.

-- Jeffrey T. Hutzelman (N3NHS) <jhutz+@cmu.edu>
   Sr. Research Systems Programmer
   School of Computer Science - Research Computing Facility
   Carnegie Mellon University - Pittsburgh, PA