From owner-freebsd-gnome@FreeBSD.ORG Tue May 29 20:37:16 2007 Return-Path: X-Original-To: gnome@freebsd.org Delivered-To: freebsd-gnome@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 82AB416A468 for ; Tue, 29 May 2007 20:37:16 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.freebsd.org (Postfix) with ESMTP id 218EA13C44C for ; Tue, 29 May 2007 20:37:15 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.1/8.14.1) with ESMTP id l4TKbk0K044362; Tue, 29 May 2007 16:37:46 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: paul beard In-Reply-To: <627991A2-4E44-430D-89CF-2396C127B547@mac.com> References: <627991A2-4E44-430D-89CF-2396C127B547@mac.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-oPB6Hw7e4bUkVIJpOWat" Organization: MarcusCom, Inc. Date: Tue, 29 May 2007 16:37:12 -0400 Message-Id: <1180471032.68502.23.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on creme-brulee.marcuscom.com Cc: gnome@freebsd.org Subject: Re: avahi and nss-mDNS X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 20:37:16 -0000 --=-oPB6Hw7e4bUkVIJpOWat Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2007-05-29 at 10:38 -0700, paul beard wrote: > I was having trouble getting avahi to run. >=20 > # /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! >=20 > nss-mdns is installed. >=20 > 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 >=20 > I just rebuilt avahi with mDNS toggled on (it was off before): should =20 > nss_mdns be a dependent if, as appears above, avahi won't run without =20 > it? And why would it fail to run if I didn't activate mDNS =20 > capability? As it turns out, I wanted that so it all ends up as I =20 > wanted it. >=20 > Alas, it still fails. >=20 > # /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/=20 > system_bus_socket: Connection refused > WARNING: Failed to contact D-Bus daemon. >=20 > It was working fine a week or so ago. >=20 > FreeBSD shuttle.paulbeard.org 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 =20 > #1: Sat May 5 17:20:10 PDT 2007 root@shuttle.paulbeard.org:/usr/=20 > 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=3D"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 --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-oPB6Hw7e4bUkVIJpOWat Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGXI73b2iPiv4Uz4cRAm8hAJ0cbrdlw0FG/l0ctuIdDvKLPwzsRACgjMQw kA8Kb/TG5XdGm0ydNCK2z6I= =PVWH -----END PGP SIGNATURE----- --=-oPB6Hw7e4bUkVIJpOWat--