udev: String substitutions can be done in ENV, too
[systemd_ALT.git] / src / core / org.freedesktop.systemd1.conf
blob52034e07e73280b576504b6468f1e1c9d224437e
1 <?xml version="1.0"?> <!--*-nxml-*-->
2 <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
3 "https://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
5 <!--
6 SPDX-License-Identifier: LGPL-2.1-or-later
8 This file is part of systemd.
10 systemd is free software; you can redistribute it and/or modify it
11 under the terms of the GNU Lesser General Public License as published by
12 the Free Software Foundation; either version 2.1 of the License, or
13 (at your option) any later version.
14 -->
16 <busconfig>
18 <policy user="root">
19 <allow own="org.freedesktop.systemd1"/>
21 <!-- Root clients can do everything -->
22 <allow send_destination="org.freedesktop.systemd1"/>
23 <allow receive_sender="org.freedesktop.systemd1"/>
25 <!-- systemd may receive activator requests -->
26 <allow receive_interface="org.freedesktop.systemd1.Activator"
27 receive_member="ActivationRequest"/>
28 </policy>
30 <policy context="default">
31 <deny send_destination="org.freedesktop.systemd1"/>
33 <!-- Completely open to anyone: org.freedesktop.DBus.* interfaces -->
35 <allow send_destination="org.freedesktop.systemd1"
36 send_interface="org.freedesktop.DBus.Introspectable"/>
38 <allow send_destination="org.freedesktop.systemd1"
39 send_interface="org.freedesktop.DBus.Peer"/>
41 <allow send_destination="org.freedesktop.systemd1"
42 send_interface="org.freedesktop.DBus.Properties"
43 send_member="Get"/>
45 <allow send_destination="org.freedesktop.systemd1"
46 send_interface="org.freedesktop.DBus.Properties"
47 send_member="GetAll"/>
49 <!-- Completely open to anyone: org.freedesktop.systemd1.Manager interface -->
51 <allow send_destination="org.freedesktop.systemd1"
52 send_interface="org.freedesktop.systemd1.Manager"
53 send_member="GetUnit"/>
55 <allow send_destination="org.freedesktop.systemd1"
56 send_interface="org.freedesktop.systemd1.Manager"
57 send_member="GetUnitByPID"/>
59 <allow send_destination="org.freedesktop.systemd1"
60 send_interface="org.freedesktop.systemd1.Manager"
61 send_member="GetUnitByInvocationID"/>
63 <allow send_destination="org.freedesktop.systemd1"
64 send_interface="org.freedesktop.systemd1.Manager"
65 send_member="GetUnitByControlGroup"/>
67 <allow send_destination="org.freedesktop.systemd1"
68 send_interface="org.freedesktop.systemd1.Manager"
69 send_member="GetUnitByPIDFD"/>
71 <allow send_destination="org.freedesktop.systemd1"
72 send_interface="org.freedesktop.systemd1.Manager"
73 send_member="LoadUnit"/>
75 <allow send_destination="org.freedesktop.systemd1"
76 send_interface="org.freedesktop.systemd1.Manager"
77 send_member="GetUnitProcesses"/>
79 <allow send_destination="org.freedesktop.systemd1"
80 send_interface="org.freedesktop.systemd1.Manager"
81 send_member="GetJob"/>
83 <allow send_destination="org.freedesktop.systemd1"
84 send_interface="org.freedesktop.systemd1.Manager"
85 send_member="GetJobAfter"/>
87 <allow send_destination="org.freedesktop.systemd1"
88 send_interface="org.freedesktop.systemd1.Manager"
89 send_member="GetJobBefore"/>
91 <allow send_destination="org.freedesktop.systemd1"
92 send_interface="org.freedesktop.systemd1.Manager"
93 send_member="ListUnits"/>
95 <allow send_destination="org.freedesktop.systemd1"
96 send_interface="org.freedesktop.systemd1.Manager"
97 send_member="ListUnitsFiltered"/>
99 <allow send_destination="org.freedesktop.systemd1"
100 send_interface="org.freedesktop.systemd1.Manager"
101 send_member="ListUnitsByPatterns"/>
103 <allow send_destination="org.freedesktop.systemd1"
104 send_interface="org.freedesktop.systemd1.Manager"
105 send_member="ListUnitsByNames"/>
107 <allow send_destination="org.freedesktop.systemd1"
108 send_interface="org.freedesktop.systemd1.Manager"
109 send_member="ListJobs"/>
111 <allow send_destination="org.freedesktop.systemd1"
112 send_interface="org.freedesktop.systemd1.Manager"
113 send_member="Subscribe"/>
115 <allow send_destination="org.freedesktop.systemd1"
116 send_interface="org.freedesktop.systemd1.Manager"
117 send_member="Unsubscribe"/>
119 <allow send_destination="org.freedesktop.systemd1"
120 send_interface="org.freedesktop.systemd1.Manager"
121 send_member="Dump"/>
123 <allow send_destination="org.freedesktop.systemd1"
124 send_interface="org.freedesktop.systemd1.Manager"
125 send_member="DumpByFileDescriptor"/>
127 <allow send_destination="org.freedesktop.systemd1"
128 send_interface="org.freedesktop.systemd1.Manager"
129 send_member="DumpUnitsMatchingPatterns"/>
131 <allow send_destination="org.freedesktop.systemd1"
132 send_interface="org.freedesktop.systemd1.Manager"
133 send_member="DumpUnitsMatchingPatternsByFileDescriptor"/>
135 <allow send_destination="org.freedesktop.systemd1"
136 send_interface="org.freedesktop.systemd1.Manager"
137 send_member="ListUnitFiles"/>
139 <allow send_destination="org.freedesktop.systemd1"
140 send_interface="org.freedesktop.systemd1.Manager"
141 send_member="ListUnitFilesByPatterns"/>
143 <allow send_destination="org.freedesktop.systemd1"
144 send_interface="org.freedesktop.systemd1.Manager"
145 send_member="GetUnitFileState"/>
147 <allow send_destination="org.freedesktop.systemd1"
148 send_interface="org.freedesktop.systemd1.Manager"
149 send_member="GetDefaultTarget"/>
151 <allow send_destination="org.freedesktop.systemd1"
152 send_interface="org.freedesktop.systemd1.Manager"
153 send_member="GetUnitFileLinks"/>
155 <allow send_destination="org.freedesktop.systemd1"
156 send_interface="org.freedesktop.systemd1.Manager"
157 send_member="LookupDynamicUserByName"/>
159 <allow send_destination="org.freedesktop.systemd1"
160 send_interface="org.freedesktop.systemd1.Manager"
161 send_member="LookupDynamicUserByUID"/>
163 <allow send_destination="org.freedesktop.systemd1"
164 send_interface="org.freedesktop.systemd1.Manager"
165 send_member="GetDynamicUsers"/>
167 <!-- Completely open to anyone: org.freedesktop.systemd1.Unit interface -->
169 <allow send_destination="org.freedesktop.systemd1"
170 send_interface="org.freedesktop.systemd1.Service"
171 send_member="GetProcesses"/>
173 <!-- Completely open to anyone: org.freedesktop.systemd1.Slice interface -->
175 <allow send_destination="org.freedesktop.systemd1"
176 send_interface="org.freedesktop.systemd1.Slice"
177 send_member="GetProcesses"/>
179 <!-- Completely open to anyone: org.freedesktop.systemd1.Scope interface -->
181 <allow send_destination="org.freedesktop.systemd1"
182 send_interface="org.freedesktop.systemd1.Scope"
183 send_member="GetProcesses"/>
185 <!-- Completely open to anyone: org.freedesktop.systemd1.Socket interface -->
187 <allow send_destination="org.freedesktop.systemd1"
188 send_interface="org.freedesktop.systemd1.Socket"
189 send_member="GetProcesses"/>
191 <!-- Completely open to anyone: org.freedesktop.systemd1.Mount interface -->
193 <allow send_destination="org.freedesktop.systemd1"
194 send_interface="org.freedesktop.systemd1.Mount"
195 send_member="GetProcesses"/>
197 <!-- Completely open to anyone: org.freedesktop.systemd1.Swap interface -->
199 <allow send_destination="org.freedesktop.systemd1"
200 send_interface="org.freedesktop.systemd1.Swap"
201 send_member="GetProcesses"/>
203 <!-- Managed via polkit or other criteria: org.freedesktop.systemd1.Manager interface -->
205 <allow send_destination="org.freedesktop.systemd1"
206 send_interface="org.freedesktop.systemd1.Manager"
207 send_member="StartUnit"/>
209 <allow send_destination="org.freedesktop.systemd1"
210 send_interface="org.freedesktop.systemd1.Manager"
211 send_member="StartUnitReplace"/>
213 <allow send_destination="org.freedesktop.systemd1"
214 send_interface="org.freedesktop.systemd1.Manager"
215 send_member="StopUnit"/>
217 <allow send_destination="org.freedesktop.systemd1"
218 send_interface="org.freedesktop.systemd1.Manager"
219 send_member="ReloadUnit"/>
221 <allow send_destination="org.freedesktop.systemd1"
222 send_interface="org.freedesktop.systemd1.Manager"
223 send_member="RestartUnit"/>
225 <allow send_destination="org.freedesktop.systemd1"
226 send_interface="org.freedesktop.systemd1.Manager"
227 send_member="TryRestartUnit"/>
229 <allow send_destination="org.freedesktop.systemd1"
230 send_interface="org.freedesktop.systemd1.Manager"
231 send_member="ReloadOrRestartUnit"/>
233 <allow send_destination="org.freedesktop.systemd1"
234 send_interface="org.freedesktop.systemd1.Manager"
235 send_member="ReloadOrTryRestartUnit"/>
237 <allow send_destination="org.freedesktop.systemd1"
238 send_interface="org.freedesktop.systemd1.Manager"
239 send_member="BindMountUnit"/>
241 <allow send_destination="org.freedesktop.systemd1"
242 send_interface="org.freedesktop.systemd1.Manager"
243 send_member="MountImageUnit"/>
245 <allow send_destination="org.freedesktop.systemd1"
246 send_interface="org.freedesktop.systemd1.Manager"
247 send_member="KillUnit"/>
249 <allow send_destination="org.freedesktop.systemd1"
250 send_interface="org.freedesktop.systemd1.Manager"
251 send_member="QueueSignalUnit"/>
253 <allow send_destination="org.freedesktop.systemd1"
254 send_interface="org.freedesktop.systemd1.Manager"
255 send_member="ResetFailedUnit"/>
257 <allow send_destination="org.freedesktop.systemd1"
258 send_interface="org.freedesktop.systemd1.Manager"
259 send_member="SetUnitProperties"/>
261 <allow send_destination="org.freedesktop.systemd1"
262 send_interface="org.freedesktop.systemd1.Manager"
263 send_member="RefUnit"/>
265 <allow send_destination="org.freedesktop.systemd1"
266 send_interface="org.freedesktop.systemd1.Manager"
267 send_member="UnrefUnit"/>
269 <allow send_destination="org.freedesktop.systemd1"
270 send_interface="org.freedesktop.systemd1.Manager"
271 send_member="StartTransientUnit"/>
273 <allow send_destination="org.freedesktop.systemd1"
274 send_interface="org.freedesktop.systemd1.Manager"
275 send_member="AttachProcessesToUnit"/>
277 <allow send_destination="org.freedesktop.systemd1"
278 send_interface="org.freedesktop.systemd1.Manager"
279 send_member="CancelJob"/>
281 <allow send_destination="org.freedesktop.systemd1"
282 send_interface="org.freedesktop.systemd1.Manager"
283 send_member="ClearJobs"/>
285 <allow send_destination="org.freedesktop.systemd1"
286 send_interface="org.freedesktop.systemd1.Manager"
287 send_member="ResetFailed"/>
289 <allow send_destination="org.freedesktop.systemd1"
290 send_interface="org.freedesktop.systemd1.Manager"
291 send_member="Reload"/>
293 <allow send_destination="org.freedesktop.systemd1"
294 send_interface="org.freedesktop.systemd1.Manager"
295 send_member="Reexecute"/>
297 <allow send_destination="org.freedesktop.systemd1"
298 send_interface="org.freedesktop.systemd1.Manager"
299 send_member="EnableUnitFiles"/>
301 <allow send_destination="org.freedesktop.systemd1"
302 send_interface="org.freedesktop.systemd1.Manager"
303 send_member="EnableUnitFilesWithFlags"/>
305 <allow send_destination="org.freedesktop.systemd1"
306 send_interface="org.freedesktop.systemd1.Manager"
307 send_member="DisableUnitFiles"/>
309 <allow send_destination="org.freedesktop.systemd1"
310 send_interface="org.freedesktop.systemd1.Manager"
311 send_member="DisableUnitFilesWithFlags"/>
313 <allow send_destination="org.freedesktop.systemd1"
314 send_interface="org.freedesktop.systemd1.Manager"
315 send_member="DisableUnitFilesWithFlagsAndInstallInfo"/>
317 <allow send_destination="org.freedesktop.systemd1"
318 send_interface="org.freedesktop.systemd1.Manager"
319 send_member="ReenableUnitFiles"/>
321 <allow send_destination="org.freedesktop.systemd1"
322 send_interface="org.freedesktop.systemd1.Manager"
323 send_member="LinkUnitFiles"/>
325 <allow send_destination="org.freedesktop.systemd1"
326 send_interface="org.freedesktop.systemd1.Manager"
327 send_member="PresetUnitFiles"/>
329 <allow send_destination="org.freedesktop.systemd1"
330 send_interface="org.freedesktop.systemd1.Manager"
331 send_member="PresetUnitFilesWithMode"/>
333 <allow send_destination="org.freedesktop.systemd1"
334 send_interface="org.freedesktop.systemd1.Manager"
335 send_member="MaskUnitFiles"/>
337 <allow send_destination="org.freedesktop.systemd1"
338 send_interface="org.freedesktop.systemd1.Manager"
339 send_member="UnmaskUnitFiles"/>
341 <allow send_destination="org.freedesktop.systemd1"
342 send_interface="org.freedesktop.systemd1.Manager"
343 send_member="RevertUnitFiles"/>
345 <allow send_destination="org.freedesktop.systemd1"
346 send_interface="org.freedesktop.systemd1.Manager"
347 send_member="SetDefaultTarget"/>
349 <allow send_destination="org.freedesktop.systemd1"
350 send_interface="org.freedesktop.systemd1.Manager"
351 send_member="PresetAllUnitFiles"/>
353 <allow send_destination="org.freedesktop.systemd1"
354 send_interface="org.freedesktop.systemd1.Manager"
355 send_member="AddDependencyUnitFiles"/>
357 <allow send_destination="org.freedesktop.systemd1"
358 send_interface="org.freedesktop.systemd1.Manager"
359 send_member="SetShowStatus"/>
361 <!-- Managed via polkit or other criteria: org.freedesktop.systemd1.Job interface -->
363 <allow send_destination="org.freedesktop.systemd1"
364 send_interface="org.freedesktop.systemd1.Job"
365 send_member="Cancel"/>
367 <allow send_destination="org.freedesktop.systemd1"
368 send_interface="org.freedesktop.systemd1.Job"
369 send_member="GetAfter"/>
371 <allow send_destination="org.freedesktop.systemd1"
372 send_interface="org.freedesktop.systemd1.Job"
373 send_member="GetBefore"/>
375 <!-- Managed via polkit or other criteria: org.freedesktop.systemd1.Unit interface -->
377 <allow send_destination="org.freedesktop.systemd1"
378 send_interface="org.freedesktop.systemd1.Unit"
379 send_member="Start"/>
381 <allow send_destination="org.freedesktop.systemd1"
382 send_interface="org.freedesktop.systemd1.Unit"
383 send_member="Stop"/>
385 <allow send_destination="org.freedesktop.systemd1"
386 send_interface="org.freedesktop.systemd1.Unit"
387 send_member="Reload"/>
389 <allow send_destination="org.freedesktop.systemd1"
390 send_interface="org.freedesktop.systemd1.Unit"
391 send_member="Restart"/>
393 <allow send_destination="org.freedesktop.systemd1"
394 send_interface="org.freedesktop.systemd1.Unit"
395 send_member="TryRestart"/>
397 <allow send_destination="org.freedesktop.systemd1"
398 send_interface="org.freedesktop.systemd1.Unit"
399 send_member="ReloadOrRestart"/>
401 <allow send_destination="org.freedesktop.systemd1"
402 send_interface="org.freedesktop.systemd1.Unit"
403 send_member="ReloadOrTryRestart"/>
405 <allow send_destination="org.freedesktop.systemd1"
406 send_interface="org.freedesktop.systemd1.Unit"
407 send_member="Kill"/>
409 <allow send_destination="org.freedesktop.systemd1"
410 send_interface="org.freedesktop.systemd1.Unit"
411 send_member="QueueSignal"/>
413 <allow send_destination="org.freedesktop.systemd1"
414 send_interface="org.freedesktop.systemd1.Unit"
415 send_member="ResetFailed"/>
417 <allow send_destination="org.freedesktop.systemd1"
418 send_interface="org.freedesktop.systemd1.Unit"
419 send_member="SetProperties"/>
421 <allow send_destination="org.freedesktop.systemd1"
422 send_interface="org.freedesktop.systemd1.Unit"
423 send_member="Ref"/>
425 <allow send_destination="org.freedesktop.systemd1"
426 send_interface="org.freedesktop.systemd1.Unit"
427 send_member="Unref"/>
429 <!-- Managed via polkit or other criteria: org.freedesktop.systemd1.Service interface -->
431 <allow send_destination="org.freedesktop.systemd1"
432 send_interface="org.freedesktop.systemd1.Service"
433 send_member="AttachProcesses"/>
435 <allow send_destination="org.freedesktop.systemd1"
436 send_interface="org.freedesktop.systemd1.Service"
437 send_member="BindMount"/>
439 <allow send_destination="org.freedesktop.systemd1"
440 send_interface="org.freedesktop.systemd1.Service"
441 send_member="MountImage"/>
443 <!-- Managed via polkit or other criteria: org.freedesktop.systemd1.Scope interface -->
445 <allow send_destination="org.freedesktop.systemd1"
446 send_interface="org.freedesktop.systemd1.Scope"
447 send_member="AttachProcesses"/>
449 <allow receive_sender="org.freedesktop.systemd1"/>
450 </policy>
452 </busconfig>