Skip to content

Pin EPEL to the AlmaLinux minor release - #221

Merged
webharerob merged 1 commit into
mainfrom
feature/pin-epel-minor
Nov 11, 2026
Merged

webharerob merged 1 commit into
mainfrom
feature/pin-epel-minor

Conversation

@unilynx

@unilynx unilynx commented Nov 11, 2026

Copy link
Copy Markdown
Member

This works around recent buld errors. It's not an ideal solution and we should probably work towards removing the EPEL dependencies

Changes

  • addons/docker-build/setup-imagebase.sh now pins EPEL to the repository for the image's AlmaLinux minor version, for example epel-z/10.2.
  • Why: AlmaLinux doesn't set $releasever_minor, so EPEL used its leading epel-10 repository, which already targets the next RHEL minor release. Its python3-pyOpenSSL 26.3.0 needs a newer python3-cryptography than AlmaLinux 10.2 ships, so certbot could no longer be installed.
  • The image build now stops with an error if /etc/os-release reports a VERSION_ID other than 10.x. Moving to a new AlmaLinux major release will need this check updated.

Testing

Not covered by automated tests. A successful docker image build (including installing certbot) checks the fix.

Deprecations and API changes

  • None

TODOs / FIXMEs

  • None

AlmaLinux doesn't set $releasever_minor, so EPEL used its leading epel-10
repository, which already targets the next RHEL minor release. Its
python3-pyOpenSSL 26.3.0 requires a newer python3-cryptography than
AlmaLinux 10.2 ships, which broke installing certbot. Use the EPEL
repository matching the image's minor version instead.
@unilynx
unilynx requested a review from a team November 11, 2026 19:43

@webharebot webharebot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🤖 Auto-Approved: PR author (@unilynx) is an internal organization/repository member.

@webharerob
webharerob merged commit 592c869 into main Nov 11, 2026
36 of 38 checks passed
@webharerob
webharerob deleted the feature/pin-epel-minor branch November 11, 2026 20:31
@unilynx

unilynx commented Nov 12, 2026

Copy link
Copy Markdown
Member Author

cherry-pick to release/6.1

@webharebot

webharebot Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

@unilynx The cherry-pick to release/6.1 has a pull request: #228

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.

2 participants