Back to bug 1982608

Who When What Removed Added
Red Hat Bugzilla 2021-07-15 09:32:22 UTC Pool ID sst_platform_tools_dts
DJ Delorie 2021-08-05 03:32:13 UTC Keywords Triaged
DJ Delorie 2021-08-09 18:39:46 UTC QA Contact mkolar qe-baseos-tools-bugs
Target Release 9.1 ---
Product Red Hat Developer Toolset Red Hat Enterprise Linux 8
CC ashankar, codonell, dj, fweimer, mnewsome, pfrankli, sipoyare
Version DTS 11.0 RHEL 7 8.6
Component make glibc
Target Milestone alpha beta
Group redhat
Pool ID sst_platform_tools_dts sst_platform_tools_rhel_8
Assignee dj glibc-bugzilla
Red Hat One Jira (issues.redhat.com) 2021-08-09 18:42:31 UTC Link ID Red Hat Issue Tracker RHELPLAN-92958
Carlos O'Donell 2021-08-25 12:32:49 UTC Flags needinfo?(dj)
DJ Delorie 2021-08-25 17:15:06 UTC Flags needinfo?(dj)
Pavel Najman 2021-09-17 12:24:26 UTC Pool ID sst_platform_tools_rhel_8 sst_pt_pcp_rhel_8
Pavel Najman 2021-09-17 12:34:06 UTC Pool ID sst_pt_pcp_rhel_8 sst_pt_gcc_glibc_rhel_8
Carlos O'Donell 2021-11-05 13:43:40 UTC Assignee glibc-bugzilla dj
Keywords Bugfix
Carlos O'Donell 2022-04-29 14:09:34 UTC Summary functions/wildcard failure in upstream testsuite glibc: Fix glob() implementation on XFS [rhel-8.7.0]
Martin Cermak 2022-04-29 14:30:06 UTC QA Contact qe-baseos-tools-bugs skolosov
Martin Coufal 2022-05-02 07:39:54 UTC QA Contact skolosov mcoufal
CC mcoufal, skolosov
Carlos O'Donell 2022-05-06 14:42:17 UTC Status NEW ASSIGNED
DJ Delorie 2022-05-06 20:43:08 UTC Fixed In Version glibc-2.28-200.el8
Status ASSIGNED MODIFIED
Carlos O'Donell 2022-05-09 16:09:24 UTC Doc Type If docs needed, set a value Bug Fix
DJ Delorie 2022-05-09 18:24:28 UTC Doc Text Cause: On certain XFS filesystems, some file attributes are not reported by readdir(), causing glob()'s GLOB_ONLYDIR hint to misreport symbolic links as directories. Make's use of glob() did not confirm the "hints" to actually be directories.

Consequence: Wildcard functions in Makefiles may occasionally return symbolic links when only directories were expected.

Fix: glob() was fixed to confirm all returned directories are actually directories. Note that technically, this list is still just a hint.

Result: Wildcard functions in Makefiles which are expected to only return directories, now only return directories.
Martin Coufal 2022-05-10 07:21:49 UTC Doc Text Cause: On certain XFS filesystems, some file attributes are not reported by readdir(), causing glob()'s GLOB_ONLYDIR hint to misreport symbolic links as directories. Make's use of glob() did not confirm the "hints" to actually be directories.

Consequence: Wildcard functions in Makefiles may occasionally return symbolic links when only directories were expected.

Fix: glob() was fixed to confirm all returned directories are actually directories. Note that technically, this list is still just a hint.

Result: Wildcard functions in Makefiles which are expected to only return directories, now only return directories.
If this bug requires documentation, please select an appropriate Doc Type value.
Martin Coufal 2022-05-10 07:25:55 UTC Doc Text If this bug requires documentation, please select an appropriate Doc Type value. Cause: On certain XFS filesystems, some file attributes are not reported by readdir(), causing glob()'s GLOB_ONLYDIR hint to misreport symbolic links as directories. Make's use of glob() did not confirm the "hints" to actually be directories.

Consequence: Wildcard functions in Makefiles may occasionally return symbolic links when only directories were expected.

Fix: glob() was fixed to confirm all returned directories are actually directories. Note that technically, this list is still just a hint.

Result: Wildcard functions in Makefiles which are expected to only return directories, now only return directories.
errata-xmlrpc 2022-05-10 07:33:45 UTC Status MODIFIED ON_QA
Martin Coufal 2022-05-11 12:56:09 UTC Status ON_QA VERIFIED
Jacob Taylor Valdez 2022-07-12 10:37:54 UTC Doc Text Cause: On certain XFS filesystems, some file attributes are not reported by readdir(), causing glob()'s GLOB_ONLYDIR hint to misreport symbolic links as directories. Make's use of glob() did not confirm the "hints" to actually be directories.

Consequence: Wildcard functions in Makefiles may occasionally return symbolic links when only directories were expected.

Fix: glob() was fixed to confirm all returned directories are actually directories. Note that technically, this list is still just a hint.

Result: Wildcard functions in Makefiles which are expected to only return directories, now only return directories.
.Wildcard functions in Makefiles no longer return symbolic links when only directories are expected

Previously, `glob()`’s `GLOB_ONLYDIR` hint misreported symbolic links as directories on certain XFS filesystems. Make’s use of `glob()` did not confirm that the hints were actually directories and, as a result, wildcard functions in Makefiles returned symbolic links when only directories were expected.

The bug has been fixed and wildcard functions in Makefiles no longer return symbolic links when only directories are expected.
Flags needinfo?(dj)
CC jvaldez
Docs Contact jvaldez
DJ Delorie 2022-07-13 02:14:33 UTC Flags needinfo?(dj)
Jacob Taylor Valdez 2022-09-07 11:24:05 UTC Doc Text .Wildcard functions in Makefiles no longer return symbolic links when only directories are expected

Previously, `glob()`’s `GLOB_ONLYDIR` hint misreported symbolic links as directories on certain XFS filesystems. Make’s use of `glob()` did not confirm that the hints were actually directories and, as a result, wildcard functions in Makefiles returned symbolic links when only directories were expected.

The bug has been fixed and wildcard functions in Makefiles no longer return symbolic links when only directories are expected.
.Wildcard functions in Makefiles no longer return symbolic links when only directories are expected

Previously, the `GLOB_ONLYDIR` hint used by `glob()` misreported symbolic links as directories on certain XFS filesystems. When using `glob()`, `make` did not confirm that the hints were actually directories and, as a result, wildcard functions in Makefiles returned symbolic links when only directories were expected.

The bug has been fixed and wildcard functions in Makefiles no longer return symbolic links when only directories are expected.
errata-xmlrpc 2022-11-08 00:18:36 UTC Status VERIFIED RELEASE_PENDING
errata-xmlrpc 2022-11-08 10:43:11 UTC Status RELEASE_PENDING CLOSED
Resolution --- ERRATA
Last Closed 2022-11-08 10:43:11 UTC
errata-xmlrpc 2022-11-08 10:43:28 UTC Link ID Red Hat Product Errata RHBA-2022:7684
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 1982608