From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 27 Jun 2025 14:07:00 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uV7rA-00Bbkn-1T for lore@lore.pengutronix.de; Fri, 27 Jun 2025 14:07:00 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1uV7rA-0003mf-3x; Fri, 27 Jun 2025 14:07:00 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1uV7qq-0003mW-TU; Fri, 27 Jun 2025 14:06:40 +0200 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uV7qq-005blD-26; Fri, 27 Jun 2025 14:06:40 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1uV7qq-0015Gh-1v; Fri, 27 Jun 2025 14:06:40 +0200 Date: Fri, 27 Jun 2025 14:06:40 +0200 From: Michael Olbrich To: Ralf Glaser Message-ID: References: <20250613090822.14111-2-glaser@iotmaxx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250613090822.14111-2-glaser@iotmaxx.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [ptxdist] [PATCH] dnsmasq: install dbus policy X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false On Fri, Jun 13, 2025 at 11:08:23AM +0200, Ralf Glaser wrote: > Install dbus policy for dnsmasq. This was removed at some point for reasons unknown to me. > > Signed-off-by: Ralf Glaser > --- > rules/dnsmasq.make | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/rules/dnsmasq.make b/rules/dnsmasq.make > index 2c6262308..9e4300643 100644 > --- a/rules/dnsmasq.make > +++ b/rules/dnsmasq.make > @@ -64,6 +64,8 @@ $(STATEDIR)/dnsmasq.install: > @$(call world/install, DNSMASQ) > @install -vD -m 644 "$(DNSMASQ_DIR)/dnsmasq.conf.example" \ > "$(DNSMASQ_PKGDIR)/etc/dnsmasq.conf" > + @install -vD -m 644 "$(DNSMASQ_DIR)/dbus/dnsmasq.conf" \ > + "$(DNSMASQ_PKGDIR)/usr/share/dbus-1/system.d/dnsmasq.conf" > @$(call touch) > > # ---------------------------------------------------------------------------- > @@ -109,6 +111,11 @@ ifdef PTXCONF_DNSMASQ_DHCP > endif > @$(call install_finish, dnsmasq) > > +# install DBUS policy > +ifdef PTXCONF_DNSMASQ_DBUS > + @$(call install_alternative, dnsmasq, 0, 0, 0644, /usr/share/dbus-1/system.d/dnsmasq.conf) > +endif > + This must be added before the install_finish. Michael > @$(call touch) > > # vim: syntax=make > -- > 2.49.0 > > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |