rpc.gssd hangs

Markus Bölter markus.boelter at micronas.com
Tue May 8 03:51:17 EDT 2007


Hi!

I have some trouble with nfsv4/kerberos on my RedHat Enterprise4 box  
which are caused by rpc.gssd.

[root at keira ~]# rpc.gssd -vvvv -f
Using keytab file '/etc/krb5.keytab'
Processing keytab entry for principal 'keira-nfs at MICRONAS.COM'
We will NOT use this entry (keira-nfs at MICRONAS.COM)
Processing keytab entry for principal 'nfs/ 
keira.micronas.com at MICRONAS.COM'
We will use this entry (nfs/keira.micronas.com at MICRONAS.COM)
Using (machine) credentials cache: 'FILE:/tmp/ 
krb5cc_machine_MICRONAS.COM'
processing client list
processing client list
[...]


Now rpc.gssd just hangs. Using strace, I figured out the following:
[...]

write(2, "processing client list\n", 23processing client list
) = 23
chdir("/var/lib/nfs/rpc_pipefs/nfs")    = 0
open("/var/lib/nfs/rpc_pipefs/nfs", O_RDONLY|O_NONBLOCK|O_LARGEFILE| 
O_DIRECTORY) = 4
fstat64(4, {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
getdents64(4, /* 3 entries */, 4096)    = 80
getdents64(4, /* 0 entries */, 4096)    = 0
close(4)                                = 0
open("clnt6", O_RDONLY)                 = 4
fcntl64(4, F_SETSIG, 0x25)              = 0
fcntl64(4, 0x402 /* F_??? */, 0x8000000c) = 0
open("clnt6/krb5", O_RDWR)              = -1 ENOENT (No such file or  
directory)
open("clnt6/spkm3", O_RDWR)             = -1 ENOENT (No such file or  
directory)
poll([{fd=0, events=0}, {fd=0, events=0}, {fd=0, events=0}, {fd=0,  
events=0}, {fd=0, events=0}, {fd=0, events=0}, {fd=0, events=0},  
{fd=0, events=0}, {fd=0, events=0}, {fd=0, events=0}, {fd=0,  
events=0}, {fd=0, events=0}, {fd=0, events=0}, {fd=0, events=0},  
{fd=0, events=0}, {fd=0, events=0}, {fd=0, events=0}, {fd=0,  
events=0}, {fd=0, events=0}, {fd=0, events=0}, {fd=0, events=0},  
{fd=0, events=0}, {fd=0, events=0}, {fd=0, events=0}, {fd=0,  
events=0}, {fd=0, events=0}, {fd=0, events=0}, {fd=0, events=0},  
{fd=0, events=0}, {fd=0, events=0}, {fd=0, events=0}, {fd=0,  
events=0}], 32, 500) = 0

The last line (poll) now seems to do an endless loop. It's polling  
over and over again. At the moment I don't have an idea how to  
proceed with this kind of problem.

It is an Red Hat Enterprise Linux WS release 4 (Nahant Update 3) with  
nfs-utils-1.0.6-65.EL4 on kernel
Linux keira 2.6.9-34.0.1.ELsmp #1 SMP Wed May 17 17:05:24 EDT 2006  
i686 i686 i386 GNU/Linux.

Thanks in advance!
   Markus



Micronas GmbH
Company Headquarters / Sitz der Gesellschaft: Freiburg i. Br. - Municipal Court of / Amtsgericht: Freiburg i. Br. HRB 428. VAT ID / USt-IdNr.: DE 811127087
Management / Geschaftsfuhrung: Dr. Wolfgang Kalsbach, Chairman / Vorsitzender, Hans-Jurgen Desor, Klaus Heberle,
Nikolaus V. Kaeppeler, Wilfried Lowinski, Dirk Wieberneit, Wolfgang Kuhn - Chairman of Supervisory Board / Vorsitzender des Aufsichtsrats: Heinrich W. Kreutzer




More information about the NFSv4 mailing list