In eglibc SVN repository revision 20392, Tue Aug 28 14:14:43 2012 UTC,
the getaddrinfo() code was changed to call _nss_gethostbyname4_r only
for family AF_UNSPEC. The commit comment just says "Merge changes
between r20213 and r20391 from /fsf/trunk."

Looking at /fsf/trunk/libc/sysdeps/posix/getaddrinfo.c, I trace it to
revision 20296. The commit comment just says "Import glibc-mainline for
2012-08-23".

This I trace to glibc commit 8479f23aa1:
http://repo.or.cz/w/glibc.git/commit/8479f23aa1d5e5477a37f46823856bdafaedfa46

I think this commit is ultimately problematic because it breaks IPv6
scope ID retrieval. I think it should be reverted, so that
_nss_gethostbyname4_r is always called for IPv6. Whatever problem it was
aiming to solve, it should probably be solved a different way.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/369008

Title:
  mdns lookups fail over ipv6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nss-mdns/+bug/369008/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to