From 7a51c83bfe86a5d4ce5efbc5fb450e4317f9efc9 Mon Sep 17 00:00:00 2001 From: Patsy Griffin Date: Fri, 2 May 2025 09:53:33 -0400 Subject: [PATCH] Add missing libnss_testX.so requirement for tst-nss-test3 (RHEL-88813) Resolves: RHEL-88813 --- glibc-RHEL-88813.patch | 31 +++++++++++++++++++++++++++++++ glibc.spec | 6 +++++- 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 glibc-RHEL-88813.patch diff --git a/glibc-RHEL-88813.patch b/glibc-RHEL-88813.patch new file mode 100644 index 0000000..f6330a6 --- /dev/null +++ b/glibc-RHEL-88813.patch @@ -0,0 +1,31 @@ +commit 268bb71e475d7e40fad83313be0eeb173e599c92 +Author: Stefan Liebler +Date: Fri Dec 14 09:50:53 2018 +0100 + + Add missing libnss_testX.so requirement for tst-nss-test3. + + Sometimes tst-nss-test3 fails with: + error: test-container.c:386: unable to open .../nss/libnss_test1.so for reading + + The test tst-nss-test3 which runs in a container needs + libnss_test[12].so. (see e.g. tst-nss-test3.script). + Before this test was moved from tests to tests-container variable, + the requirement was met. Thus this patch adds this requirement + also for tests in tests-container. + +Conflicts: + ChangeLog + (removed) + +diff -Nrup a/nss/Makefile b/nss/Makefile +--- a/nss/Makefile 2025-05-01 21:21:05.471995292 -0400 ++++ b/nss/Makefile 2025-05-01 21:19:15.440411065 -0400 +@@ -197,7 +197,7 @@ $(objpfx)/libnss_test_errno.so$(libnss_f + $(objpfx)/libnss_test_gai_hv2_canonname.so$(libnss_files.so-version): \ + $(objpfx)/libnss_test_gai_hv2_canonname.so + $(make-link) +-$(patsubst %,$(objpfx)%.out,$(tests)) : \ ++$(patsubst %,$(objpfx)%.out,$(tests) $(tests-container)) : \ + $(objpfx)/libnss_test1.so$(libnss_test1.so-version) \ + $(objpfx)/libnss_test2.so$(libnss_test2.so-version) \ + $(objpfx)/libnss_test_errno.so$(libnss_files.so-version) \ diff --git a/glibc.spec b/glibc.spec index 2df88c2..67651d7 100644 --- a/glibc.spec +++ b/glibc.spec @@ -115,7 +115,7 @@ end \ Summary: The GNU libc libraries Name: glibc Version: %{glibcversion} -Release: %{glibcrelease}.19 +Release: %{glibcrelease}.20 # In general, GPLv2+ is used by programs, LGPLv2+ is used for # libraries. @@ -1266,6 +1266,7 @@ Patch1031: glibc-RHEL-76211.patch Patch1032: glibc-RHEL-76387.patch Patch1033: glibc-RHEL-86018-1.patch Patch1034: glibc-RHEL-86018-2.patch +Patch1035: glibc-RHEL-88813.patch ############################################################################## # Continued list of core "glibc" package information: @@ -2927,6 +2928,9 @@ fi %{_libdir}/libpthread_nonshared.a %changelog +* Fri May 02 2025 Patsy Griffin - 2.28-251.20 +- Add missing libnss_testX.so requirement for tst-nss-test3 (RHEL-88813) + * Fri Apr 25 2025 Patsy Griffin - 2.28-251.19 - libio: Fix a deadlock after fork in popen - libio: Correctly link tst-popen-fork against libpthread (RHEL-86018)