From: Florian Weimer <fweimer@redhat.com>
To: kmeaw@kmeaw.com
Cc: libc-alpha@sourceware.org
Subject: Re: [PATCH][BZ 21295] getaddrinfo: do not overwrite IPv6 IPs with IPv4 when using AF_UNSPEC
Date: Thu, 20 Apr 2017 14:05:00 -0000 [thread overview]
Message-ID: <81b6e03b-3f45-990c-18dc-bc111c5f5a4a@redhat.com> (raw)
In-Reply-To: <20170420134437.GA29528@kmeaw.com>
On 04/20/2017 03:44 PM, kmeaw@kmeaw.com wrote:
> But Ubuntu 12.04 does not:
>
> root@6e6d4b17326a:/# dpkg-query -s libc6 | grep Version:
> Version: 2.15-0ubuntu10.17
> root@6e6d4b17326a:/# strings /lib/x86_64-linux-gnu/libnss_dns.so.2|grep name4
> root@6e6d4b17326a:/# strings /lib/x86_64-linux-gnu/libnss_dns.so.2|grep name
> __ns_name_unpack
> __ns_name_ntop
> _nss_dns_gethostbyname2_r
> _nss_dns_gethostbyname_r
> _nss_dns_gethostbyname3_r
> __dn_skipname
> _nss_dns_getnetbyname_r
> _nss_dns_getcanonname_r
> root@6e6d4b17326a:/#
Very odd. This is due to the patch
debian/patches/all/fedora-nss_dns-gethostbyname4-disable.diff:
# Description: disable _nss_dns_gethostbyname4_r for the moment, as it
# causes problems for IPv6 users; patch from Fedora by Jakub Jelinek
# Ubuntu: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/313218
# Upstream: https://bugzilla.redhat.com/show_bug.cgi?id=459756
So your reproducer is indeed very Ubuntu-specific at this point. (Red
Hat Enterprise Linux 6 backported the single-request resolver option
instead, which can be used to work around issues with the parallel lookup.)
We still need to fix this upstream because it's also a bug with AI_ALL
and AI_V4MAPPED (see my other message).
Thanks,
Florian
next prev parent reply other threads:[~2017-04-20 14:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-23 13:21 kmeaw
2017-04-20 12:41 ` Florian Weimer
2017-04-20 12:58 ` Florian Weimer
2017-04-20 13:44 ` kmeaw
2017-04-20 14:05 ` Florian Weimer [this message]
2017-06-24 14:59 ` Florian Weimer
2017-07-06 9:03 ` Stefan Liebler
2017-07-06 12:19 ` Florian Weimer
2017-07-06 15:18 ` Stefan Liebler
2017-07-06 21:05 ` Florian Weimer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=81b6e03b-3f45-990c-18dc-bc111c5f5a4a@redhat.com \
--to=fweimer@redhat.com \
--cc=kmeaw@kmeaw.com \
--cc=libc-alpha@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).