26 lines
876 B
Diff
26 lines
876 B
Diff
Some platform (like atom-pc) enables rootless X,
|
|
thus we need to add the xuser in the list.
|
|
|
|
Upstream-Status: Inappropriate [configuration]
|
|
|
|
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
|
|
|
|
diff --git a/src/connman-dbus.conf b/src/connman-dbus.conf
|
|
index 98a773e..cbe2ba3 100644
|
|
--- a/src/connman-dbus.conf
|
|
+++ b/src/connman-dbus.conf
|
|
@@ -8,6 +8,13 @@
|
|
<allow send_interface="net.connman.Counter"/>
|
|
<allow send_interface="net.connman.Notification"/>
|
|
</policy>
|
|
+ <policy user="xuser">
|
|
+ <allow own="net.connman"/>
|
|
+ <allow send_destination="net.connman"/>
|
|
+ <allow send_interface="net.connman.Agent"/>
|
|
+ <allow send_interface="net.connman.Counter"/>
|
|
+ <allow send_interface="net.connman.Notification"/>
|
|
+ </policy>
|
|
<policy at_console="true">
|
|
<allow send_destination="net.connman"/>
|
|
</policy>
|