[Buildroot] [PATCH 1/1] dbus: fix system_bus_socket location

Adam Duskett aduskett at gmail.com
Thu Feb 8 19:23:24 UTC 2018


systemd237 changed the default location it uses for system_bus_socket
from /var/run/dbus/system_bus_socket to /run/dbus/system_bus_socket

see:
https://github.com/systemd/systemd/commit/15ca0a42c7db49146a7169dbcb0683f0836cf8c2

Change the default location for dbus from /var/run/dbus/system_bus_socket to
/run/dbus/system_bus_socket to fix the issue.

Signed-off-by: Adam Duskett <aduskett at gmail.com>
---
 package/dbus/dbus.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/dbus/dbus.mk b/package/dbus/dbus.mk
index 22ba22e17e..19f9b7ace8 100644
--- a/package/dbus/dbus.mk
+++ b/package/dbus/dbus.mk
@@ -27,7 +27,7 @@ DBUS_CONF_OPTS = \
 	--disable-xml-docs \
 	--disable-doxygen-docs \
 	--with-xml=expat \
-	--with-system-socket=/var/run/dbus/system_bus_socket \
+	--with-system-socket=/run/dbus/system_bus_socket \
 	--with-system-pid-file=/var/run/messagebus.pid
 
 ifeq ($(BR2_STATIC_LIBS),y)
-- 
2.14.3



More information about the buildroot mailing list