[Buildroot] [PATCH 2/2] dbus: fix permissions of the installed launch helper

Gary Coulbourne bear at bears.org
Wed Dec 19 18:43:58 UTC 2012


DBus uses a suid root launch helper to automatically start and stop services.  This does not
get installed properly, and requires fixup after installation to have the correct permissions.

Signed-off-by: Gary Coulbourne <bear at bears.org>
---
 package/dbus/dbus.mk |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/dbus/dbus.mk b/package/dbus/dbus.mk
index 694cbfe..f7f6d6d 100644
--- a/package/dbus/dbus.mk
+++ b/package/dbus/dbus.mk
@@ -87,6 +87,10 @@ HOST_DBUS_CONF_OPT = \
 # dbus for the host
 DBUS_HOST_INTROSPECT=$(HOST_DBUS_DIR)/introspect.xml
 
+define DBUS_PERMISSIONS
+/usr/libexec/dbus-daemon-launch-helper f 4750 0 81 - - - - -
+endef
+
 HOST_DBUS_GEN_INTROSPECT = \
 	$(HOST_DIR)/usr/bin/dbus-daemon --introspect > $(DBUS_HOST_INTROSPECT)
 
-- 
1.7.10.4



More information about the buildroot mailing list