[OpenAFS] PAG creation failed: No such file or directory
Youssef Eldakar
youssef.eldakar@bibalex.org
Sun, 17 Jul 2011 09:48:14 +0200
On 07/15/2011 10:09 PM, Russ Allbery wrote:
> Youssef Eldakar<youssef.eldakar@bibalex.org> writes:
>
>> In a network where an OpenAFS cell is set up to serve 1000+ clients, a
>> host would occasionally fail to change to a user's home directory upon
>> login with the following line in auth.log:
>> Jul 15 15:05:56 ia711225 sshd[10679]: (pam_afs_session): PAG creation failed: No such file or directory
> That's a very strange error message to receive. The only way that I can
> see that failing with that error message if you're using the built-in kafs
> library is if ioctl returned ENOENT or if it failed without setting errno
> at all.
>
> How is pam_afs_session built for this system? Is it using libkopenafs or
> libkafs, or is it using its built-in kafs implementation?
>
Those are the libraries /lib/security/libpam_afs_session.so links to:
linux-vdso.so.1 => (0x00007fffc01ff000)
libpam.so.0 => /lib/libpam.so.0 (0x00007f04f81de000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00007f04f7f1c000)
libc.so.6 => /lib/libc.so.6 (0x00007f04f7b98000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f04f7994000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00007f04f775b000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00007f04f7534000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x00007f04f7330000)
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00007f04f7128000)
libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x00007f04f6f24000)
libresolv.so.2 => /lib/libresolv.so.2 (0x00007f04f6d0b000)
/lib64/ld-linux-x86-64.so.2 (0x00007f04f8601000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f04f6aee000)
I see no libkopenafs and no libkafs, which I suppose means it's using
its built-in kafs implementation. This pam_afs_session is just the one
shipped with Ubuntu 10.10: libpam-afs-session 1.7-2.
--
Youssef Eldakar
Bibliotheca Alexandrina