#3606 Issue open: ERROR: EFI_STUB: /usr/lib/systemd/boot/efi/systemd-bootx64.efi is not valid EFI executable¶
Labels: enhancement
gigawatts opened issue at 2026-05-11 01:40:¶
ReaR version¶
Relax-and-Recover 2.9 / 2025-01-31
Describe the ReaR bug in detail¶
Fedora 42, using systemd-boot-unsigned-257.13-1.fc42.x86_64
/usr/share/rear/output/ISO/Linux-i386/260_EFISTUB_populate.sh line 27
fails to validate the EFI file as valid because the output looks like
this:
/usr/lib/systemd/boot/efi/systemd-bootx64.efi: PE32+ executable for EFI (application), x86-64 (stripped to external PDB), 7 sections
Note that the existing check only expects EFI application.
Platform¶
Linux x64
OS version¶
Fedora Linux 42
6.19.14-101.fc42.x86_64
Backup¶
NETFS
Storage layout¶
Irrelevant
What steps will reproduce the bug?¶
rear -v mkbackup
2026-05-10 20:17:10.344922293 Running 'output' stage
2026-05-10 20:17:10.347377106 ======================
2026-05-10 20:17:10.353704775 Including output/default/010_set_umask.sh
2026-05-10 20:17:10.356075745 Setting umask to 077
2026-05-10 20:17:10.360121469 Including output/default/100_mount_output_path.sh
2026-05-10 20:17:10.366334747 Mounting with 'mount -t nfs -o rw,noatime "backupserver":"/srv/backup/system/myhostname/fedora-os/" /var/tmp/rear.wTbLafRU8oE7O7u/outputfs'
2026-05-10 20:17:10.403534408 Including output/default/150_save_copy_of_prefix_dir.sh
2026-05-10 20:17:10.407402705 Including output/default/200_make_boot_dir.sh
2026-05-10 20:17:10.412078579 Including output/default/200_make_prefix_dir.sh
2026-05-10 20:17:10.420318998 Including output/default/250_create_lock.sh
2026-05-10 20:17:10.441329279 Including output/ISO/Linux-i386/250_populate_efibootimg.sh
2026-05-10 20:17:10.445113996 Including output/ISO/Linux-i386/260_EFISTUB_populate.sh
2026-05-10 20:17:10.447936253 EFI_STUB: will use /usr/lib/systemd/boot/efi/systemd-bootx64.efi as ReaR rescue system boot loader
2026-05-10 20:17:10.457943859 ERROR: EFI_STUB: /usr/lib/systemd/boot/efi/systemd-bootx64.efi is not valid EFI executable
2026-05-10 20:17:10.463705187 Exiting rear mkbackup (PID 32665) and its descendant processes ...
Workaround, if any¶
https://github.com/rear/rear/pull/3607
Additional information¶
No response
[Export of Github issue for rear/rear.]