[Bug 1515446] Re: NFS shares in FSTAB no longer mount at boot

Martin Pitt martin.pitt at ubuntu.com
Thu Jan 28 09:46:06 UTC 2016


Hey Bryan,

thanks for investigating and the patch! Indeed it seems the enabling in
debian/rules got reverted in some merge. The patch is good, except that
I changed postinst to

-        if dpkg --compare-versions "$2" lt-nl "0.9.10.0-4ubuntu10"; then
+        if dpkg --compare-versions "$2" lt-nl "1.0.4-0ubuntu8"; then

i. e. I just bumped the number, but I kept the "purge". We want to reset
deb-systemd-helper's brain about the automatic/manual enablement state
of NetworkManager-wait-online.service, the actual "enable" call will be
automatically generated by dh_installinit/dh_systemd_enable. Sorry,
that's a bit complicated..

I committed this updated patch to bzr and uploaded.

** Changed in: network-manager (Ubuntu)
       Status: Confirmed => Fix Committed

** Changed in: hundredpapercuts
       Status: Confirmed => Fix Released

** Changed in: systemd (Ubuntu)
       Status: Confirmed => Invalid

** No longer affects: systemd (Ubuntu)

** Summary changed:

- NFS shares in FSTAB no longer mount at boot
+ network file systems in FSTAB no longer mount at boot with NetworkManager

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1515446

Title:
  network file systems in FSTAB no longer mount at boot with
  NetworkManager

Status in One Hundred Papercuts:
  Fix Released
Status in network-manager package in Ubuntu:
  Fix Committed
Status in network-manager package in Debian:
  New

Bug description:
  After a fresh install of 15.10, nfs shares no longer mount on boot.
  I'm using the same line to mount as I did in 14.04 prior:

  <server>:/share  /mnt/share  ntfs4  _netdev, auto 0 0

  This line worked just fine in 14.04, and 14.10 on my laptop, to mount
  the shares at boot.

  Manual mounting after boot works fine.  Systemctl shows a name
  resolution failure (see below)

  lsb_release -rd
  Description:    Ubuntu 15.10
  Release:        15.10

  lsb_release -rd
  Description:    Ubuntu 15.10
  Release:        15.10
  bjwest at razorback:~$ apt-cache policy nfs-common
  nfs-common:
    Installed: 1:1.2.8-9ubuntu10
    Candidate: 1:1.2.8-9ubuntu10
    Version table:

   *** 1:1.2.8-9ubuntu10 0
          500 http://us.archive.ubuntu.com/ubuntu/ wily/main amd64 Packages
          100 /var/lib/dpkg/status

  systemctl status mnt-share.mount
  ● mnt-share.mount - /mnt/share
     Loaded: loaded (/etc/fstab)
     Active: failed (Result: exit-code) since Wed 2015-11-11 18:58:13 CST; 2min 15s ago
      Where: /mnt/share
       What: hog:/share
       Docs: man:fstab(5)
             man:systemd-fstab-generator(8)
    Process: 731 ExecMount=/bin/mount hog:/share /mnt/share -t nfs4 -o _netdev (code=exited, status=32)

  Nov 11 18:58:13 razorback systemd[1]: Mounting /mnt/share...
  Nov 11 18:58:13 razorback mount[731]: mount.nfs4: Failed to resolve server hog: Temporary failure in name resolution
  Nov 11 18:58:13 razorback systemd[1]: mnt-share.mount: Mount process exited, code=exited status=32
  Nov 11 18:58:13 razorback systemd[1]: Failed to mount /mnt/share.
  Nov 11 18:58:13 razorback systemd[1]: mnt-share.mount: Unit entered failed state.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1515446/+subscriptions



More information about the Ubuntu-sponsors mailing list