Merge lp:~facundo/magicicada-client/add-dbus-session-conf into lp:magicicada-client

Proposed by Facundo Batista
Status: Merged
Approved by: Natalia Bidart
Approved revision: 1450
Merged at revision: 1450
Proposed branch: lp:~facundo/magicicada-client/add-dbus-session-conf
Merge into: lp:magicicada-client
Diff against target: 67 lines (+63/-0)
1 file modified
data/dbus-session.conf.in (+63/-0)
To merge this branch: bzr merge lp:~facundo/magicicada-client/add-dbus-session-conf
Reviewer Review Type Date Requested Status
Natalia Bidart Approve
Review via email: mp+348121@code.launchpad.net

Commit message

Added the dbus session conf missing file.

To post a comment you must log in.
Revision history for this message
Facundo Batista (facundo) wrote :

This file was included in the original "all-venv" branch, but then somehow I missed to include it in the new branch I rebuilt after the namespace change.

Revision history for this message
Natalia Bidart (nataliabidart) wrote :

LGTM

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'data/dbus-session.conf.in'
2--- data/dbus-session.conf.in 1970-01-01 00:00:00 +0000
3+++ data/dbus-session.conf.in 2018-06-16 15:54:14 +0000
4@@ -0,0 +1,63 @@
5+<!-- This configuration file controls our test-only session bus -->
6+
7+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN"
8+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
9+<busconfig>
10+ <!-- We only use a session bus -->
11+ <type>session</type>
12+
13+ <listen>@ADDRESS@</listen>
14+
15+ <!-- Load our own services.
16+ To make other dbus service in this session bus, just add another servicedir entry. -->
17+ <servicedir>dbus-session</servicedir>
18+ <!-- Load the standard session services -->
19+ <!--standard_session_servicedirs /-->
20+
21+ <policy context="default">
22+ <!-- Allow everything to be sent -->
23+ <allow send_destination="*" eavesdrop="true"/>
24+ <!-- Allow everything to be received -->
25+ <allow eavesdrop="true"/>
26+ <!-- Allow anyone to own anything -->
27+ <allow own="*"/>
28+ </policy>
29+
30+ <!-- Config files are placed here that among other things,
31+ further restrict the above policy for specific services. -->
32+ <includedir>/etc/dbus-1/session.d</includedir>
33+
34+ <!-- raise the service start timeout to 40 seconds as it can timeout
35+ on the live cd on slow machines -->
36+ <limit name="service_start_timeout">60000</limit>
37+
38+ <!-- This is included last so local configuration can override what's
39+ in this standard file -->
40+ <include ignore_missing="yes">session-local.conf</include>
41+
42+ <include ignore_missing="yes" if_selinux_enabled="yes" selinux_root_relative="yes">contexts/dbus_contexts</include>
43+
44+ <!-- For the session bus, override the default relatively-low limits
45+ with essentially infinite limits, since the bus is just running
46+ as the user anyway, using up bus resources is not something we need
47+ to worry about. In some cases, we do set the limits lower than
48+ "all available memory" if exceeding the limit is almost certainly a bug,
49+ having the bus enforce a limit is nicer than a huge memory leak. But the
50+ intent is that these limits should never be hit. -->
51+
52+ <!-- the memory limits are 1G instead of say 4G because they can't exceed 32-bit signed int max -->
53+ <limit name="max_incoming_bytes">1000000000</limit>
54+ <limit name="max_outgoing_bytes">1000000000</limit>
55+ <limit name="max_message_size">1000000000</limit>
56+ <limit name="service_start_timeout">120000</limit>
57+ <limit name="auth_timeout">240000</limit>
58+ <limit name="max_completed_connections">100000</limit>
59+ <limit name="max_incomplete_connections">10000</limit>
60+ <limit name="max_connections_per_user">100000</limit>
61+ <limit name="max_pending_service_starts">10000</limit>
62+ <limit name="max_names_per_connection">50000</limit>
63+ <limit name="max_match_rules_per_connection">50000</limit>
64+ <limit name="max_replies_per_connection">50000</limit>
65+ <limit name="reply_timeout">300000</limit>
66+
67+</busconfig>

Subscribers

People subscribed via source and target branches

to all changes: