Bug#785579: wpa_supplicant: terminates as soon as dbus is disconnected, causing shutdown ordering issues

Michael Biebl biebl at debian.org
Mon May 18 00:40:44 BST 2015


Hi

Am 18.05.2015 um 00:33 schrieb Facundo Gaich:
> While trying to debug issues related to systemd unmounting NFS shares way
> after the network has gone down, I ran into problems trying to stop services
> before wpa_supplicant initiated deauth.
> 
> Even tying my service (autofs.service) to NetworkManager with After=NetworkManager.service
> didn't work, wireless would get disconnected before it could unmount over the net.
> 
> This is because wpa_supplicant will shutdown when the dbus is disconnected

...

> Since this relationship is not set in the systemd configuration, the only way
> to correctly shutdown services that require wireless connection is to
> set After=dbus.service in them. Of course, this is not evident in any way, and
> it can cause bugs such as #761909.
> 
> I'm not sure what the solution would be in this case, I'm cc'ing the systemd
> maintainers since it seems to me they have tackled this kind of problems with
> wlan before.

This issue has come up before and will hopefully become moot in the
future, once we have kdbus. See
https://bugs.freedesktop.org/show_bug.cgi?id=89847



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150518/85d2ae3f/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list