From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0086F3858D28; Tue, 20 Sep 2022 11:33:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0086F3858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1663673605; bh=2quRjoAO+/4gIdhbmAB791zR1IppVUZGc6hWZU45yQw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ISJ7k6mWdLq8ndsA5kppJVi8oBgkoS1n9Uq1SB91eQV2k47/C/w8SWXyD9anwDM0q 8ED8/0m9LhvTlNsDNziGJlviWsmEFopuE9rROCr8r4tVzxPOX3DHbHm6dckU7HK2X0 sKxixCIK9TZFt8bc6jc2pYYnLdMR9V8SDnH/4Pjw= From: "fweimer at redhat dot com" 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 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nss X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: 2.37 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: resolution target_milestone bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D24816 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Target Milestone|--- |2.37 Status|ASSIGNED |RESOLVED --- Comment #6 from Florian Weimer --- Fixed for 2.37 via: commit c75d20b5b27b0a60f0678236f51a4d3b0b058c00 Author: Florian Weimer 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 commit a623f13adfac47c8634a7288e08f821a846bc650 Author: Florian Weimer 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 I do not plan to backport this. Please advise if you need a backport to some branches. --=20 You are receiving this mail because: You are on the CC list for the bug.=