avahi and nss-mDNS

paul beard paulbeard at gmail.com
Tue May 29 18:05:13 UTC 2007


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

--
Paul Beard
words: http://paulbeard.org/wordpress
pictures: http://www.flickr.com/photos/pdb206/
Are you trying to win an argument or solve a problem?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20070529/215836e8/PGP.pgp


More information about the freebsd-gnome mailing list