RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2224504 - glibc: Fix regression in handling of IPv4 mapped addresses in nss_files
Summary: glibc: Fix regression in handling of IPv4 mapped addresses in nss_files
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: glibc
Version: 9.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Florian Weimer
QA Contact: Sergey Kolosov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-21 07:58 UTC by Florian Weimer
Modified: 2023-11-07 10:11 UTC (History)
8 users (show)

Fixed In Version: glibc-2.34-77.el9
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-07 08:37:51 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gitlab redhat/centos-stream/rpms glibc merge_requests 95 0 None opened Fix regression with IPv4 mapped addresses in /etc/hosts (#2224504) 2023-07-28 14:09:05 UTC
Red Hat Issue Tracker RHELPLAN-162940 0 None None None 2023-07-21 07:59:45 UTC
Red Hat Product Errata RHBA-2023:6582 0 None None None 2023-11-07 08:38:14 UTC
Sourceware 25457 0 P2 RESOLVED hosts lookup fails for ipv4mapped ipv6 addresses 2023-07-28 14:09:14 UTC

Description Florian Weimer 2023-07-21 07:58:42 UTC
When getnameinfo is used to lookup IPv4-mapped addresses in /etc/hosts, matching records are not found.

This is a regression relative to Red Hat Enterprise Linux 8.

Comment 1 Carlos O'Donell 2023-07-21 13:18:50 UTC
Upstream patchwork link:
https://patchwork.sourceware.org/project/glibc/patch/mvmjzuwchbq.fsf@suse.de/

Comment 2 Florian Weimer 2023-07-28 13:08:49 UTC
Upstream commit:

commit c437631485a85c3bd034e12f53dd1c8207f05940
Author: Andreas Schwab <schwab>
Date:   Wed Jul 19 09:55:31 2023 +0200

    Restore lookup of IPv4 mapped addresses in files database (bug 25457)
    
    This was broken by commit 9c02d0784d ("nss_files: Remove RES_USE_INET6
    from hosts processing"), which removed too much.

Comment 7 errata-xmlrpc 2023-11-07 08:37:51 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (glibc bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:6582


Note You need to log in before you can comment on or make changes to this bug.