avahi: Fix bug #13017 - - dbus[n]: Unknown group "netdev" in message bus configuration file
Commit Message
- 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 | 4 ++--
src/paks/avahi/install.sh | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
@@ -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
@@ -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