systemd: dbus: add --runstatedir=/run

This prevents a reference to /var/run in /usr/lib/tmpfiles.d/dbus.conf,
which would cause a warning from systemd-tmpfiles.

--with-system-pid-file=/run/dbus/pid is not needed with this, but
--with-console-auth-dir and --with-system-socket are still needed.
This commit is contained in:
Xi Ruoyao 2022-03-13 16:12:55 +08:00
parent ac47b252fe
commit 408f4ae838
No known key found for this signature in database
GPG Key ID: D95E4716CCBB34DC

View File

@ -51,12 +51,12 @@
<screen><userinput remap="configure">./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--runstatedir=/run \
--disable-static \
--disable-doxygen-docs \
--disable-xml-docs \
--docdir=/usr/share/doc/dbus-&dbus-version; \
--with-console-auth-dir=/run/console \
--with-system-pid-file=/run/dbus/pid \
--with-system-socket=/run/dbus/system_bus_socket</userinput></screen>
<variablelist>
@ -72,7 +72,7 @@
<varlistentry>
<term>
<parameter>--with-system-pid-file=/run/dbus/pid</parameter> and
<parameter>--runstatedir=/run</parameter> and
<parameter>--with-system-socket=/run/dbus/system_bus_socket</parameter>
</term>
<listitem>