mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
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:
committed by
Peter Müller
parent
53dae68c59
commit
15214970e6
@@ -1,7 +1,7 @@
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
# #
|
# #
|
||||||
# IPFire.org - A linux based firewall #
|
# 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 #
|
# 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 #
|
# 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)
|
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||||
PROG = avahi
|
PROG = avahi
|
||||||
PAK_VER = 10
|
PAK_VER = 11
|
||||||
|
|
||||||
DEPS = dbus libdaemon
|
DEPS = dbus libdaemon
|
||||||
|
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ getent group avahi >/dev/null || groupadd -r avahi
|
|||||||
getent passwd avahi >/dev/null || \
|
getent passwd avahi >/dev/null || \
|
||||||
useradd -r -g avahi -d /var/run/avahi-daemon -s /sbin/nologin \
|
useradd -r -g avahi -d /var/run/avahi-daemon -s /sbin/nologin \
|
||||||
-c "Avahi mDNS daemon" avahi
|
-c "Avahi mDNS daemon" avahi
|
||||||
|
getent group netdev > /dev/null || groupadd -r netdev
|
||||||
|
|
||||||
extract_files
|
extract_files
|
||||||
ln -svf ../init.d/avahi /etc/rc.d/rc3.d/S65avahi
|
ln -svf ../init.d/avahi /etc/rc.d/rc3.d/S65avahi
|
||||||
|
|||||||
Reference in New Issue
Block a user