]> arthur.barton.de Git - netatalk.git/blobdiff - config/dbus-session.conf.tmpl
Writing metadata xattr on directories with sticky bit set, FR#94
[netatalk.git] / config / dbus-session.conf.tmpl
index aa132fd27c9fa044a70bd27c0b32b5d213da4de7..f84b923930ac3103d1e7bf1978672f430dd540a2 100644 (file)
@@ -8,34 +8,18 @@
        the behavior of child processes. -->
   <keep_umask/>
 
-  <listen>unix:path=/tmp/spotlight.ipc</listen>
-  <allow_anonymous />
+  <listen>unix:path=:LOCALSTATEDIR:/netatalk/spotlight.ipc</listen>
 
   <standard_session_servicedirs />
 
   <policy context="default">
-    <!-- Allow everything to be sent -->
+    <allow user="*"/>
+    <allow own="*"/>
     <allow send_destination="*" eavesdrop="true"/>
-    <!-- Allow everything to be received -->
+    <allow receive_sender="*"/>
     <allow eavesdrop="true"/>
-    <!-- Allow anyone to own anything -->
-    <allow own="*"/>
   </policy>
 
-  <!-- raise the service start timeout to 40 seconds as it can timeout
-       on the live cd on slow machines -->
-  <limit name="service_start_timeout">60000</limit>
-
-  <!-- Config files are placed here that among other things, 
-       further restrict the above policy for specific services. -->
-  <includedir>/etc/dbus-1/session.d</includedir>
-
-  <!-- This is included last so local configuration can override what's 
-       in this standard file -->
-  <include ignore_missing="yes">session-local.conf</include>
-
-  <include if_selinux_enabled="yes" selinux_root_relative="yes">contexts/dbus_contexts</include>
-
   <!-- For the session bus, override the default relatively-low limits 
        with essentially infinite limits, since the bus is just running 
        as the user anyway, using up bus resources is not something we need