[OpenAFS] Issue with 1.4.11 pagsh.krb ioctl for curpag returning -1 E2BIG

Russ Allbery rra@stanford.edu
Mon, 03 Aug 2009 12:58:01 -0700


"mike coyne" <mike.coyne@paccar.com> writes:

> As far as i have been able to trace , 
>
> src/sys/pagsh.c first calls setpag() ... i think that the first ioctl
> call 
>
> then the second is from ...
> src/sys/pagsh.c which calls ktc_newpag(); 
>
> ktc_newpag seem to be now defined in  sys/auth/ktc.c
>
> ...
> int
> ktc_newpag(void)
> {
>     extern char **environ;
>
>     afs_uint32 pag;
>     struct stat sbuf;
>     char fname[256], *prefix = "/ticket/";
>     char fname5[256], *prefix5 = "FILE:/ticket/krb5cc_";

Oh, right, I forgot we added that.

>  i believe because ktc_curpag() seem to be returning a -1
> instead of the pag?

Just checking: have you upgraded your OpenAFS kernel module to 1.4.11 as
well?  The syscall that ktc_curpag prefers to use is new in 1.4.11.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>