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

fix: Set user.cfg path to /boot/grub2/ on EL 9 UEFI [rhel-8]

    • rhel-system-roles-1.23.0-3.el8_10
    • None
    • Low
    • ZStream
    • 2
    • rhel-sst-system-roles
    • 1
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • Yes
    • System Roles Sprint 5, System Roles Sprint 6
    • Approved Blocker
    • Known Issue
    • Hide
      .For RHEL 9 UEFI managed nodes the `bootloader_password` variable of the `bootloader` RHEL system role does not work

      Previously, the `bootloader_password` variable incorrectly placed the password information in the `/boot/efi/EFI/redhat/user.cfg` file. The proper 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. To work around this problem, you can manually move the `user.cfg` file from the incorrect `/boot/efi/EFI/redhat/` directory to the correct `/boot/grub2/` directory to achieve the expected behavior.
      Show
      .For RHEL 9 UEFI managed nodes the `bootloader_password` variable of the `bootloader` RHEL system role does not work Previously, the `bootloader_password` variable incorrectly placed the password information in the `/boot/efi/EFI/redhat/user.cfg` file. The proper 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. To work around this problem, you can manually move the `user.cfg` file from the incorrect `/boot/efi/EFI/redhat/` directory to the correct `/boot/grub2/` directory to achieve the expected behavior.
    • Done
    • None

      Enhancement: Fix incorrect user.cfg path on UEFI systems

      Reason: On EL9 and later Fedora, the configs got "unified" which means that they are in the same place on BIOS and UEFI (in /boot/grub2). This is done by adding a stab config to /boot/efi/EFI/$distro/grub.cfg

      Result: The role uses correct user.cfg and grub.cfg paths on UEFI systems

      Resolves #100

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

                Created:
                Updated:
                Resolved: