Skip to content

MLE-34240: Pin UBI8 libnsl to AlmaLinux 2.28-251.el8_10.53 (temporary) - #500

Merged
vitalykorolev merged 1 commit into
developfrom
MLE-34240_ubi8-libnsl-pin
Nov 9, 2026
Merged

vitalykorolev merged 1 commit into
developfrom
MLE-34240_ubi8-libnsl-pin

Conversation

@vitalykorolev

Copy link
Copy Markdown
Collaborator

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, so rpm -i fails. 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. The ubi-rootless image 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=ubi with --no-cache: exit 0.
  • rpm -q glibc libnsl shows 2.28-251.el8_10.53 in the platform, deps, and server images. The server image has MarkLogic-12.1.20261008-rhel installed.
  • The AlmaLinux RPM requires glibc(x86-64) = 2.28-251.el8_10.53.
  • Robot 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-test was not run locally. container-structure-test cannot reach the Docker socket on macOS Docker Desktop, and the Makefile's sed -i is BSD-incompatible. Jenkins runs it on this PR.

Pending CI: Jenkins results for ubi and ubi-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

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.
Copilot AI balanced review requested due to automatic review settings November 9, 2026 21:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 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 .48 with AlmaLinux 2.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
vitalykorolev merged commit 2fa9109 into develop Nov 9, 2026
5 of 6 checks passed
@vitalykorolev
vitalykorolev deleted the MLE-34240_ubi8-libnsl-pin branch November 9, 2026 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants