source: general/sysutils/dbus.xml@ 532405b

12.0 12.1 12.2 gimp3 ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/for-12.3 xry111/llvm18 xry111/spidermonkey128
Last change on this file since 532405b was d241861, checked in by Bruce Dubbs <bdubbs@…>, 16 months ago

Update to dbus-1.14.8.

  • Property mode set to 100644
File size: 25.6 KB
RevLine 
[e8e3312d]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[e8e3312d]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[996f3953]7 <!ENTITY dbus-download-http "https://dbus.freedesktop.org/releases/dbus/dbus-&dbus-version;.tar.xz">
[30d0aef]8 <!ENTITY dbus-download-ftp " ">
[d241861]9 <!ENTITY dbus-md5sum "da42f55aeec51b355587bc3062fc2d41">
[996f3953]10 <!ENTITY dbus-size "1.3 MB">
[404943c6]11 <!ENTITY dbus-buildsize "23 MB (add 20 MB for tests)">
[d241861]12 <!ENTITY dbus-time "0.2 SBU (add 1.6 SBU for tests)">
[819a4c7]13 <!-- The former value was 0.8 SBU, which was far more sensible. -->
[b66e67e0]14 <!-- I got 'real 0m14.355s' for make check at -j1; bdubbs dbus-1.14.2 -->
[404943c6]15 <!-- Now 'real 2m51.642ss' for make check at -j1; bdubbs dbus-1.14.6
16# TOTAL: 217
17# PASS: 217
[d241861]18
19Sane test resuults for 1.14.8. -bdubbs
[404943c6]20 -->
[e8e3312d]21]>
22
[fdaae04]23<sect1 id="dbus" xreflabel="dbus-&dbus-version;">
[e8e3312d]24 <?dbhtml filename="dbus.html"?>
25
26
[53375fc]27 <title>dbus-&dbus-version;</title>
[e8e3312d]28
[54666831]29 <indexterm zone="dbus">
30 <primary sortas="a-D-Bus">D-Bus</primary>
[e8e3312d]31 </indexterm>
32
33 <sect2 role="package">
[54666831]34 <title>Introduction to D-Bus</title>
[e8e3312d]35
[5c9e998]36 <para revision="sysv">
[108beaf]37 <application>D-Bus</application> is a message bus system, a simple way
38 for applications to talk to one another.
39 <application>D-Bus</application> supplies both a system daemon (for
40 events such as <quote>new hardware device added</quote> or <quote>printer
41 queue changed</quote>) and a per-user-login-session daemon (for general
42 IPC needs among user applications). Also, the message bus is built on top
43 of a general one-to-one message passing framework, which can be used by
44 any two applications to communicate directly (without going through the
45 message bus daemon).
[0b83a69]46 </para>
[e8e3312d]47
[5c9e998]48 <para revision="systemd">
49 Even though <application>D-Bus</application> was built in LFS, there are
50 some features provided by the package that other BLFS packages need, but
51 their dependencies didn't fit into LFS.
52 </para>
53
[18aa9339]54 &lfs113_checked;
[482477c]55
[e8e3312d]56 <bridgehead renderas="sect3">Package Information</bridgehead>
57 <itemizedlist spacing="compact">
58 <listitem>
[0b83a69]59 <para>
60 Download (HTTP): <ulink url="&dbus-download-http;"/>
61 </para>
[e8e3312d]62 </listitem>
63 <listitem>
[0b83a69]64 <para>
65 Download (FTP): <ulink url="&dbus-download-ftp;"/>
66 </para>
[e8e3312d]67 </listitem>
68 <listitem>
[0b83a69]69 <para>
70 Download MD5 sum: &dbus-md5sum;
71 </para>
[e8e3312d]72 </listitem>
73 <listitem>
[0b83a69]74 <para>
75 Download size: &dbus-size;
76 </para>
[e8e3312d]77 </listitem>
78 <listitem>
[0b83a69]79 <para>
80 Estimated disk space required: &dbus-buildsize;
81 </para>
[e8e3312d]82 </listitem>
83 <listitem>
[0b83a69]84 <para>
85 Estimated build time: &dbus-time;
86 </para>
[e8e3312d]87 </listitem>
88 </itemizedlist>
89
[02e742b]90 <bridgehead renderas="sect3">D-Bus Dependencies</bridgehead>
[e8e3312d]91
[54666831]92 <bridgehead renderas="sect4">Recommended</bridgehead>
93 <para role="recommended">
[8558044]94 <xref linkend="xorg7-lib"/> (for <command>dbus-launch</command> program)
[70d6ea4]95 <!-- elogind cannot be used by dbus: dbus only uses the systemd service,
96 not the logind one
[bc3bb455]97 <phrase revision="sysv">and <xref linkend="elogind"/> (These are
[8558044]98 circular dependencies. First build without them, and then again after
[70d6ea4]99 both packages are installed.)</phrase>-->
[0b83a69]100 </para>
[adfdc8b]101
[e8e3312d]102 <bridgehead renderas="sect4">Optional</bridgehead>
[b6a2a0e]103 <para role="optional">
[30b01dbd]104 <phrase revision="systemd"><xref role="runtime" linkend="systemd"/>
105 (for registering services launched by D-Bus session daemon as systemd
106 user services);</phrase>
[f1d25d2]107 For the tests:
[c358685]108 <xref linkend="dbus-python"/>,
[1665413]109 <xref linkend="pygobject3"/>,
[48b0ed4]110 and <xref linkend="valgrind"/>;
[c358685]111
112 for documentation:
113 <xref linkend="doxygen"/>,
114 <xref linkend="xmlto"/>,
115 <ulink url="https://pypi.python.org/pypi/mallard-ducktype">Ducktype</ulink>,
116 and
[01701da9]117 <ulink url="&gnome-download-http;/yelp-tools/">Yelp Tools</ulink>
[0b83a69]118 </para>
[c45cb57]119
[1039de3]120 <para condition="html" role="usernotes">User Notes:
[0b83a69]121 <ulink url="&blfs-wiki;/dbus"/>
122 </para>
[e8e3312d]123 </sect2>
124
125 <sect2 role="installation">
[02e742b]126 <title>Installation of D-Bus</title>
[2543b8af]127 <!--
[670d3f8]128 <para revision="sysv">
[ef52ec2]129 If they do not already exist,
130 as the <systemitem class="username">root</systemitem> user, create a
[54666831]131 system user and group to handle the system message bus activity:
132 </para>
133
[670d3f8]134<screen role="root" revision="sysv"><userinput>groupadd -g 18 messagebus &amp;&amp;
[54666831]135useradd -c "D-Bus Message Daemon User" -d /var/run/dbus \
136 -u 18 -g messagebus -s /bin/false messagebus</userinput></screen>
[2543b8af]137 -->
[54666831]138
139 <para>
140 Install <application>D-Bus</application> by running the following
[108beaf]141 commands (you may wish to review the output from <command>./configure
142 --help</command> first and add any desired parameters to the
143 <command>configure</command> command shown below):
[0b83a69]144 </para>
[e8e3312d]145
[70d6ea4]146 <!-- Only usefull for systemd: it installs the services files in the
147 systemd/user
148 - -enable-user-session \ -->
[9eb7ee7]149<screen revision="sysv"><userinput>./configure --prefix=/usr \
[f29eb8a]150 --sysconfdir=/etc \
151 --localstatedir=/var \
[86b410e3]152 --runstatedir=/run \
[f29eb8a]153 --disable-doxygen-docs \
154 --disable-xml-docs \
155 --disable-static \
[51dfb3e]156 --with-systemduserunitdir=no \
157 --with-systemdsystemunitdir=no \
[0075912]158 --docdir=/usr/share/doc/dbus-&dbus-version; \
[f29eb8a]159 --with-system-socket=/run/dbus/system_bus_socket &amp;&amp;
[e8e3312d]160make</userinput></screen>
161
[f29eb8a]162<screen revision="systemd"><userinput>./configure --prefix=/usr \
163 --sysconfdir=/etc \
164 --localstatedir=/var \
[86b410e3]165 --runstatedir=/run \
[f29eb8a]166 --enable-user-session \
167 --disable-doxygen-docs \
168 --disable-xml-docs \
169 --disable-static \
[0075912]170 --docdir=/usr/share/doc/dbus-&dbus-version; \
[f29eb8a]171 --with-system-socket=/run/dbus/system_bus_socket &amp;&amp;
[5c9e998]172make</userinput></screen>
173
[0b83a69]174 <para>
175 See below for test instructions.
176 </para>
[c45cb57]177
[a761478]178<!--
[5c9e998]179 <warning revision="systemd">
180 <para>
181 Installing the package will override all files installed by
182 <application>D-Bus</application> in LFS. It is critical that
183 nothing uses <application>D-Bus</application> libraries or
[670d3f8]184 programs during the installation. The best way to ensure that these
185 libraries are not being used is to run the installation in rescue mode.
186 To switch to rescue mode, run the following command as the
187 <systemitem class="username">root</systemitem> user (from a TTY):
[5c9e998]188 </para>
[670d3f8]189
190<screen role="root"><userinput>systemctl start rescue.target</userinput></screen>
191
[5c9e998]192 </warning>
[a761478]193-->
[5c9e998]194
[0b83a69]195 <para>
196 Now, as the <systemitem class="username">root</systemitem> user:
197 </para>
[e8e3312d]198
[108beaf]199<screen role="root"><userinput>make install</userinput></screen>
[b6a2a0e]200
[d4eefa36]201<!-- FIXME: No longer needed with usr merge
[51dfb3e]202 <para>
[787a2e75]203 The shared library needs to be moved to
204 <filename class="directory">/lib</filename>, and as a result the
205 <filename class="extension">.so</filename> file in
206 <filename class="directory">/usr/lib</filename> will need to be
207 recreated. Run the following command as the
208 <systemitem class="username">root</systemitem> user:
209 </para>
210
[51dfb3e]211<screen role="root"><userinput>mv -v /usr/lib/libdbus-1.so.* /lib &amp;&amp;
[787a2e75]212ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so</userinput></screen>
[d4eefa36]213-->
[787a2e75]214
[bf8eb65]215 <para>
216 If you are using a DESTDIR install,
217 <command>dbus-daemon-launch-helper</command> needs to be fixed
218 afterwards. Issue, as <systemitem class="username">root</systemitem>
219 user:
220 </para>
221
222<screen role="root"><userinput>chown -v root:messagebus /usr/libexec/dbus-daemon-launch-helper &amp;&amp;
223chmod -v 4750 /usr/libexec/dbus-daemon-launch-helper</userinput></screen>
224
[787a2e75]225 <para revision="sysv">
[54666831]226 If you are still building your system in chroot or you did not start the
227 daemon yet, but you want to compile some packages that require
[8558044]228 <application>D-Bus</application>, generate the
[54666831]229 <application>D-Bus</application> UUID to avoid warnings when compiling
230 some packages with the following command as the
[3bbf74c5]231 <systemitem class="username">root</systemitem> user:
232 </para>
233
[787a2e75]234<screen role="root" revision="sysv"><userinput>dbus-uuidgen --ensure</userinput></screen>
[54666831]235
[51dfb3e]236 <para revision="sysv">
237 If using <xref linkend="elogind"/>, create a symlink to the
238 <filename>/var/lib/dbus/machine-id</filename> file:
239 </para>
240
[4365e4d1]241<screen role="root" revision="sysv"><userinput>ln -sfv /var/lib/dbus/machine-id /etc</userinput></screen>
[51dfb3e]242
[a761478]243<!--
[5c9e998]244 <para revision="systemd">
245 If not in chroot, at this point, you should reload the systemd daemon,
246 and reenter multi-user mode with the following commands (as the
247 <systemitem class="username">root</systemitem> user):
248 </para>
249
250<screen role="root" revision="systemd"><userinput>systemctl daemon-reload
251systemctl start multi-user.target</userinput></screen>
[a761478]252-->
[5c9e998]253
[66e22c9b]254 <!-- Without dbus-python and pygobject3, only 39 tests are run and
255 11 out of 39 are skipped. With dbus-python and pygobject3
256 installed, 238 tests are run and 37 out of 238 are skipped. -->
257
[3bbf74c5]258 <para>
[66e22c9b]259 Many tests are disabled unless both <xref linkend="dbus-python"/>
260 and <xref linkend="pygobject3"/> have been installed. They must be
261 run as an unprivileged user from a local session with bus address.
262 To run the standard tests issue <command>make check</command>.
[1665413]263 </para>
264
[66e22c9b]265 <!-- With dbus-python and pygobject3 installed and these additional
266 debug options, 347 tests are run and 21 out of 347 are skipped.
267 Additionally, 217 tests in the "name-test" directory are run
268 and none is skipped. -->
[1665413]269 <para>
270 If you want to run the unit regression tests, configure requires
271 additional parameters which expose additional functionality in the
272 binaries that are not intended to be used in a production build of
[108beaf]273 <application>D-Bus</application>. If you would like to run the tests,
[6092d19]274 issue the following commands (for the tests, you don't need to build the
275 docs):
[0b83a69]276 </para>
[0d7900a]277
[e532fc22]278<screen remap="test"><userinput>make distclean &amp;&amp;
279PYTHON=python3 ./configure --enable-tests \
280 --enable-asserts \
281 --disable-doxygen-docs \
282 --disable-xml-docs &amp;&amp;
283make &amp;&amp;
[02fc2ae]284make check</userinput></screen>
[c45cb57]285
[53dd18f1]286 <para>
[8558044]287 There have been reports that the tests may fail if running inside a
288 Midnight Commander shell. You may get out-of-memory error messages when
[9e2a8bab]289 running the tests. These are normal and can be safely ignored.
[54666831]290 </para>
[e8e3312d]291
292 </sect2>
293
294 <sect2 role="commands">
295 <title>Command Explanations</title>
296
[108beaf]297 <para>
298 <parameter>--disable-doxygen-docs</parameter>: This switch disables
[6092d19]299 doxygen documentation build and install, if you have
[670d3f8]300 <application>doxygen</application> installed. If
301 <application>doxygen</application> is installed, and you wish to build
302 them, remove this parameter.
[108beaf]303 </para>
304
[6092d19]305 <para>
306 <parameter>--disable-xml-docs</parameter>: This switch disables html
307 documentation build and install, if you have
[670d3f8]308 <application>xmlto</application> installed. If
309 <application>xmlto</application> is installed, and you wish to build
310 them, remove this parameter.
[6092d19]311 </para>
312
[4532b2f]313 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
314 href="../../xincludes/static-libraries.xml"/>
315
[51dfb3e]316 <para>
317 <parameter>--enable-user-session</parameter>: This parameter enables
318 per-user DBus sessions with
319 <phrase revision="sysv"><application>elogind</application>.</phrase>
320 <phrase revision="systemd"><application>systemd</application>.</phrase>
[54666831]321 </para>
322
[5c9e998]323 <para revision="sysv">
[aa41434]324 <parameter>--with-systemd{user,system}unitdir=no</parameter>: These
[51dfb3e]325 switches disable installation of systemd units on elogind based systems.
[f29eb8a]326 </para>
[0b83a69]327
[f29eb8a]328 <para>
329 <parameter>--with-system-pid-file=/run/dbus/pid</parameter>: This
330 parameter specifies the location of the PID file.
331 </para>
332
333 <para>
334 <parameter>--with-system-socket=/run/dbus/system_bus_socket</parameter>:
335 This parameter specifies the location of the system bus socket.
336 </para>
337
[0b83a69]338 <para>
[9e2a8bab]339 <parameter>--enable-tests</parameter>: Builds extra parts of the code to
[1665413]340 support all tests. Do not use on a production build.
[4947a7a]341 </para>
342
343 <para>
[9e2a8bab]344 <option>--enable-embedded-tests</option>: Builds extra parts of the
[1665413]345 code to support only unit tests. Do not use on a production build.
[0b83a69]346 </para>
347
348 <para>
[9e2a8bab]349 <parameter>--enable-asserts</parameter>: Enables debugging code to run
[e5347c36]350 assertions for statements normally assumed to be true. This prevents a
351 warning that '<parameter>--enable-tests</parameter>' on its own is only
352 useful for profiling and might not give true results for all tests, but
353 adds its own NOTE that this should not be used in a production build.
[0b83a69]354 </para>
[30d0aef]355
[e8e3312d]356 </sect2>
357
358 <sect2 role="configuration">
[670d3f8]359 <title>Configuring D-Bus</title>
[e8e3312d]360
361 <sect3 id="dbus-config">
362 <title>Config Files</title>
[0b83a69]363
364 <para>
365 <filename>/etc/dbus-1/session.conf</filename>,
366 <filename>/etc/dbus-1/system.conf</filename> and
367 <filename>/etc/dbus-1/system.d/*</filename>
368 </para>
[e8e3312d]369
[54666831]370 <indexterm zone="dbus dbus-config">
[e8e3312d]371 <primary sortas="e-etc-dbus-1-session.conf">/etc/dbus-1/session.conf</primary>
372 </indexterm>
373
[54666831]374 <indexterm zone="dbus dbus-config">
[e8e3312d]375 <primary sortas="e-etc-dbus-1/system.conf">/etc/dbus-1/system.conf</primary>
376 </indexterm>
377
[54666831]378 <indexterm zone="dbus dbus-config">
[c45cb57]379 <primary sortas="e-etc-dbus-1-system.d-star">/etc/dbus-1/system.d/*</primary>
[e8e3312d]380 </indexterm>
381
382 </sect3>
383
[e9efab0b]384 <sect3 id="dbus-session-config" xreflabel="D-Bus custom services directory">
385 <title>Configuration Information</title>
[e8e3312d]386
[0b83a69]387 <para>
388 The configuration files listed above should probably not be
389 modified. If changes are required, you should create
390 <filename>/etc/dbus-1/session-local.conf</filename> and/or
391 <filename>/etc/dbus-1/system-local.conf</filename> and make any
392 desired changes to these files.
393 </para>
394
395 <para>
396 If any packages install a
397 <application>D-Bus</application> <filename>.service</filename>
398 file outside of the standard <filename
399 class="directory">/usr/share/dbus-1/services</filename> directory,
400 that directory should be added to the local session configuration.
401 For instance, <filename
402 class="directory">/usr/local/share/dbus-1/services</filename> can
403 be added by performing the following commands as the
404 <systemitem class="username">root</systemitem> user:
405 </para>
[57aa7a28]406
407<screen role="root"><userinput>cat &gt; /etc/dbus-1/session-local.conf &lt;&lt; "EOF"
408<literal>&lt;!DOCTYPE busconfig PUBLIC
409 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
410 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"&gt;
411&lt;busconfig&gt;
412
413 &lt;!-- Search for .service files in /usr/local --&gt;
414 &lt;servicedir&gt;/usr/local/share/dbus-1/services&lt;/servicedir&gt;
415
416&lt;/busconfig&gt;</literal>
417EOF</userinput></screen>
418
[e8e3312d]419 </sect3>
420
[670d3f8]421 <sect3 id="dbus-session">
[5c9e998]422 <title>D-Bus Session Daemon</title>
[e8e3312d]423
[5c9e998]424 <para revision="sysv">
[54666831]425 To automatically start <command>dbus-daemon</command> when the
426 system is rebooted, install the
427 <filename>/etc/rc.d/init.d/dbus</filename> bootscript from the
428 <xref linkend="bootscripts"/> package.
429 </para>
430
[670d3f8]431 <indexterm zone="dbus dbus-session" revision="sysv">
[54666831]432 <primary sortas="f-dbus">dbus</primary>
433 </indexterm>
434
[5c9e998]435<screen role="root" revision="sysv"><userinput>make install-dbus</userinput></screen>
[54666831]436
[5c9e998]437 <para revision="sysv">
[54666831]438 Note that this boot script only starts the system-wide
439 <application>D-Bus</application> daemon. Each user requiring access to
440 <application>D-Bus</application> services will also need to run a
441 session daemon as well. There are many methods you can use to start a
[0b83a69]442 session daemon using the <command>dbus-launch</command> command. Review
443 the <command>dbus-launch</command> man page for details about the
444 available parameters and options. Here are some suggestions and
445 examples:
446 </para>
[3565e02]447
[5c9e998]448 <para revision="systemd">
449 There are many methods you can use to start a session daemon
450 using the <command>dbus-launch</command> command. Review the
451 <command>dbus-launch</command> man page for details about the
452 available parameters and options. Here are some suggestions and
453 examples:
454 </para>
455
456
[3565e02]457 <itemizedlist spacing="compact">
458 <listitem>
[0b83a69]459 <para>
460 Add <command>dbus-launch</command> to the line in the
461 <filename>~/.xinitrc</filename> file that starts your graphical
462 desktop environment.
463 </para>
[3565e02]464 </listitem>
465 <listitem>
[0b83a69]466 <para>
[9e2a8bab]467 If you use <command>gdm</command> or some other display manager
[0b83a69]468 that calls the <filename>~/.xsession</filename> file, you can add
469 <command>dbus-launch</command> to the line in your
470 <filename>~/.xsession</filename> file that starts your graphical
471 desktop environment. The syntax would be similar to the example in
472 the <filename>~/.xinitrc</filename> file.
473 </para>
[3565e02]474 </listitem>
475 <listitem>
[0b83a69]476 <para>
477 The examples shown previously use
478 <command>dbus-launch</command> to specify a program to be run. This
479 has the benefit (when also using the
[ae20e9a]480 <parameter>--exit-with-x11</parameter> parameter) of stopping the
[0b83a69]481 session daemon when the specified program is stopped. You can also
482 start the session daemon in your system or personal startup scripts
483 by adding the following lines:
484 </para>
[3565e02]485
[dac5077]486<screen role="nodump"><userinput><literal># Start the D-Bus session daemon
[3565e02]487eval `dbus-launch`
488export DBUS_SESSION_BUS_ADDRESS</literal></userinput></screen>
489
[0b83a69]490 <para>
491 This method will not stop the session daemon when you exit
492 your shell, therefore you should add the following line to your
493 <filename>~/.bash_logout</filename> file:
494 </para>
[3565e02]495
[dac5077]496<screen role="nodump"><userinput><literal># Kill the D-Bus session daemon
[3565e02]497kill $DBUS_SESSION_BUS_PID</literal></userinput></screen>
[bccbdaea]498 </listitem>
[4ec808b]499
[9e2a8bab]500 <!-- KDM is no longer usable, SDDM is it's replacement
[3565e02]501 <listitem>
[0b83a69]502 <para>
503 A hint has been written that provides ways to start scripts
504 using the KDM session manager of KDE. The concepts in this hint could
505 possibly be used with other session managers as well. The hint is
506 located at <ulink
507 url="&hints-root;/downloads/files/execute-session-scripts-using-kdm.txt"/>.
[c45cb57]508 </para>
[3565e02]509 </listitem>
[9e2a8bab]510 -->
[c45cb57]511
[3565e02]512 </itemizedlist>
513
[e8e3312d]514 </sect3>
515
516 </sect2>
517
[5c9e998]518 <sect2 role="content" revision="sysv">
[e8e3312d]519 <title>Contents</title>
520
521 <segmentedlist>
522 <segtitle>Installed Programs</segtitle>
[54666831]523 <segtitle>Installed Library</segtitle>
[e8e3312d]524 <segtitle>Installed Directories</segtitle>
525
526 <seglistitem>
[0b83a69]527 <seg>
[54666831]528 dbus-cleanup-sockets, dbus-daemon, dbus-launch, dbus-monitor,
[c358685]529 dbus-run-session, dbus-send, dbus-test-tool,
[2cd6717]530 dbus-update-activation-environment, and dbus-uuidgen
[0b83a69]531 </seg>
532 <seg>
[54666831]533 libdbus-1.so
[0b83a69]534 </seg>
535 <seg>
[e20b59be]536 /etc/dbus-1,
[79ba2ea]537 /usr/{include,lib}/dbus-1.0,
[819a4c7]538 /usr/lib/cmake/DBus1,
[e20b59be]539 /usr/share/dbus-1,
[819a4c7]540 /usr/share/xml/dbus-1,
[e20b59be]541 /usr/share/doc/dbus-&dbus-version;, and
[79ba2ea]542 /var/{lib,run}/dbus
[0b83a69]543 </seg>
[e8e3312d]544 </seglistitem>
545 </segmentedlist>
546
547 <variablelist>
548 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
549 <?dbfo list-presentation="list"?>
550 <?dbhtml list-presentation="table"?>
551
[54666831]552 <varlistentry id="dbus-cleanup-sockets">
553 <term><command>dbus-cleanup-sockets</command></term>
554 <listitem>
555 <para>
[4c24eb0a]556 is used to clean up leftover sockets in a directory
[54666831]557 </para>
558 <indexterm zone="dbus dbus-cleanup-sockets">
559 <primary sortas="b-dbus-cleanup-sockets">dbus-cleanup-sockets</primary>
560 </indexterm>
561 </listitem>
562 </varlistentry>
563
564 <varlistentry id="dbus-daemon">
565 <term><command>dbus-daemon</command></term>
566 <listitem>
567 <para>
[4c24eb0a]568 is the <application>D-Bus</application> message bus daemon
[54666831]569 </para>
570 <indexterm zone="dbus dbus-daemon">
571 <primary sortas="b-dbus-daemon">dbus-daemon</primary>
572 </indexterm>
573 </listitem>
574 </varlistentry>
575
576 <varlistentry id="dbus-launch">
[e8e3312d]577 <term><command>dbus-launch</command></term>
578 <listitem>
[0b83a69]579 <para>
580 is used to start <command>dbus-daemon</command> from a shell
581 script. It would normally be called from a user's login
[4c24eb0a]582 scripts
[0b83a69]583 </para>
[54666831]584 <indexterm zone="dbus dbus-launch">
585 <primary sortas="b-dbus-launch">dbus-launch</primary>
586 </indexterm>
587 </listitem>
588 </varlistentry>
589
590 <varlistentry id="dbus-monitor">
591 <term><command>dbus-monitor</command></term>
592 <listitem>
593 <para>
594 is used to monitor messages going through a
[4c24eb0a]595 <application>D-Bus</application> message bus
[54666831]596 </para>
597 <indexterm zone="dbus dbus-monitor">
598 <primary sortas="b-dbus-monitor">dbus-monitor</primary>
599 </indexterm>
600 </listitem>
601 </varlistentry>
602
603 <varlistentry id="dbus-run-session">
604 <term><command>dbus-run-session</command></term>
605 <listitem>
606 <para>
[4c24eb0a]607 starts a process as a new <application>D-Bus</application> session
[54666831]608 </para>
609 <indexterm zone="dbus dbus-run-session">
610 <primary sortas="b-dbus-run-session">dbus-run-session</primary>
611 </indexterm>
612 </listitem>
613 </varlistentry>
614
615 <varlistentry id="dbus-send">
616 <term><command>dbus-send</command></term>
617 <listitem>
618 <para>
619 is used to send a message to a <application>D-Bus</application>
[4c24eb0a]620 message bus
[54666831]621 </para>
622 <indexterm zone="dbus dbus-send">
623 <primary sortas="b-dbus-send">dbus-send</primary>
624 </indexterm>
625 </listitem>
626 </varlistentry>
627
[c358685]628 <varlistentry id="dbus-test-tool">
629 <term><command>dbus-test-tool</command></term>
630 <listitem>
631 <para>
[8558044]632 is a <application>D-Bus</application> traffic generator and test
[11d14a27]633 tool; it is a multi-purpose tool for debugging and profiling
[4c24eb0a]634 <application>D-Bus</application>
[c358685]635 </para>
636 <indexterm zone="dbus dbus-test-tool">
637 <primary sortas="b-dbus-test-tool">dbus-test-tool</primary>
638 </indexterm>
639 </listitem>
640 </varlistentry>
641
642 <varlistentry id="dbus-update-activation-environment">
643 <term><command>dbus-update-activation-environment</command></term>
644 <listitem>
645 <para>
[8558044]646 is used to update the environment used for
647 <application>D-Bus</application> session services;
[11d14a27]648 it updates the list of environment variables used by
[c358685]649 <command>dbus-daemon --session</command> when it activates session
[4c24eb0a]650 services without using systemd
[c358685]651 </para>
652 <indexterm zone="dbus dbus-update-activation-environment">
653 <primary sortas="b-dbus-update-activation-environment">
654 dbus-update-activation-environment</primary>
655 </indexterm>
656 </listitem>
657 </varlistentry>
658
[54666831]659 <varlistentry id="dbus-uuidgen">
660 <term><command>dbus-uuidgen</command></term>
661 <listitem>
662 <para>
[4c24eb0a]663 is used to generate a universally unique ID
[54666831]664 </para>
665 <indexterm zone="dbus dbus-uuidgen">
666 <primary sortas="b-dbus-uuidgen">dbus-uuidgen</primary>
667 </indexterm>
668 </listitem>
669 </varlistentry>
670
671 <varlistentry id="libdbus-1">
672 <term><filename class="libraryfile">libdbus-1.so</filename></term>
673 <listitem>
674 <para>
675 contains the API functions used by the
676 <application>D-Bus</application> message daemon.
677 <application>D-Bus</application> is first a library that provides
678 one-to-one communication between any two applications;
679 <command>dbus-daemon</command> is an application that uses this
[4c24eb0a]680 library to implement a message bus daemon
[54666831]681 </para>
682 <indexterm zone="dbus libdbus-1">
683 <primary sortas="c-libdbus-1">libdbus-1.so</primary>
[e8e3312d]684 </indexterm>
685 </listitem>
686 </varlistentry>
687
688 </variablelist>
689
690 </sect2>
[4c24eb0a]691
[5c9e998]692 <sect2 role="content" revision="systemd">
693 <title>Contents</title>
694
695 <para>
696 A list of the installed files, along with their short
697 descriptions can be found at
[50836740]698 <ulink url="&lfs-root;/chapter08/dbus.html#contents-dbus"/>.
[5c9e998]699 </para>
700
701 </sect2>
702
[e8e3312d]703</sect1>
Note: See TracBrowser for help on using the repository browser.