@oyvinst, the current NetworkManager in trusty (0.9.8.8-0ubuntu1) *does* seem to stop dhclient:
Jan 26 17:25:02 xubuntu NetworkManager[1766]: <info> caught signal 15, shutting down normally. Jan 26 17:25:02 xubuntu NetworkManager[1766]: <info> (eth0): device state change: activated -> disconnected (reason 'connection-removed') [100 30 38] Jan 26 17:25:02 xubuntu NetworkManager[1766]: <info> (eth0): deactivating device (reason 'connection-removed') [38] According to the changelog, we got a new upstream version merged 24/01/14: network-manager (0.9.8.8-0ubuntu1) trusty; urgency=medium [ Mathieu Trudel-Lapierre ] * New upstream release (LP: #1269179). Can you update and check that the problem is resolved for you? The third log message is printed by nm_device_deactivate(), which calls dhcp4_cleanup(), which calls nm_dhcp_client_stop(). What I can't currently work out is .. what changed? -- 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/1169614 Title: /etc/init.d/umountroot: "mount: / is busy" due to dhclient is not stopped Status in “network-manager” package in Ubuntu: Triaged Bug description: The result is "mount: / is busy" and root filesystem recovery during next boot. network-manager 0.9.8.0-0ubuntu3 in Raring neither stop dhclient in response to "stop network-manager" nor remove pid file from /run/sendsigs.omit.d/ So dhclient skipped by /etc/init.d/sendsigs and a lease file is open for writing in /var/lib/NetworkManager while /etc/init.d/umountroot is running. As a consequence root filesystem can not be cleanly remount readonly before poweroff. In default setup the problem is hidden by plymouth. The problem does not appear if network is disabled or the cable is unplugged before shutdown. There are some other bugs that might be caused by this issue: Bug lp: #1073433 Ext4 corruption associated with shutdown of Ubuntu 12.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1169614/+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

