source: general/sysutils/dbus.xml@ 35128ba

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 35128ba was 66e22c9b, checked in by Xi Ruoyao <xry111@…>, 15 months ago

dbus: Update test suite info

The test suite can be ran w/o dbus-python and pygobject, but many tests
are just disabled (they even do not show up as "SKIPPED"). For
editors, see the added comments for details.

LFS dbus page will be updated too.

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