From a46e7c619cdbdc09b4e64e34a8537de7140bf347 Mon Sep 17 00:00:00 2001 From: Nikita Kiryushin Date: Thu, 21 Nov 2024 17:01:34 +0300 Subject: [PATCH] package/dbus: set session-socket-dir to /tmp dbus has a session socket directory configuration setting, that, if not set, will be autodeducted based on env vars like TMPDIR during configuration time. Becuse of that, the builder's environment variables will lead to an image with a broken session bus while leaking builder's details to the image. Add an explicit setting of session-socket-dir to /tmp dir. Fixes: https://gitlab.com/buildroot.org/buildroot/-/issues/67 Signed-off-by: Nikita Kiryushin Reviewed-by: Fiona Klute Signed-off-by: Arnout Vandecappelle (cherry picked from commit f777c7991275c62f2881d1dae0c2aa357a7f1a21) Signed-off-by: Thomas Perale --- package/dbus/dbus.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/dbus/dbus.mk b/package/dbus/dbus.mk index c60bf473cd..2002e707f0 100644 --- a/package/dbus/dbus.mk +++ b/package/dbus/dbus.mk @@ -34,6 +34,7 @@ DBUS_CONF_OPTS = \ --disable-doxygen-docs \ --with-system-socket=/run/dbus/system_bus_socket \ --with-system-pid-file=/run/messagebus.pid \ + --with-session-socket-dir=/tmp \ --runstatedir=/run ifeq ($(BR2_STATIC_LIBS),y)