avahi and nss-mDNS
Joe Marcus Clarke
marcus at marcuscom.com
Tue May 29 20:37:16 UTC 2007
On Tue, 2007-05-29 at 10:38 -0700, paul beard wrote:
> I was having trouble getting avahi to run.
>
> # /usr/local/sbin/avahi-daemon
> Found user 'avahi' (UID 558) and group 'avahi' (GID 558).
> Successfully dropped root privileges.
> avahi-daemon 0.6.18 starting up.
> WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
>
> nss-mdns is installed.
>
> ls -l /var/db/pkg/nss_mdns-0.9_3/
> total 30
> -rw-r--r-- 1 root wheel 54 May 29 10:21 +COMMENT
> -rw-r--r-- 1 root wheel 6896 May 29 10:21 +CONTENTS
> -rw-r--r-- 1 root wheel 199 May 29 10:21 +DESC
> -rw-r--r-- 1 root wheel 17501 May 29 10:21 +MTREE_DIRS
>
> I just rebuilt avahi with mDNS toggled on (it was off before): should
> nss_mdns be a dependent if, as appears above, avahi won't run without
> it? And why would it fail to run if I didn't activate mDNS
> capability? As it turns out, I wanted that so it all ends up as I
> wanted it.
>
> Alas, it still fails.
>
> # /usr/local/sbin/avahi-daemon
> Found user 'avahi' (UID 558) and group 'avahi' (GID 558).
> Successfully dropped root privileges.
> avahi-daemon 0.6.18 starting up.
> WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
> dbus_bus_get_private(): Failed to connect to socket /var/run/dbus/
> system_bus_socket: Connection refused
> WARNING: Failed to contact D-Bus daemon.
>
> It was working fine a week or so ago.
>
> FreeBSD shuttle.paulbeard.org 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4
> #1: Sat May 5 17:20:10 PDT 2007 root at shuttle.paulbeard.org:/usr/
> obj/usr/src/sys/SHUTTLE i386
avahi doesn't need NSS. It works just fine without it. This problem
appears to be D-BUS related. Do you have dbus_enable="YES"
in /etc/rc.conf? You should see a process like the following running if
D-BUS is operating correctly:
/usr/local/bin/dbus-daemon --system
Joe
--
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20070529/2f9d16bd/attachment.pgp
More information about the freebsd-gnome
mailing list