1
<!DOCTYPE busconfig PUBLIC
2
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
3
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
5
<!-- Our well-known bus type, don't change this -->
8
<!-- If we fork, keep the user's original umask to avoid affecting
9
the behavior of child processes. -->
12
<listen>unix:tmpdir=/tmp</listen>
14
<!-- Search for .service files in our special services dir -->
15
<servicedir>@abs_top_srcdir@/tests/lib/backends/telepathy/contactlist/_gen</servicedir>
17
<policy context="default">
18
<!-- Allow everything to be sent -->
19
<allow send_destination="*" eavesdrop="true"/>
20
<!-- Allow everything to be received -->
21
<allow eavesdrop="true"/>
22
<!-- Allow anyone to own anything -->
26
<!-- raise the service start timeout to 40 seconds as it can timeout
27
on the live cd on slow machines -->
28
<limit name="service_start_timeout">60000</limit>
30
<include if_selinux_enabled="yes" selinux_root_relative="yes">contexts/dbus_contexts</include>
32
<!-- For the session bus, override the default relatively-low limits
33
with essentially infinite limits, since the bus is just running
34
as the user anyway, using up bus resources is not something we need
35
to worry about. In some cases, we do set the limits lower than
36
"all available memory" if exceeding the limit is almost certainly a bug,
37
having the bus enforce a limit is nicer than a huge memory leak. But the
38
intent is that these limits should never be hit. -->
40
<!-- the memory limits are 1G instead of say 4G because they can't exceed 32-bit signed int max -->
41
<limit name="max_incoming_bytes">1000000000</limit>
42
<limit name="max_outgoing_bytes">1000000000</limit>
43
<limit name="max_message_size">1000000000</limit>
44
<limit name="service_start_timeout">120000</limit>
45
<limit name="auth_timeout">240000</limit>
46
<limit name="max_completed_connections">100000</limit>
47
<limit name="max_incomplete_connections">10000</limit>
48
<limit name="max_connections_per_user">100000</limit>
49
<limit name="max_pending_service_starts">10000</limit>
50
<limit name="max_names_per_connection">50000</limit>
51
<limit name="max_match_rules_per_connection">50000</limit>
52
<limit name="max_replies_per_connection">50000</limit>