[Bug 1124803] Re: NetworkManager doesn't respond to SIGTERM in daemon mode

Max 1124803 at bugs.launchpad.net
Tue Apr 16 14:31:27 UTC 2013

NetworkManager from Raring is not a solution.
It use /var/lib/NetworkManager/ directory to store .lease
files. It is not allowed by apparmor policy
isc-dhcp-client: /etc/apparmor/init/network-interface-security/sbin.dhclient

If permissions for /var/lib/NetworkManager is granted to dhclient,
dhclient is not stopped after 'stop network-manager'.
This leads to problems during shutdown.
Since network-manager- does not clean
/run/sendsigs.omit.d, dhclient is ignored by /etc/init.d/sendsigs.
When /etc/init.d/umountroot is running, dhclient is alive
and his lease file is open for writing.

The result is
mount: / is busy
and filesystem recovery during next boot.

If the patch, that fixes signal handling thread,
is applied to network-manager- then
dhcleint is stopped with network-manager
and root filesystem can be remounted readonly.

You received this bug notification because you are a member of Network-
manager, which is subscribed to NetworkManager.

  NetworkManager doesn't respond to SIGTERM in daemon mode

To manage notifications about this bug go to:

More information about the Ubuntu-reviews mailing list