Skip to content

Upgrades across minor/major RHEL/Fedora releases can skip bootloader updates due to EVR comparison #1137

Description

@Johan-Liebert1

When upgrading across RHEL minor releases (e.g., 9.6 -> 9.8), bootupd may skip updating EFI components like shim because the currently installed package has a higher EVR than the one in the target image, even though the target image contains the correct signed binary.

Example

A system running RHEL 9.6 has:
shim-aa64-16.1-8.el9_6.aarch64

The RHEL 9.8 image contains:
shim-aa64-16.1-7.el9.aarch64

bootupd compares these and determines 16.1-8.el9_6 > 16.1-7.el9, so it skips the shim update entirely. However, the 9.8 shim binary has proper signatures and is the one that should be installed for that release.

Should we also check the os-release when comparing EVR?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    jiraFor syncing with Jira

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions