[Bug 1167337] Re: nfs4 mounts hang in bootup with upstart starting rpc.gssd
Steve Langasek
steve.langasek at canonical.com
Mon Apr 22 23:18:52 UTC 2013
> So an other possibility is, that longer delay of dhcpclient cause the problem
> for mounting the nfs-fs.
The handling of both ifupdown and network-manager is designed such that
the interface should not be considered 'up' until dhclient succeeds. If
'sudo initctl list' is showing the interface as up in this case, then
that's a bug; more likely, however, the interface is either still
waiting for a dhcp answer or is considered failed, and bringing up the
interface will bring up the NFS mounts as well. Either way, that's
obviously not a bug in the NFS packages, since if the network has no
address NFS can't work.
> Is there a possibility to restart dhcpclient in case of a unsuccessful
> inquiry.
"ifdown eth0; ifup eth0"
Please let us know if you find that the new version of the upstart jobs
solves the nfs problem (but not the network problem, obviously). If it
does, that strengthens the argument for pushing this fix as a stable
release update to 12.04.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nfs-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1167337
Title:
nfs4 mounts hang in bootup with upstart starting rpc.gssd
Status in “nfs-utils” package in Ubuntu:
Incomplete
Bug description:
System 12.04.2 32 and 64bit. nfs4 with krb5/ldap authentication.
No network-manager!
A nfs4 mount results in a system hang, if rpc.gssd is started before rpcbind (portmap) and the filesystem is defined as:
nfs4 sec=krb5....
in /etc/init/gssd.conf the start condition is
start on (started portmap
or mounting TYPE=nfs4 OPTIONS=*sec*krb5*)
So when the file system is defined as: nfs4 sec=krb5
upstart does not wait on portmap (rpcbind) and starts sometimes rpc.gssd before rpcbind. This lead to mounting errors and prevents the further bootup.
My solution at the moment is to define the file systems as:
... nfs vers=4,sec=krb5...
which works at the moment.
(I have also added
NEED_GSSD=yes
NEED_IDMAPD=yes
to /etc/defaults/nfs-common
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1167337/+subscriptions
More information about the foundations-bugs
mailing list