[OpenAFS] Issue with 1.4.11 pagsh.krb ioctl for curpag returning -1 E2BIG
mike coyne
mike.coyne@paccar.com
Mon, 03 Aug 2009 12:19:42 -0500
I Just built the new release of openafs 1.4.11 on Rhel5 (patched
current) on a X86_64 Dell 69 usging the dkms kernel module build.
For some reason pagsh.krb is not returning the correct username in
KRB5CCNAME. I ran strace on pagsh.krb and it would appear that the
second ioctl call returns -1 E2BIG , i believe when it is trying to get
the curpag's ID? See interesting bits below...
Are there any special options that need to be called out in the build,
outside of the std ones in the src.rpm.I am building using largefiles
and supergroups?
Thank you for your time in advance
Mike
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x2af6e3f3d000
read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1957
close(3) = 0
munmap(0x2af6e3f3d000, 4096) = 0
open("/afs/pbcell/home/mcoyne/.AFSSERVER", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/.AFSSERVER", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/proc/fs/openafs/afs_ioctl", O_RDWR) = 3
ioctl(3, CAPI_REGISTER or SNDCTL_COPR_LOAD, 0x7fffaf9306d0) = 0
close(3) = 0
stat("/ticket", 0x7fffaf9706e0) = -1 ENOENT (No such file or
directory)
open("/proc/fs/openafs/afs_ioctl", O_RDWR) = 3
ioctl(3, CAPI_REGISTER or SNDCTL_COPR_LOAD, 0x7fffaf8f0250) = -1 E2BIG
(Argument list too long)
close(3) = 0
getgroups(65536, [200, 1098319022]) = 2
getuid() = 227
getuid() = 227
setuid(227) = 0
setgid(200) = 0
execve("/bin/sh", ["/bin/sh"], [/* 101 vars */]) = 0
brk(0) = 0x8eaa000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x2b5a60553000
uname({sys="Linux", node="dantevm1.pbdenton.paccar.com", ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x2b5a6