From patchwork Wed Dec 19 18:43:58 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Coulbourne X-Patchwork-Id: 207508 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 607C52C0089 for ; Thu, 20 Dec 2012 05:44:59 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9CDE881688; Wed, 19 Dec 2012 18:44:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6ubygByggUIp; Wed, 19 Dec 2012 18:44:51 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 8E63A816CD; Wed, 19 Dec 2012 18:44:49 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 9F9D48F75B for ; Wed, 19 Dec 2012 18:44:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A222F816C4 for ; Wed, 19 Dec 2012 18:44:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XZEoe33psEqa for ; Wed, 19 Dec 2012 18:44:41 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) by whitealder.osuosl.org (Postfix) with ESMTPS id C212E81695 for ; Wed, 19 Dec 2012 18:44:40 +0000 (UTC) Received: by mail-vc0-f178.google.com with SMTP id x16so2677704vcq.23 for ; Wed, 19 Dec 2012 10:44:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=DgPj7K2Pg/PT7KyTdQ4Mn0KigbO7K25dVNs0oQpDlRc=; b=a9iBSdSn3z/wpg+/t68B4qi+aia3NdHPhvYilcSPcwfXP4eAxR810Hln2Tus76Lpi2 KQXtk5XdY6yiI+Pxs8Sa/8d/+a4Hr6wvNFaivS5KlngEnvbUUwu6AAxvd9SNqoh9auvM bOXiGvhHJJ82Bt7dY+GvOCkWMp2Ggj610vEj1CNzLYvSQHgvk8aXYlare3gz4iS7M06X h1a9pP9x2juUl3YEXJLE1iePg9cb+Qz3MEz3ZleGMlbUr3fuTZDiQECUb8ir2vyktU3M mzCjl6tR9DjDzUkGM8zMuwWS1AqamgHjDfPUTtTugYbWI9cN44qt9/9aVxZUE5oSRr/s 1dqg== X-Received: by 10.52.69.176 with SMTP id f16mr8872419vdu.97.1355942679339; Wed, 19 Dec 2012 10:44:39 -0800 (PST) Received: from javaman.home.lan (c-71-225-119-46.hsd1.pa.comcast.net. [71.225.119.46]) by mx.google.com with ESMTPS id b10sm4756027vdk.15.2012.12.19.10.44.38 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 19 Dec 2012 10:44:38 -0800 (PST) From: Gary Coulbourne To: buildroot@busybox.net Date: Wed, 19 Dec 2012 13:43:58 -0500 Message-Id: <1355942638-27288-3-git-send-email-bear@bears.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1355942638-27288-1-git-send-email-bear@bears.org> References: <1355942638-27288-1-git-send-email-bear@bears.org> X-Gm-Message-State: ALoCoQlpLaZKIix52K9MboGTQ6nMcvlVIpKKZtwxPlQBNtCcVg7URGtX38saswLiIFyk1mm0flAu Subject: [Buildroot] [PATCH 2/2] dbus: fix permissions of the installed launch helper X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net 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 --- 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)