Skip to content

feat(roles/system_update): add Rocky Linux security update lane#258

Merged
markuslf merged 1 commit into
mainfrom
feat/system-update-security-lane
May 26, 2026
Merged

feat(roles/system_update): add Rocky Linux security update lane#258
markuslf merged 1 commit into
mainfrom
feat/system-update-security-lane

Conversation

@markuslf

Copy link
Copy Markdown
Member

What

Adds a security lane to the system_update role for Rocky Linux: a second systemd timer (security-update, twice a day by default) that installs only Rocky Linux security hot-fixes from the dedicated security repository and reboots the host if needed.

Why

The security repository (added to repo_baseos, enabled by default) ships emergency hot-fixes for critical, actively exploited CVEs ahead of the regular Red Hat upstream patch. Enabling the repo alone means those fixes only land on the next weekly system_update run (up to ~7 days). This lane applies them daily, while the regular update lane stays on its weekly schedule.

Details

  • Isolated from the regular lane via dnf --disablerepo="*" --enablerepo="security".
  • Reboot time steered per host group via system_update__security_reboot_time__* (immediate on test hosts, deferred e.g. 19:00 on production hosts).
  • Enabled by default; a no-op where the security repository is not enabled (respects an opt-out via repo_baseos__security_repo_enabled: false). Rocky Linux only (distribution == "Rocky").
  • Consumes the security repository provided by repo_baseos; this PR does not touch the repo definition itself.

Add a second systemd timer (twice a day by default) that installs only Rocky
Linux security hot-fixes from the dedicated `security` repository (provided by
repo_baseos), isolated from the regular weekly update lane via
--disablerepo/--enablerepo. Reboots the host when needed; the reboot time is
steered per host group via system_update__security_reboot_time__* (immediate on
test hosts, deferred on production hosts).

Enabled by default; a no-op where the security repository is not enabled, and
can be turned off with system_update__security_enabled: false. Rocky Linux only.
@markuslf
markuslf requested a review from NavidSassan May 24, 2026 12:08
@markuslf
markuslf merged commit c739823 into main May 26, 2026
6 checks passed
@NavidSassan
NavidSassan deleted the feat/system-update-security-lane branch July 9, 2026 15:14
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.

1 participant