Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jul 2010 09:37:34 -0700
From:      Ted Faber <faber@isi.edu>
To:        freebsd-gnome@freebsd.org
Subject:   Avahi utilities cannot see avahi-daemon
Message-ID:  <20100730163734.GA44182@zod.isi.edu>

next in thread | raw e-mail | index | archive | help

--Kj7319i9nmIyA2yE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I'm running a recent FreeBSD 8.1 and ports updated today, and the
avahi-browse command reports no avahi-daemon running though the deamon
itself is running (and its own check shows it).  These two commands come
out of the same port (avahi-app) so I'm really surprised that they don't
see one another.

Here are the details I have.  I'm happy to run further tests or try patches.

Here's the version info:

zod:~$ uname -a
FreeBSD zod.isi.edu 8.1-STABLE FreeBSD 8.1-STABLE #16: Mon Jul 26 11:07:36 =
PDT 2010     root@zod.isi.edu:/usr/obj/usr/src/sys/GENERIC i386
zod:~$ pkg_info | grep avahi-app
avahi-app-0.6.27    Service discovery on a local network
zod:~$ avahi-daemon --version
avahi-daemon 0.6.27

Here's the daemon running in debug mode:

zod:~$ sudo /usr/local/sbin/avahi-daemon --debug
Found user 'avahi' (UID 558) and group 'avahi' (GID 558).
Successfully dropped root privileges.
avahi-daemon 0.6.27 starting up.
WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
Loading service file /usr/local/etc/avahi/services/sftp-ssh.service.
Loading service file /usr/local/etc/avahi/services/ssh.service.
Joining mDNS multicast group on interface em0.IPv4 with address
128.9.168.221.
New relevant interface em0.IPv4 for mDNS.
Network interface enumeration completed.
Registering new address record for 128.9.168.221 on em0.IPv4.
Registering HINFO record with values 'I386'/'FREEBSD'.
Server startup complete. Host name is zod.local. Local service cookie is
192871804.
Service "zod" (/usr/local/etc/avahi/services/ssh.service) successfully
established.
Service "zod" (/usr/local/etc/avahi/services/sftp-ssh.service)
successfully established.

Here is the daemon command finding the daemon and the browser failing:
zod:~$ avahi-daemon --check && echo OK
OK
zod:~$ avahi-browse -a
Failed to create client object: Daemon not running



--=20
Ted Faber
http://www.isi.edu/~faber           PGP: http://www.isi.edu/~faber/pubkeys.=
asc
Unexpected attachment on this mail? See http://www.isi.edu/~faber/FAQ.html#=
SIG

--Kj7319i9nmIyA2yE
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (FreeBSD)

iEYEARECAAYFAkxS/84ACgkQaUz3f+Zf+XulSwCfZfOzNy1KT5Jv1Jttf+1iMcOi
7UkAnjJ6XxrWdqa1grYejLe0rmkVU+LW
=jOAs
-----END PGP SIGNATURE-----

--Kj7319i9nmIyA2yE--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100730163734.GA44182>