Major upgrades
Patching > Major upgrades moves Linux machines to the next major release of their operating system, with each vendor's own supported tool:
| Machine | Goes to | Tool |
|---|---|---|
| Red Hat Enterprise Linux 8 or 9 | RHEL 9 or 10 | Red Hat's Leapp (on AWS, with Red Hat's update servers) |
| Oracle Linux 8 or 9 | Oracle Linux 9 or 10 | Oracle's Leapp |
| AlmaLinux 8 or 9 | AlmaLinux 9 or 10 | ELevate (AlmaLinux's upgrade tool) |
| Rocky Linux 8 | Rocky Linux 9 | Leapp |
| Ubuntu 20.04, 22.04, or 24.04 LTS | the next LTS | do-release-upgrade |
| Debian 11 or 12 | Debian 12 or 13 | apt, as Debian's release notes describe |
Rocky Linux 9 to 10 has no supported in-place path yet: Rocky's Leapp build reports Rocky as unsupported, and ELevate offers only AlmaLinux 10 or CentOS Stream 10 as targets. The page says so for those machines.
1. Check
#Choose machines and Check. Each machine runs its upgrade tool's own pre-upgrade check (Leapp's report, Ubuntu's release check, Debian's sources and held packages) and the page lists, in plain words:
- Blockers: what stops the upgrade, with the tool's own advice.
- Warnings: what to know (packages from other vendors, held packages, a restart pending).
Leapp's check installs the Leapp packages; nothing else changes.
2. Check and fix
#Check and fix does the same after the fixes Gardience knows are safe on that machine, then checks again:
- installs pending updates on the current release (every upgrade tool starts from a fully updated system);
- converts network files in the old ifcfg format to NetworkManager keyfiles (the command Leapp gives);
- unloads drivers the next release dropped, when the machine is not using them;
- answers the questions Leapp asks, only where the machine shows the answer is safe: the PAM smart-card module is removed only when nothing signs in with it (CAC or PIV sign-in needs sssd set up first, your decision), the VDO check is confirmed only when there are no VDO devices, and Oracle's kernel question only when the machine already runs Oracle's Unbreakable Enterprise Kernel;
- makes root's SSH sign-in setting explicit (keys only, as before), and turns off firewalld's AllowZoneDrifting.
The Salt agent is never changed by these steps.
3. Upgrade
#Choose ready machines and Upgrade. It runs the built-in runbook Upgrade to the next major release through the normal run path: approvals, change windows, and the audit log apply. Each machine:
- checks again and refuses if anything blocks it;
- restarts first if a restart was pending (Ubuntu after updates, or a newer kernel Leapp needs running);
- upgrades in its own system service, which outlives the run and the restarts (Leapp restarts into the upgrade, which takes 20 to 60 minutes);
- reports back here: Upgrading, Restarting, Done with its new release, or Failed with the end of the upgrade's log.
Leapp leaves SELinux permissive after an upgrade. When a machine was enforcing before and nothing has been denied since it started on the new release, Gardience turns enforcing back on; otherwise the page says how many denials to review first.
An upgrade cannot be undone without a snapshot: take a virtual machine or cloud snapshot first. Upgrade a pilot group, check it, then the rest. To check whole groups on a schedule, use the runbook Check for a major upgrade.
Tested
#Verified on real machines (November 2026), each from a fresh cloud image with the Salt agent: RHEL 9.8 to 10.3 (on AWS, through Red Hat's cloud update servers), Oracle Linux 9.8 to 10.2, AlmaLinux 9.8 to 10.2, Ubuntu 24.04 to 26.04.1, and Debian 12 to 13. The agent came back on the new release every time, and on RHEL SELinux was enforcing again afterwards. Debian 12 to 13 and AlmaLinux 9 to 10 were also run end to end from this page: Check and fix, then Upgrade through the normal run path.