In reply to Michael Biebl re Re: [Pkg-utopia-maintainers] Bug#657553: avahi- daemon losing addresses:
> severity 657533 important > thanks > > On 26.01.2012 23:47, Geoff Clements wrote: > > There's nothing in the logs that I can see that suggests > > that avahi is flushing its cache. > > Please run avahi-daemon in debug mode (--debug) and attach the log file. Ok - I stopped the avahi service and then started it again with the --debug switch, this generated avahi_start.txt (attached). Henry is my server, scotty is my desktop from which I'm doing this. I waited for about five minutes and then tried: $ getent hosts henry.local which returned nothing at the cli but one line was added to the log: 27/01/2012 18:02:03 scotty avahi-daemon[5606] simple-protocol.c: Got RESOLVE-HOSTNAME-IPV4 request for 'henry.local'. I immediately tried my Ubuntu laptop which worked as expected. A second attempt on my desktop did not yield any different results. I restarted avahi-daemon and tried again immediately and correctly got the resolved address at the cli with the same message in the logs as above. Wait a couple of minutes and back to the same problem. Just to make sure I tried to resolve the hostname of the laptop and this did not work either. -- Geoff
27/01/2012 17:57:08 scotty avahi-daemon[5606] Found user 'avahi' (UID 105) and group 'avahi' (GID 111). 27/01/2012 17:57:08 scotty avahi-daemon[5606] Successfully dropped root privileges. 27/01/2012 17:57:08 scotty avahi-daemon[5606] avahi-daemon 0.6.30 starting up. 27/01/2012 17:57:08 scotty avahi-daemon[5607] chroot.c: chroot() helper started 27/01/2012 17:57:08 scotty avahi-daemon[5606] Successfully called chroot(). 27/01/2012 17:57:08 scotty avahi-daemon[5606] Successfully dropped remaining capabilities. 27/01/2012 17:57:08 scotty avahi-daemon[5607] chroot.c: chroot() helper got command 02 27/01/2012 17:57:08 scotty avahi-daemon[5606] Loading service file /services/udisks.service. 27/01/2012 17:57:08 scotty avahi-daemon[5606] Joining mDNS multicast group on interface eth0.IPv4 with address 81.2.88.203. 27/01/2012 17:57:08 scotty avahi-daemon[5606] New relevant interface eth0.IPv4 for mDNS. 27/01/2012 17:57:08 scotty avahi-daemon[5606] Network interface enumeration completed. 27/01/2012 17:57:08 scotty avahi-daemon[5606] Registering new address record for 2001:8b0:1312:c0f8:222:15ff:fe55:cc3 on eth0.*. 27/01/2012 17:57:08 scotty avahi-daemon[5606] Registering new address record for 81.2.88.203 on eth0.IPv4. 27/01/2012 17:57:08 scotty avahi-daemon[5606] Registering new address record for 81.2.88.206 on eth0.IPv4. 27/01/2012 17:57:08 scotty avahi-daemon[5606] Registering HINFO record with values 'X86_64'/'LINUX'. 27/01/2012 17:57:08 scotty avahi-daemon[5606] dbus-protocol.c: interface=org.freedesktop.Avahi.Server, path=/, member=GetAPIVersion 27/01/2012 17:57:08 scotty avahi-daemon[5606] dbus-protocol.c: interface=org.freedesktop.Avahi.Server, path=/, member=GetState 27/01/2012 17:57:08 scotty avahi-daemon[5606] Server startup complete. Host name is scotty.local. Local service cookie is 1318132384. 27/01/2012 17:57:09 scotty avahi-daemon[5606] Service "scotty" (/services/udisks.service) successfully established.