File bluez-4.22-dbus-config-fix.diff of Package bluez

Index: b/src/bluetooth.conf
===================================================================
--- a/src/bluetooth.conf
+++ b/src/bluetooth.conf
@@ -7,38 +7,18 @@
 
   <!-- ../system.conf have denied everything, so we just punch some holes -->
 
   <policy user="root">
     <allow own="org.bluez"/>
+    <allow send_destination="org.bluez"/>
+    <allow send_interface="org.bluez.Agent"/>
   </policy>
 
   <policy at_console="true">
-    <allow send_path="/"/>
-
-    <allow send_destination="org.bluez.Manager"/>
-    <allow receive_sender="org.bluez.Manager"/>
-
-    <allow send_destination="org.bluez.Adapter"/>
-    <allow receive_sender="org.bluez.Adapter"/>
-
-    <allow send_destination="org.bluez.Device"/>
-    <allow receive_sender="org.bluez.Device"/>
-
-    <allow send_destination="org.bluez.Service"/>
-    <allow receive_sender="org.bluez.Service"/>
+    <allow send_destination="org.bluez"/>
   </policy>
 
   <policy context="default">
-    <deny send_destination="org.bluez.Manager"/>
-    <deny receive_sender="org.bluez.Manager"/>
-
-    <deny send_destination="org.bluez.Adapter"/>
-    <deny receive_sender="org.bluez.Adapter"/>
-
-    <deny send_destination="org.bluez.Device"/>
-    <deny receive_sender="org.bluez.Device"/>
-
-    <deny send_destination="org.bluez.Service"/>
-    <deny receive_sender="org.bluez.Service"/>
+    <deny send_destination="org.bluez"/>
   </policy>
 
 </busconfig>
openSUSE Build Service is sponsored by