[Bug 1807749] [NEW] NFS V4 does not mount at system start

imker 1807749 at bugs.launchpad.net
Mon Dec 10 18:24:34 UTC 2018


Public bug reported:

Hi,

i'm running a view Ubuntu 18.10 Clients on a Ubuntu 18.04 NFS V4 Server.
I'm using Kerberos for user authentication and LDAP for user and group
synchronisation.

The shares are added to the /etc/fstab on my clients and they should be mounted automatically at system boot. Here is an example line from fstab:
nfs.server:/users         /home             	nfs4    sec=krb5i,soft,_netdev,auto  0  0

But after the system has booted and the Login-Screen appears the nfs
shares are not mounted on the client. Attached to this bug, you can find
an export of my journald entries from my last boot.

When I read this log carefully I find the following start order of relevant services:
Begin start nss_ldap (from line 822 on)
Begin start NetworkManager (from line 1198) 
Get IP from DHCP (line 2542)
NetworkManager Online (line 2551)
Try to mount NFS Shares (from line 2253)
nss_ldap connected (line 2761)

As far as I understand my setup, I do not have DNS before nss_ldap is
started. But since mounting the NFS shares needs DNS, the NFS mount
sequence should start after nss_ldap is fully started.

Thanks for your help

** Affects: nfs-utils (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "Log file from system startup"
   https://bugs.launchpad.net/bugs/1807749/+attachment/5220933/+files/today.log

-- 
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/1807749

Title:
  NFS V4 does not mount at system start

Status in nfs-utils package in Ubuntu:
  New

Bug description:
  Hi,

  i'm running a view Ubuntu 18.10 Clients on a Ubuntu 18.04 NFS V4
  Server. I'm using Kerberos for user authentication and LDAP for user
  and group synchronisation.

  The shares are added to the /etc/fstab on my clients and they should be mounted automatically at system boot. Here is an example line from fstab:
  nfs.server:/users         /home             	nfs4    sec=krb5i,soft,_netdev,auto  0  0

  But after the system has booted and the Login-Screen appears the nfs
  shares are not mounted on the client. Attached to this bug, you can
  find an export of my journald entries from my last boot.

  When I read this log carefully I find the following start order of relevant services:
  Begin start nss_ldap (from line 822 on)
  Begin start NetworkManager (from line 1198) 
  Get IP from DHCP (line 2542)
  NetworkManager Online (line 2551)
  Try to mount NFS Shares (from line 2253)
  nss_ldap connected (line 2761)

  As far as I understand my setup, I do not have DNS before nss_ldap is
  started. But since mounting the NFS shares needs DNS, the NFS mount
  sequence should start after nss_ldap is fully started.

  Thanks for your help

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1807749/+subscriptions



More information about the foundations-bugs mailing list