After upgrading NFS4 server to Ubuntu Quantal, krb5 mounts hang under nfs-utils 1.2.6-3ubuntu2

Bug #1077386 reported by AleksanderAdamowski
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nfs-utils (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

This is probably a manifestation of upstream Debian bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=682709

After upgrading my server from Precise Pangolin to Quantal Quetzal, the NFS4 service's mounts from clients started to hang.

Looking at verbose logs of all involved RPC daemons, the problem seems to either be with rpc.svcgssd or rpc.mountd, which are contained in nfs-kernel-server package. The last lines reported in the verbose daemon logs are:

Nov 10 12:25:26 hostname rpc.svcgssd[1547]: entering poll
Nov 10 12:25:26 hostname rpc.mountd[1550]: auth_unix_ip: inbuf 'nfsd 192.168.1.123'

WORKING WORKAROUND:

Downgrade nfs to the version from Precise Pangolin and prevent it from being automatically upgraded to the Quantal version:

$ wget http://de.archive.ubuntu.com/ubuntu/pool/main/n/nfs-utils/nfs-common_1.2.5-3ubuntu3.1_amd64.deb

$ wget http://de.archive.ubuntu.com/ubuntu/pool/main/n/nfs-utils/nfs-kernel-server_1.2.5-3ubuntu3.1_amd64.deb

$ sudo dpkg -i nfs-common_1.2.5-3ubuntu3.1_amd64.deb nfs-kernel-server_1.2.5-3ubuntu3.1_amd64.deb

$ (echo "nfs-common hold"; echo "nfs-kernel-server hold") | sudo dpkg --set-selections

description: updated
Revision history for this message
AleksanderAdamowski (aadamowski) wrote :

Note that this bug has apparently been fixed in the upstream Debian nfs package with version 1:1.2.6-4:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=682709#71

Revision history for this message
Steve Langasek (vorlon) wrote :

marking as fixed in saucy.

Changed in nfs-utils (Ubuntu):
status: New → Fix Released
Revision history for this message
AleksanderAdamowski (aadamowski) wrote :

Any chance of releasing the fixed packages for raring?

Revision history for this message
Steve Langasek (vorlon) wrote :

Given available resources to work on this package, I'm afraid I would say that's unlikely.

Revision history for this message
Yves Dorfsman (dorfsmay) wrote :

Another work around is to use the packages from Debian. You need both (kernel-server depends on common):

http://packages.debian.org/wheezy/nfs-common
http://packages.debian.org/wheezy/nfs-kernel-server

They install nicely on 13.04, and solve the issue!!!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.