public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nss/24816] nss/tst-nss-files-hosts-long fails when no interface has AF_INET6 address (ie docker)
Date: Tue, 20 Sep 2022 11:33:24 +0000	[thread overview]
Message-ID: <bug-24816-131-ROZirpY7zD@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-24816-131@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=24816

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.37
             Status|ASSIGNED                    |RESOLVED

--- Comment #6 from Florian Weimer <fweimer at redhat dot com> ---
Fixed for 2.37 via:

commit c75d20b5b27b0a60f0678236f51a4d3b0b058c00
Author: Florian Weimer <fweimer@redhat.com>
Date:   Tue Sep 13 16:11:40 2022 +0200

    nss: Fix tst-nss-files-hosts-long on single-stack hosts (bug 24816)

    getent implicitly passes AI_ADDRCONFIG to getaddrinfo by default.
    Use --no-addrconfig to suppress that, so that both IPv4 and IPv6
    lookups succeed even if the address family is not supported by the
    host.

    Reviewed-by: Carlos O'Donell <carlos@redhat.com>

commit a623f13adfac47c8634a7288e08f821a846bc650
Author: Florian Weimer <fweimer@redhat.com>
Date:   Tue Sep 13 16:10:20 2022 +0200

    nss: Implement --no-addrconfig option for getent

    The ahosts, ahostsv4, ahostsv6 commands unconditionally pass
    AI_ADDRCONFIG to getaddrinfo, which is not always desired.

    Reviewed-by: Carlos O'Donell <carlos@redhat.com>


I do not plan to backport this. Please advise if you need a backport to some
branches.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

  parent reply	other threads:[~2022-09-20 11:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-24816-131@http.sourceware.org/bugzilla/>
2021-08-30 18:44 ` xry111 at mengyan1223 dot wang
2022-06-10 17:01 ` fantasquex at gmail dot com
2022-09-13 14:23 ` fweimer at redhat dot com
2022-09-13 14:49 ` fweimer at redhat dot com
2022-09-20 11:33 ` fweimer at redhat dot com [this message]
2022-11-14 14:37 ` romain.geissler at amadeus dot com
2022-11-14 14:46 ` fweimer at redhat dot com

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=bug-24816-131-ROZirpY7zD@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@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).