What were you trying to do that didn't work?
# fwupdmgr upgrade [...] Perform operation? [Y|n]: y Decompressing... [ ] Secure boot is enabled, but shim isn't installed to EFI/rhel/shimx64.efi
What is the impact of this issue to you?
Not possible to upgrade firmware
Please provide the package NVR for which the bug is seen:
# rpm -q shim-x64 shim-x64-15.8-4.el9_3.x86_64
How reproducible is this bug?:
Always
Steps to reproduce
- Run `fwupdmgr upgrade` as root
Other remarks:
I also had issues with `mokutil --import`, which rendered the system unbootable from the boot disk. Rebooting the RHEL-10 install image from a USB device booted straight into the MOK enrollment process. Afterwards, the system booted just fine again.
The `shim-x64` package seems to install the `shim64.efi` in `/boot/efi/EFI/redhat`. Is there a mismatch here, where mokutil and fwupdmgr expects the shim bootloader to be in the wrong directory?