diff --git a/chapter08/dbus.xml b/chapter08/dbus.xml
index 211399207..5f51900cc 100644
--- a/chapter08/dbus.xml
+++ b/chapter08/dbus.xml
@@ -48,14 +48,16 @@
Prepare D-Bus for compilation:
-./configure --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --disable-static \
- --disable-doxygen-docs \
- --disable-xml-docs \
+./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
+ --with-console-auth-dir=/run/console \
+ --with-system-pid-file=/run/dbus/pid \
+ --with-system-socket=/run/dbus/system_bus_socket
The meaning of the configure options:
@@ -68,6 +70,18 @@
+
+
+ --with-system-pid-file=/run/dbus/pid and
+ --with-system-socket=/run/dbus/system_bus_socket
+
+
+ These set the location of the PID file and the system bus socket
+ to be in /run, instead of
+ deprecated /var/run.
+
+
+
Compile the package:
@@ -96,11 +110,6 @@ ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.soln -sfv /etc/machine-id /var/lib/dbus
- Move the socket file to /run instead of the deprecated
- /var/run:
-
- sed -i 's:/var/run:/run:' /lib/systemd/system/dbus.socket
-