]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
avahi: Fix bug #13017 - - dbus[n]: Unknown group "netdev" in message bus configuratio...
authorAdolf Belka <adolf.belka@ipfire.org>
Sun, 11 Dec 2022 12:33:22 +0000 (13:33 +0100)
committerPeter Müller <peter.mueller@ipfire.org>
Mon, 26 Dec 2022 08:41:51 +0000 (08:41 +0000)
- 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 <jon.murphy@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
lfs/avahi
src/paks/avahi/install.sh

index 1628fe17b25b313d98022978bcc164bd56523e60..17857bfe37d807252d705f1960d63f8d5e646670 100644 (file)
--- a/lfs/avahi
+++ b/lfs/avahi
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2022  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # 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
 
index 9ec3050a1b53247e8ae227c8118735c36f3e2870..63627a4db5364effdd05751426633b255f886023 100644 (file)
@@ -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