Bug#682709: nfs-kernel-server: NFS4 krb5 mounts hang under nfs-utils 1.2.6-3
Package: nfs-kernel-server
Version: 1:1.2.6-3
Severity: important
Dear Maintainer,
After updating to nfs-kernel-server 1.2.6-3 in testing today, our NFS4
mounts stopped working. "mount -t nfs4 -0 ro,sec=krb5 freyr:/export/test
/mnt" hangs indefinitely. The mount succeeds as expected using the
previous testing version, 1.2.5-4. After turning up the verbosity on
the various rpc services, I found that rpc.gssd seems to be handing
after doing its downcall from kerberos verification. Running the 1.2.6
server, all network traffic stops after the downcall and the mount on
the client hangs. Under 1.2.5, the server and client continue to
exchange data and the mount succeeds. Both of these cases are running
the 1.2.6-3 nfs-common package on the clients, but the behavior is the
same using the 1.2.5-4 nfs-common.
Please let me know if you have any thoughts or would like more
information.
Thanks,
John
== v1.2.6-3 syslog (failing) ==
Jul 24 13:54:10 freyr rpc.gssd[7972]: DEBUG: serialize_krb5_ctx: lucid
version!
Jul 24 13:54:10 freyr rpc.gssd[7972]: prepare_krb5_rfc4121_buffer:
protocol 1
Jul 24 13:54:10 freyr rpc.gssd[7972]: prepare_krb5_rfc4121_buffer:
serializing key with enctype 18 and size 32
Jul 24 13:54:10 freyr rpc.gssd[7972]: doing downcall
Jul 24 13:57:11 freyr kernel: [ 2699.744016] nfs: server freyr not
responding, still trying
== v1.2.5-4 syslog (working) ==
Jul 24 13:53:14 freyr rpc.gssd[7026]: DEBUG: serialize_krb5_ctx: lucid
version!
Jul 24 13:53:14 freyr rpc.gssd[7026]: prepare_krb5_rfc4121_buffer:
protocol 1
Jul 24 13:53:14 freyr rpc.gssd[7026]: prepare_krb5_rfc4121_buffer:
serializing key with enctype 18 and size 32
Jul 24 13:53:14 freyr rpc.gssd[7026]: doing downcall
Jul 24 13:53:14 freyr rpc.gssd[7026]: dir_notify_handler: sig 37 si
0x7fff9df236b0 data 0x7fff9df23580
Jul 24 13:53:14 freyr rpc.gssd[7026]: dir_notify_handler: sig 37 si
0x7fff9df1eff0 data 0x7fff9df1eec0
Jul 24 13:53:14 freyr rpc.gssd[7026]: dir_notify_handler: sig 37 si
0x7fff9df1eff0 data 0x7fff9df1eec0
Jul 24 13:53:14 freyr rpc.gssd[7026]: dir_notify_handler: sig 37 si
0x7fff9df1eff0 data 0x7fff9df1eec0
Jul 24 13:53:14 freyr rpc.gssd[7026]: dir_notify_handler: sig 37 si
0x7fff9df1eff0 data 0x7fff9df1eec0
Jul 24 13:53:14 freyr rpc.gssd[7026]: dir_notify_handler: sig 37 si
0x7fff9df1eff0 data 0x7fff9df1eec0
Jul 24 13:53:14 freyr rpc.gssd[7026]: dir_notify_handler: sig 37 si
0x7fff9df1eff0 data 0x7fff9df1eec0
==
-- Package-specific info:
-- rpcinfo --
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 4000 status
100024 1 tcp 4000 status
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100227 2 tcp 2049
100227 3 tcp 2049
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100227 2 udp 2049
100227 3 udp 2049
100021 1 udp 53191 nlockmgr
100021 3 udp 53191 nlockmgr
100021 4 udp 53191 nlockmgr
100021 1 tcp 50367 nlockmgr
100021 3 tcp 50367 nlockmgr
100021 4 tcp 50367 nlockmgr
100005 1 udp 4002 mountd
100005 1 tcp 4002 mountd
100005 2 udp 4002 mountd
100005 2 tcp 4002 mountd
100005 3 udp 4002 mountd
100005 3 tcp 4002 mountd
-- /etc/default/nfs-kernel-server --
RPCNFSDCOUNT=8
RPCNFSDPRIORITY=0
RPCMOUNTDOPTS="--manage-gids --port 4002"
NEED_SVCGSSD=yes
RPCSVCGSSDOPTS="-vvv"
-- /etc/exports --
/tmp gss/krb5(ro,async,no_subtree_check,mp,fsid=0)
/tmp/foo gss/krb5(ro,async,no_subtree_check,mp)
-- /proc/fs/nfs/exports --
# Version 1.1
# Path Client(Flags) # IPs
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (700, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages nfs-kernel-server depends on:
ii libblkid1 2.20.1-5.1
ii libc6 2.13-33
ii libtirpc1 0.2.2-5
ii libwrap0 7.6.q-23
ii lsb-base 4.1+Debian7
ii nfs-common 1:1.2.6-3
ii ucf 3.0025+nmu3
nfs-kernel-server recommends no packages.
nfs-kernel-server suggests no packages.
-- no debconf information
Reply to: