From 408f4ae8384d630cc41bb348d4d898f38a628d86 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sun, 13 Mar 2022 16:12:55 +0800 Subject: [PATCH] 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. --- chapter08/dbus.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chapter08/dbus.xml b/chapter08/dbus.xml index 271df146f..044c04aeb 100644 --- a/chapter08/dbus.xml +++ b/chapter08/dbus.xml @@ -51,12 +51,12 @@ ./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 @@ -72,7 +72,7 @@ - --with-system-pid-file=/run/dbus/pid and + --runstatedir=/run and --with-system-socket=/run/dbus/system_bus_socket