Back to bug 2061727

Who When What Removed Added
Red Hat Bugzilla 2022-03-08 12:31:57 UTC Pool ID sst_cs_plumbers_rhel_8
Red Hat One Jira (issues.redhat.com) 2022-03-08 12:37:21 UTC Link ID Red Hat Issue Tracker RHELPLAN-114806
David Tardon 2022-03-10 09:32:09 UTC Assignee systemd-maint glibc-bugzilla
Keywords Regression
CC ashankar, codonell, dj, dtardon, fweimer, mnewsome, pfrankli, sipoyare
Pool ID sst_cs_plumbers_rhel_8 sst_pt_gcc_glibc_rhel_8
Component systemd glibc
QA Contact fsumsal qe-baseos-tools-bugs
Florian Weimer 2022-03-10 10:19:52 UTC Summary nss-systemd should not set EPERM errno for getpwent glibc: NSS framework can report incorrect lookup result if fin clobbers errno
Florian Weimer 2022-03-10 10:20:05 UTC Summary glibc: NSS framework can report incorrect lookup result if fin clobbers errno glibc: NSS framework can report incorrect lookup result if function lookup clobbers errno
Florian Weimer 2022-03-10 10:35:49 UTC Link ID Sourceware 28953
Florian Weimer 2022-03-10 10:37:14 UTC Flags needinfo?(mhlavink)
Keywords Bugfix, Triaged
Michal Hlavinka 2022-03-10 10:41:58 UTC Flags needinfo?(mhlavink)
Florian Weimer 2022-03-10 12:50:36 UTC Flags needinfo?(codonell)
Carlos O'Donell 2022-03-10 13:52:32 UTC Flags needinfo?(codonell)
RHEL Program Management 2022-03-10 13:52:41 UTC Flags needinfo?(glibc-bugzilla)
CC glibc-bugzilla
Martin Cermak 2022-03-10 14:00:08 UTC QA Contact qe-baseos-tools-bugs skolosov
Jakub Haruda 2022-03-10 17:01:41 UTC CC jharuda
Florian Weimer 2022-03-10 18:38:18 UTC Flags needinfo?(mhlavink)
Michal Hlavinka 2022-03-11 10:07:44 UTC Flags needinfo?(mhlavink)
Florian Weimer 2022-03-11 11:07:41 UTC Depends On 2063142
Florian Weimer 2022-03-11 11:27:54 UTC Doc Type If docs needed, set a value Bug Fix
Doc Text Cause: The Name Service Switch implementation in glibc may set errno incorrectly during database enumeration using functions such as getpwent() if the last NSS service module does not provide any data.

Consequence: Applications using enumeration functions like getpwent() incorrectly observe an error and fail.

Fix: glibc now restores errno after loading an NSS module.

Result: Applications calling getpwent() and similar functions can detect errors by setting errno to 0 prior to the call, and checking errno after the call.
Florian Weimer 2022-03-11 15:43:43 UTC Flags needinfo?(glibc-bugzilla)
Libor Miksik 2022-03-14 08:25:41 UTC CC lmiksik
RHEL Program Management Team 2022-03-14 08:26:23 UTC Blocks 2063712
Florian Weimer 2022-03-14 08:30:16 UTC Status NEW ASSIGNED
Assignee glibc-bugzilla fweimer
Florian Weimer 2022-03-14 16:07:11 UTC Fixed In Version glibc-2.28-189.1.el8
Status ASSIGNED MODIFIED
Martin Coufal 2022-03-22 11:34:06 UTC CC mcoufal
Martin Coufal 2022-03-22 11:47:54 UTC QA Contact skolosov mcoufal
CC skolosov
errata-xmlrpc 2022-03-23 10:07:05 UTC Status MODIFIED ON_QA
Martin Coufal 2022-03-25 09:50:46 UTC Status ON_QA VERIFIED
Jacob Taylor Valdez 2022-04-06 10:42:17 UTC CC jvaldez
Flags needinfo?(fweimer)
Doc Text Cause: The Name Service Switch implementation in glibc may set errno incorrectly during database enumeration using functions such as getpwent() if the last NSS service module does not provide any data.

Consequence: Applications using enumeration functions like getpwent() incorrectly observe an error and fail.

Fix: glibc now restores errno after loading an NSS module.

Result: Applications calling getpwent() and similar functions can detect errors by setting errno to 0 prior to the call, and checking errno after the call.
.`glibc` now restores errno after loading a Name Service Switch (NSS) module.

Previously, the NSS implementation in `glibc` set errno incorrectly during database enumeration using functions such as `getpwent()` if the last NSS module did not provide any data. This caused applications using these enumeration functions to fail. The bug is fixed and `glibc` now restores errno after loading an NSS module.
Florian Weimer 2022-04-06 10:51:49 UTC Flags needinfo?(fweimer)
Jacob Taylor Valdez 2022-04-13 08:00:05 UTC Doc Text .`glibc` now restores errno after loading a Name Service Switch (NSS) module.

Previously, the NSS implementation in `glibc` set errno incorrectly during database enumeration using functions such as `getpwent()` if the last NSS module did not provide any data. This caused applications using these enumeration functions to fail. The bug is fixed and `glibc` now restores errno after loading an NSS module.
.`glibc` now restores errno after loading a Name Service Switch (NSS) module.

Previously, the NSS implementation in `glibc` set errno incorrectly during database enumeration that used functions such as `getpwent()` if the last NSS module did not provide any data. This caused applications using these enumeration functions to fail. The bug is fixed and `glibc` now restores errno after loading an NSS module.
errata-xmlrpc 2022-05-10 00:37:17 UTC Status VERIFIED RELEASE_PENDING
errata-xmlrpc 2022-05-10 15:18:10 UTC Resolution --- ERRATA
Status RELEASE_PENDING CLOSED
Last Closed 2022-05-10 15:18:10 UTC
errata-xmlrpc 2022-05-10 15:18:32 UTC Link ID Red Hat Product Errata RHBA-2022:2005
Mark O'Brien 2023-07-18 14:30:35 UTC Pool ID sst_pt_glibc_rhel_8 sst_pt_libraries_rhel_8

Back to bug 2061727