nfs4 mounts hang in bootup with upstart starting rpc.gssd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nfs-utils (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
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/
affects: | autofs5 (Ubuntu) → nfs-utils (Ubuntu) |
I have to apologize, but the bug is not autofs5 related.
Its only nfs4 related!
Stef