Gardience Documentation gardience.com →
Docs / Using Gardience

Major upgrades

Patching > Major upgrades moves Linux machines to the next major release of their operating system, with each vendor's own supported tool:

MachineGoes toTool
Red Hat Enterprise Linux 8 or 9RHEL 9 or 10Red Hat's Leapp (on AWS, with Red Hat's update servers)
Oracle Linux 8 or 9Oracle Linux 9 or 10Oracle's Leapp
AlmaLinux 8 or 9AlmaLinux 9 or 10ELevate (AlmaLinux's upgrade tool)
Rocky Linux 8Rocky Linux 9Leapp
Ubuntu 20.04, 22.04, or 24.04 LTSthe next LTSdo-release-upgrade
Debian 11 or 12Debian 12 or 13apt, 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:

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:

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:

  1. checks again and refuses if anything blocks it;
  2. restarts first if a restart was pending (Ubuntu after updates, or a newer kernel Leapp needs running);
  3. upgrades in its own system service, which outlives the run and the restarts (Leapp restarts into the upgrade, which takes 20 to 60 minutes);
  4. 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.

Gardience by Bouziden Management LLC.