From: Lubomir Rintel Date: Wed, 27 Jan 2016 16:02:07 +0000 (+0100) Subject: D-Bus: Don't do in dbus service file X-Git-Tag: hostap_2_6~933 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df9e2c2a55eec199ba2c624897df22bfa48fa318;p=thirdparty%2Fhostap.git D-Bus: Don't do in dbus service file It does more than intended; apart from denying messages to that particular interface it also denies all messages non-qualified with an interface globally. This blocks messages completely unrelated to wpa_supplicant, such as NetworkManager communication with the VPN plugins. From the dbus-daemon manual: Be careful with send_interface/receive_interface, because the interface field in messages is optional. In particular, do NOT specify ! This will cause no-interface messages to be blocked for all services, which is almost certainly not what you intended. Always use rules of the form: We can just safely remove those rules, since we're sufficiently protected by the send_destination matches and method calls are disallowed by default anyway. Signed-off-by: Lubomir Rintel --- diff --git a/wpa_supplicant/dbus/dbus-wpa_supplicant.conf b/wpa_supplicant/dbus/dbus-wpa_supplicant.conf index c091234f7..382dcb343 100644 --- a/wpa_supplicant/dbus/dbus-wpa_supplicant.conf +++ b/wpa_supplicant/dbus/dbus-wpa_supplicant.conf @@ -17,11 +17,9 @@ - -