avahi: Fix bug #13017 - - dbus[n]: Unknown group "netdev" in message bus configuration file

- 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>
This commit is contained in:
Adolf Belka
2022-12-11 13:33:22 +01:00
committed by Peter Müller
parent 53dae68c59
commit 15214970e6
2 changed files with 3 additions and 2 deletions

View File

@@ -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

View 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