diff options
author | Zeeshan Ali (Khattak) <zeeshanak@gnome.org> | 2015-04-22 17:05:13 +0100 |
---|---|---|
committer | Zeeshan Ali (Khattak) <zeeshanak@gnome.org> | 2015-04-22 17:05:13 +0100 |
commit | 6c693214fa707f5ba8d442545d2ad9753728fff0 (patch) | |
tree | 8b169bc6e064205730807ea5b03efcc55f69fe20 /data | |
parent | fdaedbea541410697e58a820da3397940506d931 (diff) |
dbus: Allow root to own the name on the bus
Distributions are supposed to run the service as special user and when
they do, it means root can't run/launch geoclue. That is annoying for
bug reporters who need to launch geoclue manually for providing console
log from it.
Let's ensure that root is always able to launch the service.
Diffstat (limited to 'data')
-rw-r--r-- | data/org.freedesktop.GeoClue2.conf.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/data/org.freedesktop.GeoClue2.conf.in b/data/org.freedesktop.GeoClue2.conf.in index 2279859..94dfaab 100644 --- a/data/org.freedesktop.GeoClue2.conf.in +++ b/data/org.freedesktop.GeoClue2.conf.in @@ -27,4 +27,9 @@ <allow send_destination="fi.w1.wpa_supplicant1" send_interface="org.freedesktop.DBus.Introspectable"/> </policy> + + <policy user="root"> + <!-- Allow root to own the name on the bus --> + <allow own="org.freedesktop.GeoClue2"/> + </policy> </busconfig> |