source: general/sysutils/dbus.xml@ cdbdcb1c

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since cdbdcb1c was 972a985, checked in by Xi Ruoyao <xry111@…>, 17 months ago

dbus: Drop dependency on dbus-glib for test

According to the NEWS file, the dependency has been removed years ago. I
also ran "make check" w/o it and no test failed.

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