Public bug reported:

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

** Affects: autofs5 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: krb5 nfs4 upstart

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to autofs5 in Ubuntu.
https://bugs.launchpad.net/bugs/1167337

Title:
  nfs4 mounts hang in bootup with upstart starting rpc.gssd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/1167337/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to