diff options
| author | Steve Sakoman <steve@sakoman.com> | 2012-01-06 20:51:52 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-10 17:28:44 +0000 |
| commit | 2a9e6f32c50c01136bccc245997bb106c4e0eb88 (patch) | |
| tree | 05cf80727479af410ec02f73b4f939437e75cf9a | |
| parent | d10d1e12c0f3427583ac69483e7bf5d9c9cc01e0 (diff) | |
| download | poky-2a9e6f32c50c01136bccc245997bb106c4e0eb88.tar.gz | |
dbus: change permissions of dbus-daemon-launch-helper to 4755
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
(From OE-Core rev: 7b1e227bf28c9d4f3bb16af4d9ac21265e88a3f1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-core/dbus/dbus.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc index 99b2fc7abc..2a2525676f 100644 --- a/meta/recipes-core/dbus/dbus.inc +++ b/meta/recipes-core/dbus/dbus.inc | |||
| @@ -10,6 +10,8 @@ DEPENDS = "expat virtual/libintl ${@base_contains('DISTRO_FEATURES', 'x11', '${X | |||
| 10 | DEPENDS_virtclass-native = "expat-native virtual/libintl-native" | 10 | DEPENDS_virtclass-native = "expat-native virtual/libintl-native" |
| 11 | DEPENDS_virtclass-nativesdk = "expat-nativesdk virtual/libintl-nativesdk virtual/libx11" | 11 | DEPENDS_virtclass-nativesdk = "expat-nativesdk virtual/libintl-nativesdk virtual/libx11" |
| 12 | 12 | ||
| 13 | INC_PR = "r1" | ||
| 14 | |||
| 13 | SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \ | 15 | SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \ |
| 14 | file://tmpdir.patch; \ | 16 | file://tmpdir.patch; \ |
| 15 | file://dbus-1.init" | 17 | file://dbus-1.init" |
| @@ -84,7 +86,7 @@ do_install() { | |||
| 84 | chown messagebus:messagebus ${D}${localstatedir}/run/dbus ${D}${localstatedir}/lib/dbus | 86 | chown messagebus:messagebus ${D}${localstatedir}/run/dbus ${D}${localstatedir}/lib/dbus |
| 85 | 87 | ||
| 86 | chown root:messagebus ${D}${libexecdir}/dbus-daemon-launch-helper | 88 | chown root:messagebus ${D}${libexecdir}/dbus-daemon-launch-helper |
| 87 | chmod 4754 ${D}${libexecdir}/dbus-daemon-launch-helper | 89 | chmod 4755 ${D}${libexecdir}/dbus-daemon-launch-helper |
| 88 | 90 | ||
| 89 | # Remove Red Hat initscript | 91 | # Remove Red Hat initscript |
| 90 | rm -rf ${D}${sysconfdir}/rc.d | 92 | rm -rf ${D}${sysconfdir}/rc.d |
