Bug#800707: systemd: Sytem hangs on shutdown when nfs-shares are mounted via autofs

Wolf-Dieter Groll Wolf-Dieter.Groll at gmx.de
Fri Jan 6 21:41:13 GMT 2017


Dear Maintainer,

I just encountered the same problem after upgrading two laptops from
Xubuntu 14.04 LTS to the actual version of Debian Jessie. One running
the i386 version, the other amd64.

With Xubuntu autofs worked smoothly, but since the upgrade to jessie
shutdown fails as long as there are any mounted nfs-shares.

Shutting down brings up a black screen with a blinking cursor in the top
left corner on both systems. After a few minutes there is some output:

System 1 (i386):

------------------------------------------------------------------------
         Starting Store Sound Card State...
[  OK  ] Started Store Sound Card State
[  OK  ] Started Synchronise Hardware Clock to System Clock
[  OK  ] Unmounted /autofs/nfs/QNAP/Backup
[  OK  ] Stopped target Network is Online
[  OK  ] Stopped target Network.
         Stopping LSB: Raise network interfaces....
[  OK  ] Stopped target Remote File Systems (Pre).
[  OK  ] Stopped LSB: Raise network interfaces..
         Stopping Load/Save Random Seed...
[  OK  ] Stopped target Local File Systems.
         Unmounting /proc/fs/nfsd...
         Unmounting /etc/machine-id
         Unmounting /home...
[  OK  ] Stopped Load/Save Random Seed.
[  OK  ] Unmounted /proc/fs/nfsd...
[  OK  ] Unmounted /etc/machine-id
[  OK  ] Unmounted /home...
[  OK  ] Reached target Unmount All Filesystems
[  OK  ] Stopped target Local File Systems (Pre).
         Stopping Create Static Device Nodes in /dev...
[  OK  ] Stopped Create Static Device Nodes in /dev.
         Stopping Remount Root and Kernel File Systems...
[  OK  ] Stopped Remount Root and Kernel File Systems.
[  OK  ] Reached target Shutdown
[ 1647.145346] watchdog watchdog0: watchdog did not stop!
------------------------------------------------------------------------

And the final output of the other system:
------------------------------------------------------------------------
[  OK  ] Unmounted /autofs/nfs/QNAP/Backup
[  OK  ] Stopped target Network is Online
[  OK  ] Stopped target Network.
         Stopping LSB: Raise network interfaces....
[  OK  ] Stopped target Remote File Systems (Pre).
[  OK  ] Stopped LSB: Raise network interfaces..
         Stopping Load/Save Random Seed...
[  OK  ] Stopped target Local File Systems.
         Unmounting /run/user/1000...
         Unmounting /run/user/120...
         Unmounting /proc/fs/nfsd...
         Unmounting /etc/machine-id...
         Unmounting /tmp...
         Unmounting /home...
[  OK  ] Stopped Load/Save Random Seed.
         Unmounting /var...
[  OK  ] Failed unmounting /var.
[  OK  ] Unmounted /run/user/1000.
[  OK  ] Unmounted /run/user/120.
[  OK  ] Unmounted /etc/machine-id.
[  OK  ] Unmounted /tmp.
[  OK  ] Unmounted /home.
[  OK  ] Unmounted /proc/fs/nfsd.
         Unmounting /dev/sdb1...
[  OK  ] Unmounted /dev/sdb1...
[  OK  ] Reached target Unmount All Filesystems
[  OK  ] Stopped target Local File Systems (Pre).
         Stopping Create Static Device Nodes in /dev...
[  OK  ] Stopped Create Static Device Nodes in /dev.
         Stopping Remount Root and Kernel File Systems...
[  OK  ] Stopped Remount Root and Kernel File Systems.
[  OK  ] Reached target Shutdown
------------------------------------------------------------------------
After this you have to remove the power (by pressing the power button
for a long time).
The systems won't shut down by themselves nor react on any keyboard or
touchpad entry.

Systemd should be able to shut down the system, even if there are faulty
or misbehaving services during shutdown.

Best regards
    Wolf-Dieter Groll

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20170106/8fdbada9/attachment.html>


More information about the Pkg-systemd-maintainers mailing list