From 595497a5e3c31c7a0833877b1e542536dd582261 Mon Sep 17 00:00:00 2001 From: Jose Castillo Date: Thu, 29 Jun 2023 15:50:19 +0100 Subject: [PATCH] [grub2] Capture /etc/grub2-efi.cfg sos report does not gather the symlink /etc/grub2-efi.cfg when present. 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. Closes: RHBZ#2218563 Signed-off-by: Jose Castillo --- sos/report/plugins/grub2.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sos/report/plugins/grub2.py b/sos/report/plugins/grub2.py index d499cdf909..5fb2a96575 100644 --- a/sos/report/plugins/grub2.py +++ b/sos/report/plugins/grub2.py @@ -35,7 +35,8 @@ def setup(self): "/boot/grub2/user.cfg", "/etc/default/grub", "/etc/grub2.cfg", - "/etc/grub.d" + "/etc/grub.d", + "/etc/grub2-efi.cfg" ]) self.add_cmd_output("ls -lanR /boot", tags="ls_boot")