Description of problem: sos report does not gather the symlink /etc/grub2-efi.cfg when present Version-Release number of selected component (if applicable): sos-4.5.4-1.el8.noarch Expected results: if /etc/grub2-efi.cfg is present, we should grab it no matter what. If a system is legacy, but has this file, grubby default to using this one first in some cases. Therefore we need to know if it's present or not.
Thank you for the bug report. Are you aware of any password or secret that we need to mask in this file? Or is the format the same as with grub2.cfg?
The formatting should be the same. Checking here, [How to password-protect the GRUB2 boot menu in RHEL 7 and above - Red Hat Customer Portal](https://access.redhat.com/solutions/2253401), any passwords would be in a separate file.
Upstream PR created here: https://github.com/sosreport/sos/pull/3294
Switched to Tested based on positive results in manual test: OLD RHEL-8.9 x86_64 sos-4.5.4-1.el8.noarch # touch /etc/grub2-efi.cfg # sos report # find /var/tmp/sosreport-vm-10-0-187-21-2023-08-01-tejfrra -name grub2-efi.cfg # --------------------------------------------------------------------------- NEW RHEL-8.9 x86_64 sos-4.5.6-1.el8.noarch # touch /etc/grub2-efi.cfg # sos report # find /var/tmp/sosreport-vm-10-0-187-21-2023-08-01-aiirvvl -name grub2-efi.cfg /var/tmp/sosreport-vm-10-0-187-21-2023-08-01-aiirvvl/etc/grub2-efi.cfg #