[PATCH] Allow bluetoothd to call methods on dbus' system bus

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Default dbus configuration doesn't allow calling methods on system bus. Only sending signals is allowed. If "mpris-proxy" isn't running "/usr/lib/gsd-media-keys" translates keystrokes from "profiles/audio/avctp.c:handle_panel_passthrough()"
to dbus method calls on session bus. This is allowed on dbus by default.
If "mpris-proxy" is running "bluetoothd" executes dbus' method calls on system bus.  These apparently are rejected by default.

diff --git a/src/bluetooth.conf b/src/bluetooth.conf
index 0c0b221bb..1cafab631 100644
--- a/src/bluetooth.conf
+++ b/src/bluetooth.conf
@@ -8,6 +8,7 @@
   <!-- ../system.conf have denied everything, so we just punch some holes -->
<policy user="root">
+    <allow send_type="method_call"/>
     <allow own="org.bluez"/>
     <allow send_destination="org.bluez"/>
     <allow send_interface="org.bluez.Agent1"/>

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux