← Back to team overview

touch-packages team mailing list archive

[Bug 1429975] Re: nfs no longer mounted at boot with systemd

 

Asked on upstream ML: http://lists.freedesktop.org/archives/systemd-
devel/2015-March/029226.html

In the meantime, you could edit /lib/systemd/system/remote-fs-pre.target
to append

Wants=network-online.target
After=network-online.target

This should fix the boot, at least if you use ifupdown (which I assume
if you use NFS). With network-manager it won't work yet as we haven't
enabled NetworkManager-wait-online.service yet, see bug 1430280).

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1429975

Title:
  nfs no longer mounted at boot with systemd

Status in systemd package in Ubuntu:
  In Progress

Bug description:
  I updated my vivid laptop today, and now boot with systemd by default.
  Unfortunately, my nfs mount no longer mounts at boot.

  From syslog:

  Mar  9 14:38:20 mdlinux mount[866]: mount.nfs: Network is unreachable
  Mar  9 14:38:20 mdlinux systemd[1]: mnt-server.mount mount process exited, code=exited status=32
  Mar  9 14:38:20 mdlinux systemd[1]: Failed to mount /mnt/server.
  Mar  9 14:38:20 mdlinux systemd[1]: Dependency failed for Remote File Systems.
  Mar  9 14:38:20 mdlinux systemd[1]: Job remote-fs.target/start failed with result 'dependency'.
  Mar  9 14:38:20 mdlinux systemd[1]: Unit mnt-server.mount entered failed state.

  This is happening before my network interfaces are ready:

  Mar  9 14:38:21 mdlinux NetworkManager[820]: <info> (eth0): preparing
  device

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: nfs-common 1:1.2.8-9ubuntu6
  ProcVersionSignature: Ubuntu 3.19.0-7.7-generic 3.19.0
  Uname: Linux 3.19.0-7-generic x86_64
  ApportVersion: 2.16.2-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Mar  9 14:45:48 2015
  InstallationDate: Installed on 2013-11-26 (467 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
  SourcePackage: nfs-utils
  UpgradeStatus: Upgraded to vivid on 2015-03-07 (2 days ago)

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