Bug 2212950

Summary: [Bug] Unattended/Automated ReaR recovery does not work for UEFI systems on RHEL 9
Product: Red Hat Enterprise Linux 9 Reporter: ppaddhar
Component: rearAssignee: Pavel Cahyna <pcahyna>
Status: NEW --- QA Contact: CS System Management SST QE <rhel-cs-system-management-subsystem-qe>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 9.2CC: pcahyna, prjagtap
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description ppaddhar 2023-06-06 17:09:37 UTC
Description of problem:
ReaR backup does not recover UEFI systems with unattended/automatic recovery. 

How reproducible:
Always

Steps to Reproduce:
1. Configure a sample Rear backup with below additional options in UEFI systems : 
~~~
ISO_RECOVER_MODE="unattended"
ISO_DEFAULT="automatic"
~~~

2. Boot the backup ISO to recover system automatically. 

Actual results:
When boot with Default Label in menu with 5 seconds timeout, systems drops at recovery mode to login and perform `rear recover` manually.

Expected results:
It should boot in default Label and perform rear recover and automated reboot with given 30 seconds timeout. (Same as in BIOS systems)

Additional info:
Rear version is rear-2.6-17.el9.x86_64