Bug 428995 - avahi-discover reports out of date information
Summary: avahi-discover reports out of date information
Alias: None
Product: Fedora
Classification: Fedora
Component: avahi
Version: 8
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Orphan Owner
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: 428991
TreeView+ depends on / blocked
Reported: 2008-01-16 17:21 UTC by Cameron Meadors
Modified: 2008-03-27 00:10 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2008-03-27 00:10:15 UTC

Attachments (Terms of Use)

Description Cameron Meadors 2008-01-16 17:21:40 UTC
I am using avahi-discover to find a service provided by a NAS device.  The
services are found, but if I turn the device off or change the name of the
service, avahi-discover lags in updating the into.  

It almost seems like it is caching the information for too long, yet I can not
find any cache to remove.  Restarting avahi-discover does not seem to refresh
the data.

Should avahi-discover update are services are found?  If a service changes
should avahi-discover update its info?  Is this a problem with the frequency of
the service announcement?

Comment 1 Lennart Poettering 2008-03-27 00:10:15 UTC
The mDNS spec mandates relatively long cache ttls because the normal way for
having services to disappear is by sending goodbye packets.

Avahi just follows what the spec mandates. If you think that the spec is
misdesigned here (which I -- as someone who implemented it -- do not think) then
please discuss this with the spec authors.

If Avahi doesn't immediately notice renamed services, than this is most likely
an issue on the mDNS implementation on the NAS (i.e. it doesn't send
announcement/goodbye packets properly), because renames should in theory work

Either way, I do believe Avahi is behaving properly here. I am thus closing this
bug now. If you believe I am not right, feel free to reopen.

Note You need to log in before you can comment on or make changes to this bug.