From 35c3be35b4b5e8c17ce998df6eb1f7712ce9bd21 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 13 Nov 2024 16:54:09 +0100 Subject: [PATCH] Use /sbin/ldconfig path for lorax compatibility (RHEL-63048) Related: RHEL-63048 --- glibc.spec | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/glibc.spec b/glibc.spec index b4705f7..8fc763a 100644 --- a/glibc.spec +++ b/glibc.spec @@ -115,7 +115,7 @@ end \ Summary: The GNU libc libraries Name: glibc Version: %{glibcversion} -Release: %{glibcrelease}.8 +Release: %{glibcrelease}.9 # In general, GPLv2+ is used by programs, LGPLv2+ is used for # libraries. @@ -1983,8 +1983,10 @@ chmod 644 sysdeps/gnu/errlist.c # Reload compiler and build options that were used during %%build. GCC=`cat Gcc` -# Create symbolic links for UsrMove. See below: Remove UsrMove symbolic links. -usrmove_file_names="bin lib lib64 sbin" +# Create symbolic links for UsrMove. +# Do not include sbin to work around lorax bug RHEL-67332. +# See below: Remove UsrMove symbolic links. +usrmove_file_names="bin lib lib64" for d in $usrmove_file_names ; do mkdir -p "%{glibc_sysroot}/usr/$d" ln -s "usr/$d" "%{glibc_sysroot}/$d" @@ -2700,7 +2702,7 @@ fi %systemd_postun_with_restart nscd.service %files -f glibc.filelist -%{_sbindir}/ldconfig +/sbin/ldconfig %{_sbindir}/iconvconfig %{_libexecdir}/getconf %{_prefix}%{glibc_ldso} @@ -2904,6 +2906,9 @@ fi %{_libdir}/libpthread_nonshared.a %changelog +* Wed Nov 13 2024 Florian Weimer - 2.28-251.9 +- Use /sbin/ldconfig path for lorax compatibility (RHEL-63048) + * Mon Nov 11 2024 Patsy Griffin - 2.28-251.8 - aarch64: MTE compatible strncmp (RHEL-61255)