From patchwork Sun Dec 11 12:33:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 6292 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4NVPLy4H1fz3wfW for ; Sun, 11 Dec 2022 12:33:46 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4NVPLw5jyczHt; Sun, 11 Dec 2022 12:33:44 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4NVPLw4qj6z2ydc; Sun, 11 Dec 2022 12:33:44 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4NVPLv52Hvz2xSj for ; Sun, 11 Dec 2022 12:33:43 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4NVPLt6SlxzHt; Sun, 11 Dec 2022 12:33:42 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1670762023; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=gYUaFdI6b1wfg7Jf3aCOsU6crFFA6UqMptNLZrIVYSs=; b=kLb/IwI/XTzDiIFIPvZJPQAgJmo2raGVcoAm6ggobQPxZPOrB/Si/HfTWoJQSDC0rQlgPF FJh4eYvQN+slmsBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1670762023; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=gYUaFdI6b1wfg7Jf3aCOsU6crFFA6UqMptNLZrIVYSs=; b=cIEmAFdEjSD/Gic3VFY8T9MoCS4Ii0Bc6l02Gslqj73FQfFNvrbBdzsoi69XggqQKECdLC ETYFiY6G2t5BrvW938ycNsWFyV4yCIA/VfBgrh2by6RtoenIyYBIpbbUBgylmEGV8Z7A5j TXbu+cprCRztussKruyBMXUqvFdPepnROcmwi2kUKE4LC7bBS642e1fv30cicXoNNsf9S5 YrgX0J3LvFlY/mCmzxAbNmyMMLAoXkGvtBmTspKIF5Mp13BeokxihXapN9GbQbK492hkC4 u9+q2catWsbGUfGdePYujciVJTVoOkUgQifAYRkUAoiedvJMWCrw92Ckr0BOtA== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] avahi: Fix bug #13017 - - dbus[n]: Unknown group "netdev" in message bus configuration file Date: Sun, 11 Dec 2022 13:33:22 +0100 Message-Id: <20221211123330.5155-1-adolf.belka@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - add command into avahi install.sh paks file to add netdev group if it doesn't exist - Update avahi PAK_VER to ensure that change is shipped Tested-by: Jon Murphy Signed-off-by: Adolf Belka --- lfs/avahi | 4 ++-- src/paks/avahi/install.sh | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lfs/avahi b/lfs/avahi index 1628fe17b..17857bfe3 100644 --- a/lfs/avahi +++ b/lfs/avahi @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2018 IPFire Team # +# Copyright (C) 2007-2022 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -34,7 +34,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = avahi -PAK_VER = 10 +PAK_VER = 11 DEPS = dbus libdaemon diff --git a/src/paks/avahi/install.sh b/src/paks/avahi/install.sh index 9ec3050a1..63627a4db 100644 --- a/src/paks/avahi/install.sh +++ b/src/paks/avahi/install.sh @@ -28,6 +28,7 @@ getent group avahi >/dev/null || groupadd -r avahi getent passwd avahi >/dev/null || \ useradd -r -g avahi -d /var/run/avahi-daemon -s /sbin/nologin \ -c "Avahi mDNS daemon" avahi +getent group netdev > /dev/null || groupadd -r netdev extract_files ln -svf ../init.d/avahi /etc/rc.d/rc3.d/S65avahi