source: general/sysutils/dbus.xml@ 1f01e5ee

perl-modules
Last change on this file since 1f01e5ee was 9eb7ee7, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Update to bluez-5.50.
Update to libical-3.0.4.
Tags

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@20333 af4574ff-66df-0310-9fd7-8a98e5e911e0

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