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: Done-Errata
    • Icon: Undefined Undefined
    • rhel-9.5
    • rhel-9.4, rhel-10.0.beta, rhel-10.0
    • grub2
    • grub2-2.06-85.el9
    • None
    • rhel-sst-cs-bootloaders
    • ssg_display
    • 3
    • False
    • Hide

      None

      Show
      None
    • 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:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: