|
@@ -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 @@ ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so</useri
|
|
|
|
|
|
<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">
|