I noticed the following warning from systemd-tmpfiles while booting:

    /usr/lib/tmpfiles.d/dbus.conf:13: Line references path below legacy 
directory /var/run/, updating /var/run/dbus/containers

The offending line [1] is

    d @EXPANDED_RUNSTATEDIR@/dbus/containers 0755 @DBUS_USER@ - - -

We do not set runstatedir, so it defaults to /var/run. Set runstatedir
to /run to avoid this problem.

[1] 
https://gitlab.freedesktop.org/dbus/dbus/-/blob/master/bus/tmpfiles.d/dbus.conf.in#L13

Fixes: 4df1a16e5c ("dbus: Specify runstatedir configure option")
Signed-off-by: Sean Anderson <[email protected]>
---

 meta/recipes-core/dbus/dbus_1.14.0.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/dbus/dbus_1.14.0.bb 
b/meta/recipes-core/dbus/dbus_1.14.0.bb
index 0046b9fda2..9fb1f777bd 100644
--- a/meta/recipes-core/dbus/dbus_1.14.0.bb
+++ b/meta/recipes-core/dbus/dbus_1.14.0.bb
@@ -21,6 +21,7 @@ EXTRA_OECONF = "--disable-xml-docs \
                 --disable-doxygen-docs \
                 --enable-largefile \
                 --with-system-socket=/run/dbus/system_bus_socket \
+                --runstatedir=/run \
                 --enable-tests \
                 --enable-checks \
                 --enable-asserts \
-- 
2.35.1.1320.gc452695387.dirty

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#171513): 
https://lists.openembedded.org/g/openembedded-core/message/171513
Mute This Topic: https://lists.openembedded.org/mt/94167145/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to