Author: xry111
Date: Thu Feb 4 23:22:20 2021
New Revision: 12129
Log:
ch08/dbus: sync with BLFS
Modified:
trunk/BOOK/chapter08/dbus.xml
Modified: trunk/BOOK/chapter08/dbus.xml
==============================================================================
--- trunk/BOOK/chapter08/dbus.xml Thu Feb 4 22:51:37 2021 (r12128)
+++ trunk/BOOK/chapter08/dbus.xml Thu Feb 4 23:22:20 2021 (r12129)
@@ -48,14 +48,16 @@
<para>Prepare D-Bus for compilation:</para>
-<screen><userinput remap="configure">./configure --prefix=/usr
\
- --sysconfdir=/etc \
- --localstatedir=/var \
- --disable-static \
- --disable-doxygen-docs \
- --disable-xml-docs \
+<screen><userinput remap="configure">./configure --prefix=/usr
\
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-static \
+ --disable-doxygen-docs \
+ --disable-xml-docs \
--docdir=/usr/share/doc/dbus-&dbus-version; \
- --with-console-auth-dir=/run/console</userinput></screen>
+ --with-console-auth-dir=/run/console \
+ --with-system-pid-file=/run/dbus/pid \
+
--with-system-socket=/run/dbus/system_bus_socket</userinput></screen>
<variablelist>
<title>The meaning of the configure options:</title>
@@ -68,6 +70,18 @@
</listitem>
</varlistentry>
+ <varlistentry>
+ <term>
+ <parameter>--with-system-pid-file=/run/dbus/pid</parameter> and
+
<parameter>--with-system-socket=/run/dbus/system_bus_socket</parameter>
+ </term>
+ <listitem>
+ <para>These set the location of the PID file and the system bus
socket
+ to be in <filename class="directory">/run</filename>, instead of
+ deprecated <filename class="directory">/var/run</filename>.</para>
+ </listitem>
+ </varlistentry>
+
</variablelist>
<para>Compile the package:</para>
@@ -96,11 +110,6 @@
<screen><userinput remap="install">ln -sfv /etc/machine-id
/var/lib/dbus</userinput></screen>
- <para>Move the socket file to /run instead of the deprecated
- /var/run:</para>
-
- <screen><userinput remap="install">sed -i 's:/var/run:/run:'
/lib/systemd/system/dbus.socket</userinput></screen>
-
</sect2>
<sect2 id="contents-dbus" role="content">
--
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page