source: general/sysutils/dbus.xml@ 8673042

12.0 12.1 gimp3 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/for-12.3 xry111/llvm18 xry111/spidermonkey128 xry111/xf86-video-removal
Last change on this file since 8673042 was 30b01dbd, checked in by Xi Ruoyao <xry111@…>, 17 months ago

dbus: Demote systemd dependency and clarify what it is for

  • Property mode set to 100644
File size: 25.2 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
[3bbf74c5]252 <para>
[972a985]253 The dbus tests cannot be run until after <xref linkend="dbus-python"/>
254 and <xref linkend="pygobject3"/> have
[108beaf]255 been installed. They must be run as an unprivileged user from a local
[1665413]256 session with bus address. To run the standard tests issue
257 <command>make check</command>.
258 </para>
259
260 <para>
261 If you want to run the unit regression tests, configure requires
262 additional parameters which expose additional functionality in the
263 binaries that are not intended to be used in a production build of
[108beaf]264 <application>D-Bus</application>. If you would like to run the tests,
[6092d19]265 issue the following commands (for the tests, you don't need to build the
266 docs):
[0b83a69]267 </para>
[0d7900a]268
[e532fc22]269<screen remap="test"><userinput>make distclean &amp;&amp;
270PYTHON=python3 ./configure --enable-tests \
271 --enable-asserts \
272 --disable-doxygen-docs \
273 --disable-xml-docs &amp;&amp;
274make &amp;&amp;
[02fc2ae]275make check</userinput></screen>
[c45cb57]276
[53dd18f1]277 <para>
[8558044]278 There have been reports that the tests may fail if running inside a
279 Midnight Commander shell. You may get out-of-memory error messages when
[9e2a8bab]280 running the tests. These are normal and can be safely ignored.
[54666831]281 </para>
[e8e3312d]282
283 </sect2>
284
285 <sect2 role="commands">
286 <title>Command Explanations</title>
287
[108beaf]288 <para>
289 <parameter>--disable-doxygen-docs</parameter>: This switch disables
[6092d19]290 doxygen documentation build and install, if you have
[670d3f8]291 <application>doxygen</application> installed. If
292 <application>doxygen</application> is installed, and you wish to build
293 them, remove this parameter.
[108beaf]294 </para>
295
[6092d19]296 <para>
297 <parameter>--disable-xml-docs</parameter>: This switch disables html
298 documentation build and install, if you have
[670d3f8]299 <application>xmlto</application> installed. If
300 <application>xmlto</application> is installed, and you wish to build
301 them, remove this parameter.
[6092d19]302 </para>
303
[4532b2f]304 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
305 href="../../xincludes/static-libraries.xml"/>
306
[51dfb3e]307 <para>
308 <parameter>--enable-user-session</parameter>: This parameter enables
309 per-user DBus sessions with
310 <phrase revision="sysv"><application>elogind</application>.</phrase>
311 <phrase revision="systemd"><application>systemd</application>.</phrase>
[54666831]312 </para>
313
[5c9e998]314 <para revision="sysv">
[aa41434]315 <parameter>--with-systemd{user,system}unitdir=no</parameter>: These
[51dfb3e]316 switches disable installation of systemd units on elogind based systems.
[f29eb8a]317 </para>
[0b83a69]318
[f29eb8a]319 <para>
320 <parameter>--with-system-pid-file=/run/dbus/pid</parameter>: This
321 parameter specifies the location of the PID file.
322 </para>
323
324 <para>
325 <parameter>--with-system-socket=/run/dbus/system_bus_socket</parameter>:
326 This parameter specifies the location of the system bus socket.
327 </para>
328
[0b83a69]329 <para>
[9e2a8bab]330 <parameter>--enable-tests</parameter>: Builds extra parts of the code to
[1665413]331 support all tests. Do not use on a production build.
[4947a7a]332 </para>
333
334 <para>
[9e2a8bab]335 <option>--enable-embedded-tests</option>: Builds extra parts of the
[1665413]336 code to support only unit tests. Do not use on a production build.
[0b83a69]337 </para>
338
339 <para>
[9e2a8bab]340 <parameter>--enable-asserts</parameter>: Enables debugging code to run
[e5347c36]341 assertions for statements normally assumed to be true. This prevents a
342 warning that '<parameter>--enable-tests</parameter>' on its own is only
343 useful for profiling and might not give true results for all tests, but
344 adds its own NOTE that this should not be used in a production build.
[0b83a69]345 </para>
[30d0aef]346
[e8e3312d]347 </sect2>
348
349 <sect2 role="configuration">
[670d3f8]350 <title>Configuring D-Bus</title>
[e8e3312d]351
352 <sect3 id="dbus-config">
353 <title>Config Files</title>
[0b83a69]354
355 <para>
356 <filename>/etc/dbus-1/session.conf</filename>,
357 <filename>/etc/dbus-1/system.conf</filename> and
358 <filename>/etc/dbus-1/system.d/*</filename>
359 </para>
[e8e3312d]360
[54666831]361 <indexterm zone="dbus dbus-config">
[e8e3312d]362 <primary sortas="e-etc-dbus-1-session.conf">/etc/dbus-1/session.conf</primary>
363 </indexterm>
364
[54666831]365 <indexterm zone="dbus dbus-config">
[e8e3312d]366 <primary sortas="e-etc-dbus-1/system.conf">/etc/dbus-1/system.conf</primary>
367 </indexterm>
368
[54666831]369 <indexterm zone="dbus dbus-config">
[c45cb57]370 <primary sortas="e-etc-dbus-1-system.d-star">/etc/dbus-1/system.d/*</primary>
[e8e3312d]371 </indexterm>
372
373 </sect3>
374
[e9efab0b]375 <sect3 id="dbus-session-config" xreflabel="D-Bus custom services directory">
376 <title>Configuration Information</title>
[e8e3312d]377
[0b83a69]378 <para>
379 The configuration files listed above should probably not be
380 modified. If changes are required, you should create
381 <filename>/etc/dbus-1/session-local.conf</filename> and/or
382 <filename>/etc/dbus-1/system-local.conf</filename> and make any
383 desired changes to these files.
384 </para>
385
386 <para>
387 If any packages install a
388 <application>D-Bus</application> <filename>.service</filename>
389 file outside of the standard <filename
390 class="directory">/usr/share/dbus-1/services</filename> directory,
391 that directory should be added to the local session configuration.
392 For instance, <filename
393 class="directory">/usr/local/share/dbus-1/services</filename> can
394 be added by performing the following commands as the
395 <systemitem class="username">root</systemitem> user:
396 </para>
[57aa7a28]397
398<screen role="root"><userinput>cat &gt; /etc/dbus-1/session-local.conf &lt;&lt; "EOF"
399<literal>&lt;!DOCTYPE busconfig PUBLIC
400 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
401 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"&gt;
402&lt;busconfig&gt;
403
404 &lt;!-- Search for .service files in /usr/local --&gt;
405 &lt;servicedir&gt;/usr/local/share/dbus-1/services&lt;/servicedir&gt;
406
407&lt;/busconfig&gt;</literal>
408EOF</userinput></screen>
409
[e8e3312d]410 </sect3>
411
[670d3f8]412 <sect3 id="dbus-session">
[5c9e998]413 <title>D-Bus Session Daemon</title>
[e8e3312d]414
[5c9e998]415 <para revision="sysv">
[54666831]416 To automatically start <command>dbus-daemon</command> when the
417 system is rebooted, install the
418 <filename>/etc/rc.d/init.d/dbus</filename> bootscript from the
419 <xref linkend="bootscripts"/> package.
420 </para>
421
[670d3f8]422 <indexterm zone="dbus dbus-session" revision="sysv">
[54666831]423 <primary sortas="f-dbus">dbus</primary>
424 </indexterm>
425
[5c9e998]426<screen role="root" revision="sysv"><userinput>make install-dbus</userinput></screen>
[54666831]427
[5c9e998]428 <para revision="sysv">
[54666831]429 Note that this boot script only starts the system-wide
430 <application>D-Bus</application> daemon. Each user requiring access to
431 <application>D-Bus</application> services will also need to run a
432 session daemon as well. There are many methods you can use to start a
[0b83a69]433 session daemon using the <command>dbus-launch</command> command. Review
434 the <command>dbus-launch</command> man page for details about the
435 available parameters and options. Here are some suggestions and
436 examples:
437 </para>
[3565e02]438
[5c9e998]439 <para revision="systemd">
440 There are many methods you can use to start a session daemon
441 using the <command>dbus-launch</command> command. Review the
442 <command>dbus-launch</command> man page for details about the
443 available parameters and options. Here are some suggestions and
444 examples:
445 </para>
446
447
[3565e02]448 <itemizedlist spacing="compact">
449 <listitem>
[0b83a69]450 <para>
451 Add <command>dbus-launch</command> to the line in the
452 <filename>~/.xinitrc</filename> file that starts your graphical
453 desktop environment.
454 </para>
[3565e02]455 </listitem>
456 <listitem>
[0b83a69]457 <para>
[9e2a8bab]458 If you use <command>gdm</command> or some other display manager
[0b83a69]459 that calls the <filename>~/.xsession</filename> file, you can add
460 <command>dbus-launch</command> to the line in your
461 <filename>~/.xsession</filename> file that starts your graphical
462 desktop environment. The syntax would be similar to the example in
463 the <filename>~/.xinitrc</filename> file.
464 </para>
[3565e02]465 </listitem>
466 <listitem>
[0b83a69]467 <para>
468 The examples shown previously use
469 <command>dbus-launch</command> to specify a program to be run. This
470 has the benefit (when also using the
[ae20e9a]471 <parameter>--exit-with-x11</parameter> parameter) of stopping the
[0b83a69]472 session daemon when the specified program is stopped. You can also
473 start the session daemon in your system or personal startup scripts
474 by adding the following lines:
475 </para>
[3565e02]476
[dac5077]477<screen role="nodump"><userinput><literal># Start the D-Bus session daemon
[3565e02]478eval `dbus-launch`
479export DBUS_SESSION_BUS_ADDRESS</literal></userinput></screen>
480
[0b83a69]481 <para>
482 This method will not stop the session daemon when you exit
483 your shell, therefore you should add the following line to your
484 <filename>~/.bash_logout</filename> file:
485 </para>
[3565e02]486
[dac5077]487<screen role="nodump"><userinput><literal># Kill the D-Bus session daemon
[3565e02]488kill $DBUS_SESSION_BUS_PID</literal></userinput></screen>
[bccbdaea]489 </listitem>
[4ec808b]490
[9e2a8bab]491 <!-- KDM is no longer usable, SDDM is it's replacement
[3565e02]492 <listitem>
[0b83a69]493 <para>
494 A hint has been written that provides ways to start scripts
495 using the KDM session manager of KDE. The concepts in this hint could
496 possibly be used with other session managers as well. The hint is
497 located at <ulink
498 url="&hints-root;/downloads/files/execute-session-scripts-using-kdm.txt"/>.
[c45cb57]499 </para>
[3565e02]500 </listitem>
[9e2a8bab]501 -->
[c45cb57]502
[3565e02]503 </itemizedlist>
504
[e8e3312d]505 </sect3>
506
507 </sect2>
508
[5c9e998]509 <sect2 role="content" revision="sysv">
[e8e3312d]510 <title>Contents</title>
511
512 <segmentedlist>
513 <segtitle>Installed Programs</segtitle>
[54666831]514 <segtitle>Installed Library</segtitle>
[e8e3312d]515 <segtitle>Installed Directories</segtitle>
516
517 <seglistitem>
[0b83a69]518 <seg>
[54666831]519 dbus-cleanup-sockets, dbus-daemon, dbus-launch, dbus-monitor,
[c358685]520 dbus-run-session, dbus-send, dbus-test-tool,
[2cd6717]521 dbus-update-activation-environment, and dbus-uuidgen
[0b83a69]522 </seg>
523 <seg>
[54666831]524 libdbus-1.so
[0b83a69]525 </seg>
526 <seg>
[e20b59be]527 /etc/dbus-1,
[79ba2ea]528 /usr/{include,lib}/dbus-1.0,
[819a4c7]529 /usr/lib/cmake/DBus1,
[e20b59be]530 /usr/share/dbus-1,
[819a4c7]531 /usr/share/xml/dbus-1,
[e20b59be]532 /usr/share/doc/dbus-&dbus-version;, and
[79ba2ea]533 /var/{lib,run}/dbus
[0b83a69]534 </seg>
[e8e3312d]535 </seglistitem>
536 </segmentedlist>
537
538 <variablelist>
539 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
540 <?dbfo list-presentation="list"?>
541 <?dbhtml list-presentation="table"?>
542
[54666831]543 <varlistentry id="dbus-cleanup-sockets">
544 <term><command>dbus-cleanup-sockets</command></term>
545 <listitem>
546 <para>
[4c24eb0a]547 is used to clean up leftover sockets in a directory
[54666831]548 </para>
549 <indexterm zone="dbus dbus-cleanup-sockets">
550 <primary sortas="b-dbus-cleanup-sockets">dbus-cleanup-sockets</primary>
551 </indexterm>
552 </listitem>
553 </varlistentry>
554
555 <varlistentry id="dbus-daemon">
556 <term><command>dbus-daemon</command></term>
557 <listitem>
558 <para>
[4c24eb0a]559 is the <application>D-Bus</application> message bus daemon
[54666831]560 </para>
561 <indexterm zone="dbus dbus-daemon">
562 <primary sortas="b-dbus-daemon">dbus-daemon</primary>
563 </indexterm>
564 </listitem>
565 </varlistentry>
566
567 <varlistentry id="dbus-launch">
[e8e3312d]568 <term><command>dbus-launch</command></term>
569 <listitem>
[0b83a69]570 <para>
571 is used to start <command>dbus-daemon</command> from a shell
572 script. It would normally be called from a user's login
[4c24eb0a]573 scripts
[0b83a69]574 </para>
[54666831]575 <indexterm zone="dbus dbus-launch">
576 <primary sortas="b-dbus-launch">dbus-launch</primary>
577 </indexterm>
578 </listitem>
579 </varlistentry>
580
581 <varlistentry id="dbus-monitor">
582 <term><command>dbus-monitor</command></term>
583 <listitem>
584 <para>
585 is used to monitor messages going through a
[4c24eb0a]586 <application>D-Bus</application> message bus
[54666831]587 </para>
588 <indexterm zone="dbus dbus-monitor">
589 <primary sortas="b-dbus-monitor">dbus-monitor</primary>
590 </indexterm>
591 </listitem>
592 </varlistentry>
593
594 <varlistentry id="dbus-run-session">
595 <term><command>dbus-run-session</command></term>
596 <listitem>
597 <para>
[4c24eb0a]598 starts a process as a new <application>D-Bus</application> session
[54666831]599 </para>
600 <indexterm zone="dbus dbus-run-session">
601 <primary sortas="b-dbus-run-session">dbus-run-session</primary>
602 </indexterm>
603 </listitem>
604 </varlistentry>
605
606 <varlistentry id="dbus-send">
607 <term><command>dbus-send</command></term>
608 <listitem>
609 <para>
610 is used to send a message to a <application>D-Bus</application>
[4c24eb0a]611 message bus
[54666831]612 </para>
613 <indexterm zone="dbus dbus-send">
614 <primary sortas="b-dbus-send">dbus-send</primary>
615 </indexterm>
616 </listitem>
617 </varlistentry>
618
[c358685]619 <varlistentry id="dbus-test-tool">
620 <term><command>dbus-test-tool</command></term>
621 <listitem>
622 <para>
[8558044]623 is a <application>D-Bus</application> traffic generator and test
[11d14a27]624 tool; it is a multi-purpose tool for debugging and profiling
[4c24eb0a]625 <application>D-Bus</application>
[c358685]626 </para>
627 <indexterm zone="dbus dbus-test-tool">
628 <primary sortas="b-dbus-test-tool">dbus-test-tool</primary>
629 </indexterm>
630 </listitem>
631 </varlistentry>
632
633 <varlistentry id="dbus-update-activation-environment">
634 <term><command>dbus-update-activation-environment</command></term>
635 <listitem>
636 <para>
[8558044]637 is used to update the environment used for
638 <application>D-Bus</application> session services;
[11d14a27]639 it updates the list of environment variables used by
[c358685]640 <command>dbus-daemon --session</command> when it activates session
[4c24eb0a]641 services without using systemd
[c358685]642 </para>
643 <indexterm zone="dbus dbus-update-activation-environment">
644 <primary sortas="b-dbus-update-activation-environment">
645 dbus-update-activation-environment</primary>
646 </indexterm>
647 </listitem>
648 </varlistentry>
649
[54666831]650 <varlistentry id="dbus-uuidgen">
651 <term><command>dbus-uuidgen</command></term>
652 <listitem>
653 <para>
[4c24eb0a]654 is used to generate a universally unique ID
[54666831]655 </para>
656 <indexterm zone="dbus dbus-uuidgen">
657 <primary sortas="b-dbus-uuidgen">dbus-uuidgen</primary>
658 </indexterm>
659 </listitem>
660 </varlistentry>
661
662 <varlistentry id="libdbus-1">
663 <term><filename class="libraryfile">libdbus-1.so</filename></term>
664 <listitem>
665 <para>
666 contains the API functions used by the
667 <application>D-Bus</application> message daemon.
668 <application>D-Bus</application> is first a library that provides
669 one-to-one communication between any two applications;
670 <command>dbus-daemon</command> is an application that uses this
[4c24eb0a]671 library to implement a message bus daemon
[54666831]672 </para>
673 <indexterm zone="dbus libdbus-1">
674 <primary sortas="c-libdbus-1">libdbus-1.so</primary>
[e8e3312d]675 </indexterm>
676 </listitem>
677 </varlistentry>
678
679 </variablelist>
680
681 </sect2>
[4c24eb0a]682
[5c9e998]683 <sect2 role="content" revision="systemd">
684 <title>Contents</title>
685
686 <para>
687 A list of the installed files, along with their short
688 descriptions can be found at
[50836740]689 <ulink url="&lfs-root;/chapter08/dbus.html#contents-dbus"/>.
[5c9e998]690 </para>
691
692 </sect2>
693
[e8e3312d]694</sect1>
Note: See TracBrowser for help on using the repository browser.