So, fixing up the package assignments. There's changes needed in three packages for this, and I'll push the updates shortly:
- NetworkManager should write pid files to /run/sendsigs.omit.d for processes it spawns (dhclient, dnsmasq). These processes will already be stopped by NetworkManager (and otherwise would get respawned during shutdown).
- ModemManager looks like it needs a small update to the upstart file to "stop on stopped network-manager", rather than "stop on stopping network-manager", to avoid it getting respawned via dbus if it's stopped too quickly before NetworkManager has a change to shutdown.
- wpasupplicant should write a pid file to /run/sendsigs.omit.d when spawned via dbus.
So, fixing up the package assignments. There's changes needed in three packages for this, and I'll push the updates shortly:
- NetworkManager should write pid files to /run/sendsigs. omit.d for processes it spawns (dhclient, dnsmasq). These processes will already be stopped by NetworkManager (and otherwise would get respawned during shutdown).
- ModemManager looks like it needs a small update to the upstart file to "stop on stopped network-manager", rather than "stop on stopping network-manager", to avoid it getting respawned via dbus if it's stopped too quickly before NetworkManager has a change to shutdown.
- wpasupplicant should write a pid file to /run/sendsigs. omit.d when spawned via dbus.