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?

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Pkg-systemd-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers

Reply via email to