]> Frank Brehm's Git Trees - config/bruni/etc.git/commitdiff
saving uncommitted changes in /etc prior to emerge run
authorFrank Brehm <frank@brehm-online.com>
Fri, 11 Mar 2016 15:28:51 +0000 (16:28 +0100)
committerFrank Brehm <root@bruni.home.brehm-online.com>
Fri, 11 Mar 2016 15:28:51 +0000 (16:28 +0100)
dbus-1/system.d/org.freedesktop.GeoClue2.Agent.conf
dbus-1/system.d/org.freedesktop.GeoClue2.conf
geoclue/geoclue.conf

index b9824dc88942780dab816fb69cbce2718b6d0a17..ad5243c4f8ccea2f2e7ad57aeaf57d739b69c74a 100644 (file)
@@ -2,7 +2,14 @@
  "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
  "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
 <busconfig>
-  <policy context="default">
+  <policy user="geoclue">
+    <allow send_interface="org.freedesktop.GeoClue2.Agent"
+           send_path="/org/freedesktop/GeoClue2/Agent"/>
+    <allow send_interface="org.freedesktop.DBus.Properties"
+           send_path="/org/freedesktop/GeoClue2/Agent"/>
+  </policy>
+
+  <policy user="root">
     <allow send_interface="org.freedesktop.GeoClue2.Agent"
            send_path="/org/freedesktop/GeoClue2/Agent"/>
     <allow send_interface="org.freedesktop.DBus.Properties"
index 070fecf16332275315497c2dbb64c18fdd97deb9..1de081683ef6a59d5e24b25023adef39f43e7ebb 100644 (file)
@@ -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>
index 88a227ed3f8e404b53d79fdf3c00eb316b871690..eb69f5d5c92494747fb143d1920d23aa62cb46cf 100644 (file)
@@ -7,6 +7,12 @@
 # separated by a ';'.
 whitelist=gnome-shell
 
+# Network NMEA source configuration options
+[network-nmea]
+
+# Fetch location from NMEA sources on local network?
+enable=true
+
 # WiFi source configuration options
 [wifi]
 
@@ -36,6 +42,12 @@ submission-nick=geoclue
 
 # Application configuration options
 #
+# NOTE: Having an entry here for an application with allowed=true means that
+#       geoclue will not ask agent to authorize the application. This is to
+#       ensure that system components and applications with built-in
+#       authorization mechanism (e.g web browsers) do not have to be bound to
+#       agents.
+#
 # Format:
 #
 # # Desktop ID of application without .desktop part