[OpenAFS] PAG creation failed: No such file or directory

Russ Allbery rra@stanford.edu
Fri, 15 Jul 2011 13:09:39 -0700


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?

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