Skip to content

MLE-30361: Fix UBI9 libnsl dependency mismatch by updating to AlmaLinux 9.8 repo#458

Merged
vitalykorolev merged 1 commit into
developfrom
MLE-30361_fix-ubi9-libnsl-dependency
Jun 10, 2026
Merged

MLE-30361: Fix UBI9 libnsl dependency mismatch by updating to AlmaLinux 9.8 repo#458
vitalykorolev merged 1 commit into
developfrom
MLE-30361_fix-ubi9-libnsl-dependency

Conversation

@vitalykorolev

@vitalykorolev vitalykorolev commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

UBI9 x86_64 builds have been failing since the UBI9 base image moved to glibc 2.34-270.el9_8. The hardcoded libnsl URL still pointed to the AlmaLinux 9.7 repo, which no longer serves that file, causing a 404 during the dependency image build.

Root Cause

microdnf -y upgrade glibc in dockerFiles/marklogic-deps-ubi9:base now installs glibc 2.34-270.el9_8 (UBI9 repos moved from el9_7 to el9_8). The libnsl RPM was pinned to AlmaLinux 9.7 (libnsl-2.34-231.el9_7.10.x86_64.rpm) which is no longer available at that URL.

Fix

Updated the libnsl RPM URL to AlmaLinux 9.8:

  • Old: https://repo.almalinux.org/almalinux/9.7/BaseOS/x86_64/os/Packages/libnsl-2.34-231.el9_7.10.x86_64.rpm
  • New: https://repo.almalinux.org/almalinux/9.8/BaseOS/x86_64/os/Packages/libnsl-2.34-270.el9_8.x86_64.rpm

The AlmaLinux 9.8 libnsl version (2.34-270.el9_8) matches the glibc version now provided by UBI9, maintaining ABI compatibility.

Note: The equivalent fix for aarch64 is in PR #459 targeting Docker-ARM-support.

Testing

  • Local Docker build: make build docker_image_type=ubi9 - PASS
  • Lint (Hadolint + ShellCheck): PASS
  • Structure tests (6/6): PASS

Jira: MLE-30361

Copilot AI review requested due to automatic review settings June 10, 2026 05:32

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.

Pull request overview

This PR fixes UBI9 dependency image build failures caused by a pinned AlmaLinux 9.7 libnsl RPM URL returning 404, by updating the pinned libnsl RPM download to the AlmaLinux 9.8 repository to match the current UBI9/glibc ecosystem.

Changes:

  • Updated the pinned libnsl RPM URL from AlmaLinux 9.7 to AlmaLinux 9.8.
  • Refined inline rationale comments explaining why --nodeps is used and how the pin is kept aligned with UBI9’s glibc.

@vitalykorolev vitalykorolev force-pushed the MLE-30361_fix-ubi9-libnsl-dependency branch from f5d7dd2 to 9115946 Compare June 10, 2026 05:35
@vitalykorolev vitalykorolev merged commit ee8695d into develop Jun 10, 2026
4 of 5 checks passed
@vitalykorolev vitalykorolev deleted the MLE-30361_fix-ubi9-libnsl-dependency branch June 10, 2026 18:11
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