[PATCH] systemd: Order wpa_supplicant after dbus

Andrej Shadura andrew.shadura at collabora.co.uk
Thu Oct 21 03:20:29 PDT 2021


From: Stefan Lippers-Hollmann <s.l-h at gmx.de>

Make sure that D-Bus isn't shut down before wpa_supplicant, as that would
also bring down wireless links which are still holding open NFS shares.

Debian bug: https://bugs.debian.org/785579
systemd upstream bug: https://bugs.freedesktop.org/show_bug.cgi?id=89847

Signed-off-by: Stefan Lippers-Hollmann <s.l-h at gmx.de>
Signed-off-by: Andrej Shadura <andrew.shadura at collabora.co.uk>

---
 wpa_supplicant/systemd/wpa_supplicant.service.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/wpa_supplicant/systemd/wpa_supplicant.service.in b/wpa_supplicant/systemd/wpa_supplicant.service.in
index 32516a3b2627..bc0688a800d3 100644
--- a/wpa_supplicant/systemd/wpa_supplicant.service.in
+++ b/wpa_supplicant/systemd/wpa_supplicant.service.in
@@ -1,6 +1,7 @@
 [Unit]
 Description=WPA supplicant
 Before=network.target
+After=dbus.service
 Wants=network.target
 
 [Service]
-- 
2.33.0




More information about the Hostap mailing list