login process running into non-interuptible state with nfs4

Guillaume Rousse Guillaume.Rousse at inria.fr
Tue Mar 13 12:20:32 EDT 2007


Hello.

I'm having issues with a machine mounting users home directories R/O
with NFS4.

Everything seems to work OK, until for some unknown reason the client
machine goes into a state where all login attempts through ssh fails
after sucessful autentication, hanging infinitively for a shell.

Here is ps output showing pending login attempts:

root     11330  0.0  0.0      0     0 ?        D<   15:15   0:00
[193.55.250.6-re]
rousse   11823  0.0  0.1   5324  1708 ?        Ds   16:32   0:00 -bash
rezk     11831  0.0  0.1   2708  1124 ?        Ds   16:32   0:00 bash -c
svnserve -t
rousse   11842  0.0  0.1   5328  1712 pts/3    Ds+  16:34   0:00 -bash
rezk     11897  0.0  0.1   2708  1124 ?        Ds   16:34   0:00 bash -c
svnserve -t
rousse   11915  0.0  0.1   5328  1712 ?        Ds   16:35   0:00 -bash
rousse   11923  0.0  0.1   5324  1708 pts/5    Ds+  16:35   0:00 -bash

I'm using nsswitch based id mapping (based on LDAP), and no gss
autentication. Following advices from
http://wiki.linux-nfs.org/index.php/General_troubleshooting_recommendations
I've activated  maximal idmapd and nfsd verbosity. I'm joining log and
tcpdump excerpts from both clients and servers while attempting to log
into my own home directory. I don't see anything really suspect, apart
the references to dentry_delete(rousse/ldaprc, 10) which may suggest an
attempt to find a ldap-specific ldap configuration file, which does not
exists.

Both client and server runs Mandriva Linux 2007.0, with util-linux 1.0.9
 and util-linux 2.12r, and a 2.6.17 kernel. What is really curious, is
that according to mandriva SVN  util-linux has no nfs4 patches from
http://www.citi.umich.edu/projects/nfsv4/linux/nfs-utils-patches applied
at all, despite whereas I can export and mount nfs4 shares...,
andutil-linux has some, but I can't identify the patch upstream.

Mandriva CVS repository for util-linux package:
http://cvs.mandriva.com/cgi-bin/viewvc.cgi/SPECS/util-linux/
Mandriva SVN repository for
(http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/nfs-utils/releases/1%3A1.0.9/4mdv2007.1/SOURCES/)

Any hint welcome.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: client.dump
Type: application/octet-stream
Size: 11964 bytes
Desc: not available
Url : http://linux-nfs.org/pipermail/nfsv4/attachments/20070313/d768b98c/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: client.log
Type: text/x-log
Size: 3862 bytes
Desc: not available
Url : http://linux-nfs.org/pipermail/nfsv4/attachments/20070313/d768b98c/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: server.dump
Type: application/octet-stream
Size: 11964 bytes
Desc: not available
Url : http://linux-nfs.org/pipermail/nfsv4/attachments/20070313/d768b98c/attachment-0001.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: server.log
Type: text/x-log
Size: 2760 bytes
Desc: not available
Url : http://linux-nfs.org/pipermail/nfsv4/attachments/20070313/d768b98c/attachment-0001.bin 


More information about the NFSv4 mailing list