Package: ifupdown
Version: 0.8.19
Severity: normal
I am still affected by issue #761909. Essentially, if there is a mounted nfs
share, shutdown will stall forever trying to unmount it unsuccessfully due to
the network going down before the attempted unmounting of the share. This only
happens with systemd.
The mount unit correctly depends on networking.service:
oblomov@oblomov:~$ systemctl list-dependencies oneforall.mount
oneforall.mount
● ├─-.mount
● ├─system.slice
● └─network-online.target
● └─networking.service
oblomov@oblomov:~$
but apparently this is not sufficient to get it unmounted before the network is
brought down. It's also hard to see why the network gets brought down early,
because the logs are always corrupt since the only way to complete the shutdown
or reboot is to forcefully kill the machine.
-- Package-specific info:
--- up and down scripts installed:
/etc/network/if-down.d:
total 16
-rwxr-xr-x 1 root root 1015 Apr 13 2015 avahi-autoipd
-rwxr-xr-x 1 root root 372 Jul 4 2016 openvpn
-rwxr-xr-x 1 root root 256 Jul 20 2013 resolvconf
-rwxr-xr-x 1 root root 332 Jan 6 2013 upstart
lrwxrwxrwx 1 root root 32 Feb 20 11:55 wpasupplicant ->
../../wpa_supplicant/ifupdown.sh
/etc/network/if-post-down.d:
total 4
lrwxrwxrwx 1 root root 23 Jan 23 09:41 avahi-daemon -> ../if-up.d/avahi-daemon
lrwxrwxrwx 1 root root 29 Feb 11 00:16 bridge -> /lib/bridge-utils/ifupdown.sh
-rwxr-xr-x 1 root root 1409 Mar 24 2016 wireless-tools
lrwxrwxrwx 1 root root 32 Feb 20 11:55 wpasupplicant ->
../../wpa_supplicant/ifupdown.sh
/etc/network/if-pre-up.d:
total 12
lrwxrwxrwx 1 root root 29 Feb 11 00:16 bridge -> /lib/bridge-utils/ifupdown.sh
-rwxr-xr-x 1 root root 344 Jan 28 2014 ethtool
-rwxr-xr-x 1 root root 4178 Mar 24 2016 wireless-tools
lrwxrwxrwx 1 root root 32 Feb 20 11:55 wpasupplicant ->
../../wpa_supplicant/ifupdown.sh
/etc/network/if-up.d:
total 84
-rwxr-xr-x 1 root root 817 Jul 20 2013 000resolvconf
-rwxr-xr-x 1 root root 4359 May 29 2016 00check-network-cable
-rwxr-xr-x 1 root root 4341 Oct 1 2014 00check-network-cable.dpkg-old
-rwxr-xr-x 1 root root 5530 Feb 6 2016 10check-duplicate-ip
-rwxr-xr-x 1 root root 3848 Feb 6 2016 10check-duplicate-ip6
-rwxr-xr-x 1 root root 4280 Apr 10 2014 20static-routes
-rwxr-xr-x 1 root root 4566 Apr 10 2014 30check-gateway
-rwxr-xr-x 1 root root 923 Apr 13 2015 avahi-autoipd
-rwxr-xr-x 1 root root 484 Mar 6 2013 avahi-daemon
-rwxr-xr-x 1 root root 1685 Sep 22 2014 ethtool
-rwxr-xr-x 1 root root 4958 Jun 8 2014 mountnfs
-rwxr-xr-x 1 root root 900 Apr 28 2016 ntpdate
-rwxr-xr-x 1 root root 980 Jul 29 2016 openssh-server
-rwxr-xr-x 1 root root 385 Jul 4 2016 openvpn
-rwxr-xr-x 1 root root 1483 Jan 6 2013 upstart
lrwxrwxrwx 1 root root 32 Feb 20 11:55 wpasupplicant ->
../../wpa_supplicant/ifupdown.sh
-- System Information:
Debian Release: 9.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages ifupdown depends on:
ii adduser 3.115
ii init-system-helpers 1.47
ii iproute2 4.9.0-1
ii libc62.24-9
ii lsb-base 9.20161125
Versions of packages ifupdown recommends:
ii isc-dhcp-client [dhcp-client] 4.3.5-3
Versions of packages ifupdown suggests:
ii ppp 2.4.7-1+4
pn rdnssd
-- no debconf information