Add missing libnss_testX.so requirement for tst-nss-test3 (RHEL-88813)

Resolves: RHEL-88813
This commit is contained in:
Patsy Griffin 2025-05-02 09:53:33 -04:00
parent 68ae5c20b5
commit 7a51c83bfe
2 changed files with 36 additions and 1 deletions

31
glibc-RHEL-88813.patch Normal file
View File

@ -0,0 +1,31 @@
commit 268bb71e475d7e40fad83313be0eeb173e599c92
Author: Stefan Liebler <stli@linux.ibm.com>
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) \

View File

@ -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 <patsy@redhat.com> - 2.28-251.20
- Add missing libnss_testX.so requirement for tst-nss-test3 (RHEL-88813)
* Fri Apr 25 2025 Patsy Griffin <patsy@redhat.com> - 2.28-251.19
- libio: Fix a deadlock after fork in popen
- libio: Correctly link tst-popen-fork against libpthread (RHEL-86018)