tags 385495 + patch thanks Package: avahi-daemon Version: 0.6.14-1
Hello!
I came across this bug after having found #389243 [1], which is a
duplicate of this one (and thus I merged them).
On Tue, 10 Oct 2006 19:27:19 +0200, Laurent Bonnaud wrote:
> The netdev group is created by the dhcdbd package. How about having
> avahi-daemon depend on dhcdbd ?
Please don't do this, this is a bug against Policy Policy ยง9.2.2, as I
already explained at [2].
The attached patch derives from the dhcdbd.postinst:
--8<---------------cut here---------------start------------->8---
--- avahi-daemon.postinst 2006-10-10 23:28:51.000000000 +0200
+++ avahi-daemon.postinst_gismo 2006-10-10 23:32:15.000000000 +0200
@@ -26,6 +26,11 @@
usermod -d /var/run/avahi-daemon avahi
fi
+ # create the netdev group used by dbus
+ if ! getent group netdev > /dev/null; then
+ addgroup --quiet --system netdev
+ fi
+
# Ask the bus to reload the config file
if [ -x "/etc/init.d/dbus" ]; then
invoke-rc.d dbus force-reload || true
--8<---------------cut here---------------end--------------->8---
Thx, bye,
Gismo / Luca
Footnotes:
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=389243
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=389243;msg=25
pgpN5j4zFNsTo.pgp
Description: PGP signature

