Repository navigation
MLE-34240: Pin UBI8 libnsl to AlmaLinux 2.28-251.el8_10.53 (temporary) - #500
Merged
Merged
Conversation
Temporary libnsl source to unblock develop UBI8 builds. UBI8 glibc is now 2.28-251.el8_10.53, and the Rocky Linux 8 libnsl stops at .48. AlmaLinux 8 publishes a matching build. Shipping the AlmaLinux package needs legal review, so replace it with the Rocky Linux package once it is published. MLE-34240 stays open until then.
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
The temporary AlmaLinux RPM source requires legal review and human confirmation that it remains develop-only and is replaced or cleared before release.
No open issues 🎉
What changed in this PR
Temporarily restores UBI8 dependency builds by pinning AlmaLinux libnsl to match the upgraded UBI8 glibc. The shared template also serves UBI8 rootless builds.
Changes:
- Replaces Rocky Linux libnsl
.48with AlmaLinux2.28-251.el8_10.53. - Adds a comment marking the substitution as temporary under MLE-34240.
The PR identifies legal review as required before shipping AlmaLinux packages and calls for restoring Rocky Linux once a matching package is available.
| File | Description |
|---|---|
dockerFiles/marklogic-deps-ubi:base |
Updates the libnsl source and version to match UBI8 glibc, with a temporary-use comment. |
Review effort: Balanced
vitalykorolev
requested review from
barkhachoithani,
pengzhouml and
sumanthravipati
November 9, 2026 22:41
barkhachoithani
approved these changes
Nov 9, 2026
3 of 6 tasks
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
Jira: https://progresssoftware.atlassian.net/browse/MLE-34240 (UBI8 follow-up to MLE-34224 and PR #498)
Root cause: The UBI8 platform stage (
microdnf -y upgrade glibc) now installs glibc 2.28-251.el8_10.53. The pinned Rocky Linux 8 libnsl 2.28-251.el8_10.48 requires glibc .48 exactly, sorpm -ifails. On the public Rocky Linux 8 mirror, the newest libnsl is still .48.Fix (temporary): Install libnsl 2.28-251.el8_10.53 from the AlmaLinux 8 BaseOS repository in
dockerFiles/marklogic-deps-ubi:base. It matches the UBI8 glibc. Theubi-rootlessimage uses the same template, because the Makefile copies it at build time.Important: AlmaLinux packages need legal review before they can ship in images. This PR only unblocks builds in develop. Before a release, replace the AlmaLinux package with the Rocky Linux package once Rocky Linux publishes a matching build. MLE-34240 stays open until then.
Verification (local, macOS arm64 host, linux/amd64 build):
make build docker_image_type=ubiwith--no-cache: exit 0.rpm -q glibc libnslshows 2.28-251.el8_10.53 in the platform, deps, and server images. The server image has MarkLogic-12.1.20261008-rhel installed.glibc(x86-64) = 2.28-251.el8_10.53.D01 Smoke Test: 1 passed, 0 failed.make lint: no findings in the changed template. The DL3067 and DL3064 warnings in unchanged server templates are pre-existing.make structure-testwas not run locally. container-structure-test cannot reach the Docker socket on macOS Docker Desktop, and the Makefile'ssed -iis BSD-incompatible. Jenkins runs it on this PR.Pending CI: Jenkins results for
ubiandubi-rootless.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