[Bug 1577120] Re: Mounted NFS share prevents shutdown

Sean seanshivak at gmail.com
Tue Aug 9 15:16:00 UTC 2016


This issue is fixed for me by editing nfs-config.service and adding
After=local-fs.target remote-fs.target NetworkManager.service


sudo systemctl edit --full nfs-config.service


[Unit]
Description=Preprocess NFS configuration
After=local-fs.target remote-fs.target NetworkManager.service
DefaultDependencies=no

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/lib/systemd/scripts/nfs-utils_env.sh

Other suggestions on various forums dont work such as adding
dbus.service to wpa_supplicant.service

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

Title:
  Mounted NFS share prevents shutdown

Status in nfs-utils package in Ubuntu:
  Confirmed

Bug description:
  On ubuntu 16.04 I mount an NFS share using "sudo mount ip.ip.ip.ip:/remote_path/remote_path localpath/"
  When I try to shutdown or restart the computer it hangs.
  It appears to be attempting to unmount the NFS share and theres a timeout, but each time it reaches the timeout, it gets increased.

  I have read bug reports that similar issues were present in several previous ubuntu versions.
  One work around was to soft mount instead of the default hard mount.

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



More information about the foundations-bugs mailing list