Bug 2037056

Summary: glibc: Import important urgent and critical fixes for glibc 2.34 (Snapshot 4) [rhel-9.0.0]
Product: Red Hat Enterprise Linux 9 Reporter: Carlos O'Donell <codonell>
Component: glibcAssignee: Florian Weimer <fweimer>
Status: CLOSED ERRATA QA Contact: Sergey Kolosov <skolosov>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 9.0CC: ashankar, codonell, dj, fweimer, mnewsome, pfrankli, sipoyare
Target Milestone: rcKeywords: Bugfix, Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: glibc-2.34-25.el9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-17 15:48:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2033649    

Description Carlos O'Donell 2022-01-04 18:18:29 UTC
Import important urgent and critical fixes for glibc 2.34 from the release branch.

Notes:
- This is the fourth snapshot of such fixes (first snapshot was bug 2003135)

Comment 4 Florian Weimer 2022-02-01 20:17:36 UTC
I'm including the following commits which have NOT been backported to release/2.34/master upstream. We backported C.UTF-8 earlier, so we need these:

commit 1d8e3a2c6636cf0b1b8fa2f869cef6ec10726933
Author: Carlos O'Donell <carlos>
Date:   Mon Jan 31 00:34:41 2022 -0500

    localedef: Fix handling of empty mon_decimal_point (Bug 28847)

commit de82cb0da4b8fa5b3d56c457438d2568c67ab1b1
Author: Joseph Myers <joseph>
Date:   Tue Oct 12 13:48:39 2021 +0000

    Add TEST_COMPARE_STRING_WIDE to support/check.h

commit 7e0ad15c0fbfe25435c1acd0ed3e9cedfbff2488
Author: Carlos O'Donell <carlos>
Date:   Mon Jan 31 00:34:42 2022 -0500

    localedata: Adjust C.UTF-8 to align with C/POSIX.

These are in glibc-c-utf8-locale-[345].patch.

Comment 5 Florian Weimer 2022-02-03 19:02:53 UTC
I have imported more commits from the glibc 2.34 branch.

- socket: Do not use AF_NETLINK in __opensock
- hurd if_index: Explicitly use AF_INET for if index discovery
- Linux: Simplify __opensock and fix race condition [BZ #28353]
- linux: __get_nprocs_sched: do not feed CPU_COUNT_S with garbage [BZ #28850]

The malloc and __opensock bug fixes are relevant to us.

Comment 10 errata-xmlrpc 2022-05-17 15:48: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 (new packages: glibc), 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-2022:3917