-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-8.10
-
None
-
None
-
Important
-
rhel-base-utils-core
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
-
x86_64
-
None
What were you trying to do that didn't work?
When restoring a UEFI RHEL8 system, the /boot/grub2/grubenv file, which is a symlink to ../efi/EFI/redhat/grubenv, is being deleted.
This is due to having the following property in default configuration file /usr/share/rear/conf/default.conf:
BACKUP_RESTORE_MOVE_AWAY_FILES=( /boot/grub/grubenv /boot/grub2/grubenv )
This leads to issues when rebuilding/updating the Grub menu later on the recovered system, because when executing grub2-mkconfig or grubby, the tools will create /boot/grub2/grubenv as a plain file and not the symlink, causing discrepancy with boot parameters, since on UEFI RHEL8, /boot/efi/EFI/redhat/grubenv is used.
What is the impact of this issue to you?
Critical impact since it breaks the recovered system silently.
Please provide the package NVR for which the bug is seen:
rear-2.6-12.el8.x86_64
How reproducible is this bug?
Always
Steps to reproduce
- Backup a RHEL8 UEFI system
- Restore the backup
Expected results
Symlink still present
Actual results
Symlink deleted