public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/26977] New: getaddrinfo does not handle the hosts file correctly
@ 2020-11-29 21:28 bugs at jth dot net
  2020-11-29 21:29 ` [Bug libc/26977] " bugs at jth dot net
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bugs at jth dot net @ 2020-11-29 21:28 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 26977
           Summary: getaddrinfo does not handle the hosts file correctly
           Product: glibc
           Version: 2.32
            Status: UNCONFIRMED
          Keywords: glibc_2.32
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: bugs at jth dot net
                CC: drepper.fsp at gmail dot com
  Target Milestone: 2.32

Host: Linux Fedora 33
On a dual stack IP4 + IP6 server the 2.32 release has introduced a problem of
getaddrinfo omitting looking up the IP6 address in the DNS in case the IP4
address is found in the hosts file or vice versa.

After upgrading 'ping -6 IP6.HOST' suddenly failed by "Address family for
hostname not supported" and the monitoring software reported downtime.
Similarly for the dig command.
A test program for getaddrinfo verified the changed behaviour. 

Only after entering the IP6 address into or deleting the IP4 address from the
hosts file the old behaviour was restored.

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-11-30 14:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-29 21:28 [Bug libc/26977] New: getaddrinfo does not handle the hosts file correctly bugs at jth dot net
2020-11-29 21:29 ` [Bug libc/26977] " bugs at jth dot net
2020-11-29 21:51 ` bugs at jth dot net
2020-11-30 11:47 ` fweimer at redhat dot com
2020-11-30 13:13 ` bugs at jth dot net
2020-11-30 13:34 ` bugs at jth dot net
2020-11-30 13:36 ` fweimer at redhat dot com
2020-11-30 13:37 ` [Bug network/26977] " fweimer at redhat dot com
2020-11-30 14:02 ` bugs at jth dot net

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).