Skip to content

Conversation

@github-actions
Copy link

🤖 Automated backport of #1444 to release-1.18

✅ Cherry-pick completed successfully with no conflicts.

Original PR: #1444
Original Author: @elezar

Cherry-picked commits (1):

  • 6592021 Fix update of ldcache for non-matching host and container distros

This backport was automatically created by the backport bot.

This change ensures that updating the ldcache in a container also
includes the system search paths for the container ldconfig.

In most cases, the hook will be executing a host ldconfig that may be
configured widely differently from what the container image expects. The
common case is Debian-like (e.g. Debian, Ubuntu) vs non-Debian-like
(e.g. RHEL, Fedora). But there are also hosts that configure ldconfig
to search in a glibc prefix (e.g. /usr/lib/glibc). To avoid all these
cases, write the container's expected system search paths to a drop-in
conf file that is likely to be last in lexicographic order.
Entries in the top-level ld.so.conf file may be processed after this
drop-in, but this hook does not modify the top-level file if it exists.

Signed-off-by: Jean-Francois Roy <jeroy@nvidia.com>
Signed-off-by: Evan Lezar <elezar@nvidia.com>
(cherry picked from commit 6592021)
@copy-pr-bot
Copy link

copy-pr-bot bot commented Nov 20, 2025

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@ArangoGutierrez
Copy link
Collaborator

/ok to tests 988e1f5

@elezar elezar merged commit cecb009 into release-1.18 Nov 20, 2025
1 check passed
@elezar elezar added this to the v1.18.1 milestone Nov 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants