After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 332634 - Avahi backend fails to resolve pseudo local services
Avahi backend fails to resolve pseudo local services
Status: RESOLVED WONTFIX
Product: gnome-vfs
Classification: Deprecated
Component: Other
2.13.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
gnome[unmaintained]
Depends on:
Blocks: 332148
 
 
Reported: 2006-02-26 15:47 UTC by Mathias Hasselmann (IRC: tbf)
Modified: 2018-08-17 13:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
My suggestion for fixing that bug (1.18 KB, patch)
2006-02-26 15:52 UTC, Mathias Hasselmann (IRC: tbf)
none Details | Review

Description Mathias Hasselmann (IRC: tbf) 2006-02-26 15:47:33 UTC
gnome_vfs_dns_sd_resolve_sync fails with GNOME_VFS_ERROR_HOST_NOT_FOUND when resolving pseudo local services (avahi-publish -s 'Remote Terminal on somewhere' _ssh._tcp 22 --host=somewhere.com).

Appears like the this happens, because gnome_vfs_dns_sd_resolve_sync calls avahi_service_resolver_new with the AVAHI_LOOKUP_USE_MULTICAST flag. This flag causes avahi to do local multicast lookups only, whereas resolving the hostname for the pseudo local service might require an unicast lookup.
Comment 1 Mathias Hasselmann (IRC: tbf) 2006-02-26 15:52:01 UTC
Created attachment 60161 [details] [review]
My suggestion for fixing that bug
Comment 2 Alexander Larsson 2006-02-27 10:32:34 UTC
commited. thanks.
Comment 3 Lennart Poettering 2007-05-09 15:07:09 UTC
Hmm, this is not fixed as it appaeras. There are still some occurences of AVAHI_LOOKUP_USE_MULTICAST in the sources. 
Comment 4 Lennart Poettering 2007-05-09 15:12:49 UTC
The fix is easy, BTW. Just replace AVAHI_LOOKUP_USE_MULTICAST by 0 everywhere.
Comment 5 André Klapper 2018-08-17 13:51:05 UTC
gnome-vfs got deprecated in 2008.

gnome-vfs is not under active development anymore and had its last code changes
in 2011. Its codebase has been archived:
https://gitlab.gnome.org/Archive/gnome-vfs/commits/master

gio (in glib) and gvfs are its successors. See https://developer.gnome.org/gio/stable/ch33.html and https://people.gnome.org/~gicmo/gio-migration-guide/ for porting info.

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Feel free to open a task in GNOME Gitlab if the issue described in this task still applies to a recent + supported version of glib/gio/gvfs. Thanks!