]> code.ossystems Code Review - openembedded-core.git/commitdiff
dbus: change permissions of dbus-daemon-launch-helper to 4755
authorSteve Sakoman <steve@sakoman.com>
Sat, 7 Jan 2012 04:51:52 +0000 (20:51 -0800)
committerSaul Wold <sgw@linux.intel.com>
Tue, 10 Jan 2012 05:51:50 +0000 (21:51 -0800)
With current permissions of 4754 on systemd systems various services will fail to
activate with "helpful" error messages of the type:

2000-01-01T00:00:25+00:00 omap3-multi dbus[178]: [system] Activated service
'org.freedesktop.nm_dispatcher' failed: Failed to execute program
/usr/libexec/dbus-daemon-launch-helper: Success

Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-core/dbus/dbus.inc

index 99b2fc7abce0b892547806dc79f2a0dab9dad2db..2a2525676f8fcdd2adf3a0026c7d15d2b5ea2ea8 100644 (file)
@@ -10,6 +10,8 @@ DEPENDS = "expat virtual/libintl ${@base_contains('DISTRO_FEATURES', 'x11', '${X
 DEPENDS_virtclass-native = "expat-native virtual/libintl-native"
 DEPENDS_virtclass-nativesdk = "expat-nativesdk virtual/libintl-nativesdk virtual/libx11"
 
+INC_PR = "r1"
+
 SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
            file://tmpdir.patch; \
            file://dbus-1.init"
@@ -84,7 +86,7 @@ do_install() {
        chown messagebus:messagebus ${D}${localstatedir}/run/dbus ${D}${localstatedir}/lib/dbus
 
        chown root:messagebus ${D}${libexecdir}/dbus-daemon-launch-helper
-       chmod 4754 ${D}${libexecdir}/dbus-daemon-launch-helper
+       chmod 4755 ${D}${libexecdir}/dbus-daemon-launch-helper
 
        # Remove Red Hat initscript
        rm -rf ${D}${sysconfdir}/rc.d