[OpenAFS] aklog -setpag doesn't get a token
Thu, 22 Mar 2007 12:13:51 +0100
On Thu, Mar 22, 2007 at 08:42:42AM +0000, Simon Wilkinson wrote:
> On 22 Mar 2007, at 08:26, FB wrote:
> >Unfortunately, 'aklog -setpag' still doesn't get a token. It's from
> >openafs-1.4.2 (debian package openafs-krb5_1.4.2-5 by Sam Hartman) executed
> >on a vanilla kernel 2.6.19.
> aklog -setpag relies on being able to set the PAG of the parent process (otherwise, aklog would stick
> itself into a PAG which would then be lost when aklog exits). However, this relies on some kernel voodoo
> that doesn't work on all versions of Linux. See the aklog manpage.
Yes - but... 'aklog -setpag' actually creates a PAG. It just doesn't get a token.
This set of commands works and creates a PAG with a token in it:
$ aklog -setpag
Problem is: The token should be fetched by the first aklog.