]> arthur.barton.de Git - netatalk.git/blob - config/dbus-session.conf.tmpl
Writing metadata xattr on directories with sticky bit set, FR#94
[netatalk.git] / config / dbus-session.conf.tmpl
1 <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN"
2  "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
3 <busconfig>
4   <!-- Our well-known bus type, don't change this -->
5   <type>session</type>
6
7   <!-- If we fork, keep the user's original umask to avoid affecting
8        the behavior of child processes. -->
9   <keep_umask/>
10
11   <listen>unix:path=:LOCALSTATEDIR:/netatalk/spotlight.ipc</listen>
12
13   <standard_session_servicedirs />
14
15   <policy context="default">
16     <allow user="*"/>
17     <allow own="*"/>
18     <allow send_destination="*" eavesdrop="true"/>
19     <allow receive_sender="*"/>
20     <allow eavesdrop="true"/>
21   </policy>
22
23   <!-- For the session bus, override the default relatively-low limits 
24        with essentially infinite limits, since the bus is just running 
25        as the user anyway, using up bus resources is not something we need 
26        to worry about. In some cases, we do set the limits lower than 
27        "all available memory" if exceeding the limit is almost certainly a bug, 
28        having the bus enforce a limit is nicer than a huge memory leak. But the 
29        intent is that these limits should never be hit. -->
30
31   <!-- the memory limits are 1G instead of say 4G because they can't exceed 32-bit signed int max -->
32   <limit name="max_incoming_bytes">1000000000</limit>
33   <limit name="max_outgoing_bytes">1000000000</limit>
34   <limit name="max_message_size">1000000000</limit>
35   <limit name="service_start_timeout">120000</limit>  
36   <limit name="auth_timeout">240000</limit>
37   <limit name="max_completed_connections">100000</limit>  
38   <limit name="max_incomplete_connections">10000</limit>
39   <limit name="max_connections_per_user">100000</limit>
40   <limit name="max_pending_service_starts">10000</limit>
41   <limit name="max_names_per_connection">50000</limit>
42   <limit name="max_match_rules_per_connection">50000</limit>
43   <limit name="max_replies_per_connection">50000</limit>
44
45 </busconfig>