Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/dbus: set session-socket-dir to /tmp
@ 2024-11-21 14:01 Nikita Kiryushin
  2025-01-03 22:40 ` Thomas Petazzoni via buildroot
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Nikita Kiryushin @ 2024-11-21 14:01 UTC (permalink / raw)
  To: buildroot; +Cc: Nikita Kiryushin

dbus has a session socket directory configuration setting,
that, if not set, will be autodeducted based on env vars
during configuration time.

Becuse of that, builder's environment variables may be used,
which 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.

Signed-off-by: Nikita Kiryushin <kiryushin@ancud.ru>
---
 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)
-- 
2.43.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-05-18 14:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-21 14:01 [Buildroot] [PATCH 1/1] package/dbus: set session-socket-dir to /tmp Nikita Kiryushin
2025-01-03 22:40 ` Thomas Petazzoni via buildroot
2025-01-05 11:29   ` Fiona Klute via buildroot
2025-01-05 11:31     ` Fiona Klute via buildroot
2025-05-16 16:33 ` Arnout Vandecappelle via buildroot
2025-05-18 14:42 ` Arnout Vandecappelle via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox