Public bug reported:
This is related to the bug "remote file systems hang on shutdown, D-BUS
stops too early" here
https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/1438612. This bug's
status is a "won't fix" because I believe it has to do with the network-
manager.service file in /lib/systemd/system/.
The problem is with something like the following in /etc/fstab:
172.100.1.2:/mnt/share /mnt/nfs nfs
noauto,_netdev,noatime,nofail,x-systemd.automount,x-systemd.device-
timeout=10,timeo=14,x-systemd.idle-timeout=1min,rsize=8192,wsize=8192 0
0
This is in the latest systemd package on Xubuntu 16.04. The system hangs
on shutdown indefinitely and I get the following output from journalctl
in a debug shell on shutdown:
Aug 23 01:23:41 ubuntu-user systemd[1]: Stopped LSB: Start NTP daemon.
Aug 23 01:23:41 ubuntu-user systemd[1]: Stopped LSB: Record successful boot for
GRUB.
Aug 23 01:23:41 ubuntu-user systemd[1]: Stopped LSB: disk temperature
monitoring daemon.
Aug 23 01:23:41 ubuntu-user systemd[1]: Stopped LSB: Set the CPU Frequency
Scaling governor to "ondemand".
Aug 23 01:23:41 ubuntu-user systemd[1]: Removed slice User Slice of ubuntu-user.
Aug 23 01:23:41 ubuntu-user avahi-daemon[2584]: Got SIGTERM, quitting.
Aug 23 01:23:41 ubuntu-user systemd[1]: Stopping Login Service...
Aug 23 01:23:41 ubuntu-user avahi-daemon[2584]: Leaving mDNS multicast group on
interface wlp1s0.IPv6 with address fdcb:6a3d:3361:0:883:3f94:65f7:8f2d.
Aug 23 01:23:41 ubuntu-user NetworkManager[2678]: <info> [1471904621.5584]
device (wlp1s0): state change: activated -> deactivating (reason
'connection-removed') [100 110 38]
Aug 23 01:23:41 ubuntu-user avahi-daemon[2584]: Leaving mDNS multicast group on
interface wlp1s0.IPv4 with address 172.100.1.231.
Aug 23 01:23:41 ubuntu-user systemd[1]: Stopping Avahi mDNS/DNS-SD Stack...
Aug 23 01:23:41 ubuntu-user avahi-daemon[2584]: avahi-daemon 0.6.32-rc exiting.
Aug 23 01:23:41 ubuntu-user NetworkManager[2678]: <info> [1471904621.5585]
manager: NetworkManager state is now DISCONNECTING
Aug 23 01:23:41 ubuntu-user systemd[1]: Stopping CUPS Scheduler...
Aug 23 01:23:41 ubuntu-user systemd[1]: Stopped /etc/rc.local Compatibility.
Aug 23 01:23:41 ubuntu-user systemd[1]: Removed slice system-getty.slice.
Aug 23 01:23:41 ubuntu-user systemd[1]: Stopped Avahi mDNS/DNS-SD Stack.
Aug 23 01:23:41 ubuntu-user NetworkManager[2678]: <info> [1471904621.5683]
device (wlp1s0): state change: deactivating -> disconnected (reason
'connection-removed') [110 30 38]
Aug 23 01:23:41 ubuntu-user systemd[1]: Stopped CUPS Scheduler.
Aug 23 01:23:41 ubuntu-user NetworkManager[2678]: <info> [1471904621.5768]
dhcp4 (wlp1s0): canceled DHCP transaction, DHCP client pid 3108
Aug 23 01:23:41 ubuntu-user NetworkManager[2678]: <info> [1471904621.5768]
dhcp4 (wlp1s0): state changed bound -> done
Aug 23 01:23:41 ubuntu-user NetworkManager[2678]: <info> [1471904621.5777]
dhcp6 (wlp1s0): canceled DHCP transaction, DHCP client pid 3320
Aug 23 01:23:41 ubuntu-user NetworkManager[2678]: <info> [1471904621.5778]
dhcp6 (wlp1s0): state changed bound -> done
Aug 23 01:23:41 ubuntu-user wpa_supplicant[2785]: wlp1s0:
CTRL-EVENT-DISCONNECTED bssid=00:25:9c:13:f7:6d reason=3 locally_generated=1
Aug 23 01:23:41 ubuntu-user NetworkManager[2678]: <info> [1471904621.5886]
dns-mgr: Writing DNS information to /sbin/resolvconf
Aug 23 01:23:41 ubuntu-user wpa_supplicant[2785]: p2p-dev-wlp1s0:
CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Aug 23 01:23:42 ubuntu-user thermald[2590]: terminating on user request ..
Aug 23 01:23:42 ubuntu-user kernel: wlp1s0: deauthenticating from
00:25:9c:13:f7:6d by local choice (Reason: 3=DEAUTH_LEAVING)
Aug 23 01:23:42 ubuntu-user systemd[1]: Stopped LXDE Display Manager.
Aug 23 01:23:42 ubuntu-user systemd[1]: Starting Show Plymouth Power Off
Screen...
Aug 23 01:23:42 ubuntu-user systemd[1]: Stopping Permit User Sessions...
Aug 23 01:23:42 ubuntu-user systemd[1]: Stopped Copies the configs for the
ChromeOS touchpad driver.
Aug 23 01:23:42 ubuntu-user systemd[1]: Stopped Permit User Sessions.
Aug 23 01:23:42 ubuntu-user systemd[1]: Stopped target Remote File Systems.
Aug 23 01:23:42 ubuntu-user systemd[1]: Unmounting /mnt/nfs...
Aug 23 01:23:42 ubuntu-user systemd[1]: Stopped Login Service.
Aug 23 01:23:42 ubuntu-user systemd[1]: Stopped target User and Group Name
Lookups.
Aug 23 01:23:43 ubuntu-user systemd[1]: Received SIGRTMIN+20 from PID 3903
(plymouthd).
Aug 23 01:23:43 ubuntu-user systemd[1]: Started Show Plymouth Power Off Screen.
Aug 23 01:23:43 ubuntu-user systemd[1]: Stopped Thermal Daemon Service.
Aug 23 01:23:44 ubuntu-user systemd[1]: Received SIGRTMIN+20 from PID 3903
(plymouthd).
Aug 23 01:23:46 ubuntu-user kernel: nfs: server 172.100.1.3 not responding,
still trying
Aug 23 01:23:51 ubuntu-user NetworkManager[2678]: <info> [1471904631.6437]
dns-mgr: Removing DNS information from /sbin/resolvconf
Aug 23 01:23:51 ubuntu-user NetworkManager[2678]: <info> [1471904631.6766]
manager: NetworkManager state is now DISCONNECTED
Aug 23 01:23:51 ubuntu-user dbus[2592]: [system] Activating via systemd:
service name='org.freedesktop.nm_dispatcher'
unit='dbus-org.freedesktop.nm-dispatcher.service'
Aug 23 01:23:51 ubuntu-user NetworkManager[2678]: <warn> [1471904631.6781]
sup-iface[0x156fd60,wlp1s0]: connection disconnected (reason -3)
Aug 23 01:23:51 ubuntu-user dbus[2592]: [system] Activation via systemd failed
for unit 'dbus-org.freedesktop.nm-dispatcher.service': Refusing activation,
D-Bus is shutting down.
Aug 23 01:23:51 ubuntu-user NetworkManager[2678]: <info> [1471904631.6782]
device (wlp1s0): supplicant interface state: completed -> disconnected
Aug 23 01:24:45 ubuntu-user kernel: nfs: server 172.100.1.3 not responding,
timed out
Aug 23 01:24:49 ubuntu-user kernel: nfs: server 172.100.1.3 not responding,
timed out
Aug 23 01:24:54 ubuntu-user kernel: nfs: server 172.100.1.3 not responding,
timed out
Aug 23 01:24:54 ubuntu-user kernel: nfs: server 172.100.1.3 not responding,
timed out
Aug 23 01:24:58 ubuntu-user kernel: nfs: server 172.100.1.3 not responding,
timed out
Aug 23 01:25:02 ubuntu-user kernel: nfs: server 172.100.1.3 not responding,
timed out
Aug 23 01:25:04 ubuntu-user kernel: nfs: server 172.100.1.3 not responding,
timed out
So the system simply will not come down until I manually switch it off.
This has been a bug with NFS for a while now and I'm just trying to help
find the packages and programs that would be involved in fixing this.
NFSv4 is a fairly important part of Linux and I think this should be
high up in importance. Wouldn't it be resolved by keeping NetworkManager
up until the NFS mount/DBUS service comes down?
** Affects: network-manager (Ubuntu)
Importance: Undecided
Status: New
** Tags: dbus network-manager nfs systemd
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1615973
Title:
Remote filesystems hang shutdown because network-manager stops too
early
Status in network-manager package in Ubuntu:
New
Bug description:
This is related to the bug "remote file systems hang on shutdown,
D-BUS stops too early" here
https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/1438612. This
bug's status is a "won't fix" because I believe it has to do with the
network-manager.service file in /lib/systemd/system/.
The problem is with something like the following in /etc/fstab:
172.100.1.2:/mnt/share /mnt/nfs nfs
noauto,_netdev,noatime,nofail,x-systemd.automount,x-systemd.device-
timeout=10,timeo=14,x-systemd.idle-timeout=1min,rsize=8192,wsize=8192
0 0
This is in the latest systemd package on Xubuntu 16.04. The system
hangs on shutdown indefinitely and I get the following output from
journalctl in a debug shell on shutdown:
Aug 23 01:23:41 ubuntu-user systemd[1]: Stopped LSB: Start NTP daemon.
Aug 23 01:23:41 ubuntu-user systemd[1]: Stopped LSB: Record successful boot
for GRUB.
Aug 23 01:23:41 ubuntu-user systemd[1]: Stopped LSB: disk temperature
monitoring daemon.
Aug 23 01:23:41 ubuntu-user systemd[1]: Stopped LSB: Set the CPU Frequency
Scaling governor to "ondemand".
Aug 23 01:23:41 ubuntu-user systemd[1]: Removed slice User Slice of
ubuntu-user.
Aug 23 01:23:41 ubuntu-user avahi-daemon[2584]: Got SIGTERM, quitting.
Aug 23 01:23:41 ubuntu-user systemd[1]: Stopping Login Service...
Aug 23 01:23:41 ubuntu-user avahi-daemon[2584]: Leaving mDNS multicast group
on interface wlp1s0.IPv6 with address fdcb:6a3d:3361:0:883:3f94:65f7:8f2d.
Aug 23 01:23:41 ubuntu-user NetworkManager[2678]: <info> [1471904621.5584]
device (wlp1s0): state change: activated -> deactivating (reason
'connection-removed') [100 110 38]
Aug 23 01:23:41 ubuntu-user avahi-daemon[2584]: Leaving mDNS multicast group
on interface wlp1s0.IPv4 with address 172.100.1.231.
Aug 23 01:23:41 ubuntu-user systemd[1]: Stopping Avahi mDNS/DNS-SD Stack...
Aug 23 01:23:41 ubuntu-user avahi-daemon[2584]: avahi-daemon 0.6.32-rc
exiting.
Aug 23 01:23:41 ubuntu-user NetworkManager[2678]: <info> [1471904621.5585]
manager: NetworkManager state is now DISCONNECTING
Aug 23 01:23:41 ubuntu-user systemd[1]: Stopping CUPS Scheduler...
Aug 23 01:23:41 ubuntu-user systemd[1]: Stopped /etc/rc.local Compatibility.
Aug 23 01:23:41 ubuntu-user systemd[1]: Removed slice system-getty.slice.
Aug 23 01:23:41 ubuntu-user systemd[1]: Stopped Avahi mDNS/DNS-SD Stack.
Aug 23 01:23:41 ubuntu-user NetworkManager[2678]: <info> [1471904621.5683]
device (wlp1s0): state change: deactivating -> disconnected (reason
'connection-removed') [110 30 38]
Aug 23 01:23:41 ubuntu-user systemd[1]: Stopped CUPS Scheduler.
Aug 23 01:23:41 ubuntu-user NetworkManager[2678]: <info> [1471904621.5768]
dhcp4 (wlp1s0): canceled DHCP transaction, DHCP client pid 3108
Aug 23 01:23:41 ubuntu-user NetworkManager[2678]: <info> [1471904621.5768]
dhcp4 (wlp1s0): state changed bound -> done
Aug 23 01:23:41 ubuntu-user NetworkManager[2678]: <info> [1471904621.5777]
dhcp6 (wlp1s0): canceled DHCP transaction, DHCP client pid 3320
Aug 23 01:23:41 ubuntu-user NetworkManager[2678]: <info> [1471904621.5778]
dhcp6 (wlp1s0): state changed bound -> done
Aug 23 01:23:41 ubuntu-user wpa_supplicant[2785]: wlp1s0:
CTRL-EVENT-DISCONNECTED bssid=00:25:9c:13:f7:6d reason=3 locally_generated=1
Aug 23 01:23:41 ubuntu-user NetworkManager[2678]: <info> [1471904621.5886]
dns-mgr: Writing DNS information to /sbin/resolvconf
Aug 23 01:23:41 ubuntu-user wpa_supplicant[2785]: p2p-dev-wlp1s0:
CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Aug 23 01:23:42 ubuntu-user thermald[2590]: terminating on user request ..
Aug 23 01:23:42 ubuntu-user kernel: wlp1s0: deauthenticating from
00:25:9c:13:f7:6d by local choice (Reason: 3=DEAUTH_LEAVING)
Aug 23 01:23:42 ubuntu-user systemd[1]: Stopped LXDE Display Manager.
Aug 23 01:23:42 ubuntu-user systemd[1]: Starting Show Plymouth Power Off
Screen...
Aug 23 01:23:42 ubuntu-user systemd[1]: Stopping Permit User Sessions...
Aug 23 01:23:42 ubuntu-user systemd[1]: Stopped Copies the configs for the
ChromeOS touchpad driver.
Aug 23 01:23:42 ubuntu-user systemd[1]: Stopped Permit User Sessions.
Aug 23 01:23:42 ubuntu-user systemd[1]: Stopped target Remote File Systems.
Aug 23 01:23:42 ubuntu-user systemd[1]: Unmounting /mnt/nfs...
Aug 23 01:23:42 ubuntu-user systemd[1]: Stopped Login Service.
Aug 23 01:23:42 ubuntu-user systemd[1]: Stopped target User and Group Name
Lookups.
Aug 23 01:23:43 ubuntu-user systemd[1]: Received SIGRTMIN+20 from PID 3903
(plymouthd).
Aug 23 01:23:43 ubuntu-user systemd[1]: Started Show Plymouth Power Off
Screen.
Aug 23 01:23:43 ubuntu-user systemd[1]: Stopped Thermal Daemon Service.
Aug 23 01:23:44 ubuntu-user systemd[1]: Received SIGRTMIN+20 from PID 3903
(plymouthd).
Aug 23 01:23:46 ubuntu-user kernel: nfs: server 172.100.1.3 not responding,
still trying
Aug 23 01:23:51 ubuntu-user NetworkManager[2678]: <info> [1471904631.6437]
dns-mgr: Removing DNS information from /sbin/resolvconf
Aug 23 01:23:51 ubuntu-user NetworkManager[2678]: <info> [1471904631.6766]
manager: NetworkManager state is now DISCONNECTED
Aug 23 01:23:51 ubuntu-user dbus[2592]: [system] Activating via systemd:
service name='org.freedesktop.nm_dispatcher'
unit='dbus-org.freedesktop.nm-dispatcher.service'
Aug 23 01:23:51 ubuntu-user NetworkManager[2678]: <warn> [1471904631.6781]
sup-iface[0x156fd60,wlp1s0]: connection disconnected (reason -3)
Aug 23 01:23:51 ubuntu-user dbus[2592]: [system] Activation via systemd
failed for unit 'dbus-org.freedesktop.nm-dispatcher.service': Refusing
activation, D-Bus is shutting down.
Aug 23 01:23:51 ubuntu-user NetworkManager[2678]: <info> [1471904631.6782]
device (wlp1s0): supplicant interface state: completed -> disconnected
Aug 23 01:24:45 ubuntu-user kernel: nfs: server 172.100.1.3 not responding,
timed out
Aug 23 01:24:49 ubuntu-user kernel: nfs: server 172.100.1.3 not responding,
timed out
Aug 23 01:24:54 ubuntu-user kernel: nfs: server 172.100.1.3 not responding,
timed out
Aug 23 01:24:54 ubuntu-user kernel: nfs: server 172.100.1.3 not responding,
timed out
Aug 23 01:24:58 ubuntu-user kernel: nfs: server 172.100.1.3 not responding,
timed out
Aug 23 01:25:02 ubuntu-user kernel: nfs: server 172.100.1.3 not responding,
timed out
Aug 23 01:25:04 ubuntu-user kernel: nfs: server 172.100.1.3 not responding,
timed out
So the system simply will not come down until I manually switch it
off. This has been a bug with NFS for a while now and I'm just trying
to help find the packages and programs that would be involved in
fixing this. NFSv4 is a fairly important part of Linux and I think
this should be high up in importance. Wouldn't it be resolved by
keeping NetworkManager up until the NFS mount/DBUS service comes down?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1615973/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp