[OpenAFS] Hijacking a PAG

Andreas Haupt ahaupt@ifh.de
Tue, 20 Mar 2007 08:09:55 +0100 (CET)


I'm working on the SGE / AFS integration under SL5. With the latest 
OpenAFS (1.4.3) the way PAGs are handled has changed (kernel keyring). 
Unfortunately this keyring won't get inherited from SGE's shepherd in an 
interactive qrsh session.

I can have full access to the PAG environment SGE has created. How can I 
"transfer" the PAG now to a second "virgin" environment. As an example I 
have two sessions and I want the second session to be in the same PAG as 
the first session:

[geminide8] /root # keyctl show
Session Keyring
        -3 --alswrv      0     0  keyring: _ses.27041
960959174 ----s--v      0     0   \_ afs_pag: _pag

session two:

[geminide8] /root # keyctl show
Session Keyring
        -3 --alswrv      0     0  keyring: _ses.14295

Do any howtos exist?

Thanks in advance

| Andreas Haupt                | E-Mail: andreas.haupt@desy.de
|  DESY Zeuthen                | WWW:    http://www-zeuthen.desy.de/~ahaupt
|  Platanenallee 6             | Phone:  +49/33762/7-7359
|  D-15738 Zeuthen             | Fax:    +49/33762/7-7216