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

fix: Set user.cfg path to /boot/grub2/ on EL 9 UEFI

    • rhel-system-roles-1.79.0-0.2.el9
    • None
    • None
    • 2
    • rhel-sst-system-roles
    • 1
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • Yes
    • System Roles Sprint 3, System Roles Sprint 4
    • Bug Fix
    • Hide
      .GRUB2 on RHEL 9 and RHEL 10 Beta UEFI managed nodes correctly prompts for a password

      Previously, the `bootloader` RHEL system role incorrectly placed the password information in the `/boot/efi/EFI/redhat/user.cfg` file on managed nodes that ran RHEL 9 and RHEL 10 Beta with UEFI Secure Boot feature. The correct location was the `/boot/grub2/user.cfg` file. Consequently, when you rebooted the managed node to modify any boot loader entry, GRUB2 did not prompt you for a password. This update fixes the problem by setting the path for `user.cfg` to `/boot/grub2/` in the source code. When you reboot the OS on a UEFI Secure Boot managed node to modify any boot loader entry, GRUB2 prompts you to input your password.
      Show
      .GRUB2 on RHEL 9 and RHEL 10 Beta UEFI managed nodes correctly prompts for a password Previously, the `bootloader` RHEL system role incorrectly placed the password information in the `/boot/efi/EFI/redhat/user.cfg` file on managed nodes that ran RHEL 9 and RHEL 10 Beta with UEFI Secure Boot feature. The correct location was the `/boot/grub2/user.cfg` file. Consequently, when you rebooted the managed node to modify any boot loader entry, GRUB2 did not prompt you for a password. This update fixes the problem by setting the path for `user.cfg` to `/boot/grub2/` in the source code. When you reboot the OS on a UEFI Secure Boot managed node to modify any boot loader entry, GRUB2 prompts you to input your password.
    • Done
    • None

      Enhancement: Fix setting bootloader password on RHEL 9 UEFI systems incorrect user.cfg path on UEFI systems

      Reason: On RHEL 9, bootloader configs got "unified", which means that they are in the same place on BIOS and UEFI (in /boot/grub2). The role was placing user.cfg in an incorrect path.

      Result: The role uses correct user.cfg and grub.cfg paths on RHEL 9 UEFI systems and sets the password correctly.

              rmeggins@redhat.com Richard Megginson
              spetros@redhat.com Sergei Petrosian
              Richard Megginson Richard Megginson
              David Jez David Jez
              Jaroslav Klech Jaroslav Klech
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: