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

Harden grub2-mkconfig to avoid overwriting /boot/efi/EFI/redhat/grub.cfg

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.4, rhel-10.0.beta, rhel-10.0
    • grub2
    • None
    • sst_desktop_firmware_bootloaders
    • ssg_desktop
    • 3
    • False
    • Hide

      None

      Show
      None
    • Red Hat Enterprise Linux
    • None
    • None

      Goal

      • Some customers are used to execute grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg command on UEFI systems, which then breaks the wrapper
        • As an administrator, I would like that executing above command doesn't overwrite the wrapper but instead fails and explains grub2-mkconfig -o /etc/grub2.cfg command should be used instead

      Acceptance Criteria

      A list of verification conditions, successful functional tests, or expected outcomes in order to declare this story/task successfully completed.

      • Executing grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg doesn't overwrite the wrapper
      • Executing grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg reports an error and provides hints on the recommended command

            bootloader-eng-team bootloader -eng-team
            rhn-support-rmetrich Renaud Métrich
            bootloader -eng-team bootloader -eng-team
            Release Test Team Release Test Team
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: