Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-10704

Handling of multiple lines in BOOT.CSV (or multiple files) is inconsistent

Details

    • Bug
    • Resolution: Unresolved
    • Undefined
    • None
    • rhel-9.3.0
    • shim
    • None
    • sst_desktop_firmware_bootloaders
    • ssg_desktop
    • False
    • Hide

      None

      Show
      None
    • All

    Description

      What were you trying to do that didn't work?

      fallback.efi shows inconsistent behavior in case multiple entries are present, either with multiple lines in a single BOOT.CSV file or with multiple BOOT.CSV files.

      The BootOrder variable has the last entry listed first.
      When booting fallback efi picks the first entry though.

      Resulting behavior with an empty efi variable store:
      First boot: fallback.efi is loaded, creates Boot*, boots first BOOT.CSV line.
      Next boots: last BOOT.CSV line is booted directly (via BootOrder + BootNNN).

      Please provide the package NVR for which bug is seen:

      Found on Fedora 39. Very likely present in all shim versions though.
      Also reported in upstream bug tracker (for ubuntu 22.04):
      https://github.com/rhboot/shim/issues/554

      How reproducible:

      100%

      Expected results

      First boot and subsequent boots should behave the same way.

      Attachments

        Activity

          People

            bootloader-eng-team bootloader -eng-team
            rhn-engineering-ghoffman Gerd Hoffmann
            bootloader -eng-team bootloader -eng-team
            Release Test Team Release Test Team
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: