Repository navigation
MLE-33408: UBI libnsl dependency failure on UBI images - #494
Merged
Merged
Conversation
vitalykorolev
requested review from
barkhachoithani,
pengzhouml,
rwinieski and
sumanthravipati
October 14, 2026 15:23
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The pinned versions align with the upgraded glibc packages, and the UBI9 tag supports ARM64.
0 open findings
What changed in this PR
Updates UBI dependency images to keep pinned libnsl packages compatible with upgraded glibc versions.
Changes:
- Bumps UBI8 and UBI9 minimal base-image tags.
- Updates UBI8’s Rocky Linux libnsl pin to
.48. - Applies the UBI9 update to AMD64 and ARM64 variants.
| File | Description |
|---|---|
dockerFiles/marklogic-deps-ubi:base |
Updates UBI8 and its matching libnsl RPM. |
dockerFiles/marklogic-deps-ubi9:base |
Updates the UBI9 base image. |
dockerFiles/marklogic-deps-ubi9-arm:base |
Updates the ARM64 UBI9 base image. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
rwinieski
approved these changes
Oct 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Updates the UBI base images and the pinned libnsl RPMs in the dependency Dockerfiles so that libnsl matches the glibc that
microdnf upgrade glibcinstalls from the UBI repositories.Root cause: the libnsl RPM is pinned to a fixed version, and it must match the glibc UBI provides after
microdnf upgrade glibc. The new UBI base images ship newer glibc builds, which no longer matched the libnsl pins and broke the UBI dependency image build.Fix: bump the UBI base image tags and, for UBI8, the libnsl pin, so that each libnsl version matches the glibc in its base image.
Changes (dockerFiles only):
dockerFiles/marklogic-deps-ubi:baseubi8/ubi-minimal8.10-1787081751 -> 8.10-1791896186(https://download.rockylinux.org/pub/rocky/8/BaseOS/x86_64/os/Packages/l/libnsl-2.28-251.el8_10.48.x86_64.rpm)
dockerFiles/marklogic-deps-ubi9:baseubi9/ubi-minimal9.8-1791279563 -> 9.8-1791898448dockerFiles/marklogic-deps-ubi9-arm:baseubi9/ubi-minimal9.8-1791279563 -> 9.8-1791898448glibc/libnsl versions after the change: UBI8 glibc 2.28-251.el8_10.48 with libnsl 2.28-251.el8_10.48; UBI9 glibc 2.34-283.el9_8 with libnsl 2.34-283.el9_8.
Validation:
ubi,ubi-rootless,ubi9andubi9-rootlesssucceeded with matching glibc and libnsl versions.ubi9-armwas not built locally.Note: the UBI8 libnsl was briefly tested from AlmaLinux before Rocky Linux published the .48 build. The final branch uses Rocky Linux only.
Checklist:
Owner:
JIRA_ID as part of branch/PR name
Rebase the branch with upstream
Squashed all commits into a single commit
Added Tests
Reviewer:
Reviewed Tests
Added to Release Wiki/Jira