#2558 Issue closed: ERROR: Failed to copy initrd to /tmp/rear-efi...//EFI/BOOT/initrd.cgz

Labels: support / question, no-issue-activity

TheRoarkster opened issue at 2021-01-23 18:26:

Relax-and-Recover (ReaR) Issue Template

Fill in the following items before submitting a new issue
(quick response is not guaranteed with free support):

  • ReaR version ("/usr/sbin/rear -V"):
    Relax-and-Recover 2.6-git.4236.71f664fb.master.changed / 2021-01-15
  • OS version ("cat /etc/os-release" or "lsb_release -a" or "cat /etc/rear/os.conf"):
DISTRIB_ID=ManjaroLinux
DISTRIB_RELEASE=20.2.1
DISTRIB_CODENAME=Nibia
DISTRIB_DESCRIPTION="Manjaro Linux"
Manjaro Linux
NAME="Manjaro Linux"
ID=manjaro
ID_LIKE=arch
BUILD_ID=rolling
PRETTY_NAME="Manjaro Linux"
ANSI_COLOR="32;1;24;144;200"
HOME_URL="https://manjaro.org/"
DOCUMENTATION_URL="https://wiki.manjaro.org/"
SUPPORT_URL="https://manjaro.org/"
BUG_REPORT_URL="https://bugs.manjaro.org/"
LOGO=manjarolinux
  • ReaR configuration files ("cat /etc/rear/site.conf" and/or "cat /etc/rear/local.conf"):
OUTPUT=USB

### create a backup using the internal NETFS method, using 'tar'
BACKUP=NETFS

### write both rescue image and backup to the device labeled REAR-000
BACKUP_URL=usb:///dev/disk/by-label/REAR-000

### SPECIFY KERNEL
KERNEL_FILE=/boot/vmlinuz-5.4-x86_64

### SPECIFY UEFI
UEFI_BOOTLOADER=/boot/efi/EFI/refind/refind_x64.efi
  • Hardware (PC or PowerNV BareMetal or ARM) or virtual machine (KVM guest or PoverVM LPAR):
Machine:   Type: Laptop System: Apple product: iMac18,3 v: 1.0 serial: <superuser required> 
           Mobo: Apple model: Mac-BE088AF8C5EB4FA2 v: iMac18,3 serial: <superuser required> UEFI: Apple v: 428.0.0.0.0 
           date: 06/16/2020 
CPU:       Info: Quad Core model: Intel Core i5-7500 bits: 64 type: MCP L2 cache: 6 MiB 
           Speed: 3601 MHz min/max: 800/3800 MHz Core speeds (MHz): 1: 3601 2: 3602 3: 3634 4: 3600
  • Firmware (BIOS or UEFI or Open Firmware) and bootloader (GRUB or ELILO or Petitboot):
    UEFI using rEFInd as bootloader. Not GRUB.

  • Storage (local disk or SSD) and/or SAN (FC or iSCSI or FCoE) and/or multipath (DM or NVMe):
    Local for REAR, USB for backup.

  • Storage layout ("lsblk -ipo NAME,KNAME,PKNAME,TRAN,TYPE,FSTYPE,SIZE,MOUNTPOINT" or "lsblk" as makeshift):

/dev/sda                                                    8:0    0 931.5G  0 disk  
|-/dev/sda1                                                 8:1    0   200M  0 part  /boot/efi
|-/dev/sda2                                                 8:2    0  32.6G  0 part  
|-/dev/sda3                                                 8:3    0   7.5G  0 part  [SWAP]
|-/dev/sda4                                                 8:4    0   477M  0 part  
|-/dev/sda5                                                 8:5    0  93.1G  0 part  
|-/dev/sda6                                                 8:6    0   477M  0 part  /boot
|-/dev/sda7                                                 8:7    0  93.1G  0 part  
| `-/dev/mapper/luks-83b8c728-a72f-4554-879a-205574b6abb3 254:0    0  93.1G  0 crypt /
|-/dev/sda8                                                 8:8    0   477M  0 part  
|-/dev/sda9                                                 8:9    0  93.1G  0 part  
`-/dev/sda10                                                8:10   0 610.5G  0 part  
  `-/dev/mapper/luks-f923dbd9-e2f5-41d3-9014-d16e2ee40e72 254:1    0 610.5G  0 crypt /mnt/iMac-2019
/dev/nvme0n1                                              259:0    0  26.1G  0 disk  
|-/dev/nvme0n1p1                                          259:1    0   300M  0 part  
`-/dev/nvme0n1p2                                          259:2    0  25.7G  0 part ```

* Description of the issue (ideally so that others can reproduce it):
I start with a format of the USB using: `sudo rear format  -- --efi /dev/sdb`.

Then I try the rescue disk creation:  `sudo /usr/sbin/rear -v mkrescue`.  
I get the error below.  As you can see from my `config` file, I had to specify the bootloader and kernel, which I wasn't exactly sure how to do using `rEFInd` and Manjaro.

2021-01-21 19:36:47.651395715 ======================
2021-01-21 19:36:47.652732751 Running 'pack' stage
2021-01-21 19:36:47.654155568 ======================
2021-01-21 19:36:47.659957090 Including pack/GNU/Linux/900_create_initramfs.sh
2021-01-21 19:36:47.662529178 Creating recovery/rescue system initramfs/initrd initrd.cgz with gzip default compression
2021-01-21 19:37:26.647446143 Created initrd.cgz with gzip default compression (459971147 bytes) in 39 seconds
2021-01-21 19:37:26.649054843 Finished running 'pack' stage in 39 seconds
2021-01-21 19:37:26.650524895 ======================
2021-01-21 19:37:26.651910673 Running 'output' stage
2021-01-21 19:37:26.653349209 ======================
2021-01-21 19:37:26.659744240 Including output/default/010_set_umask.sh
2021-01-21 19:37:26.661323486 Setting umask to 077
2021-01-21 19:37:26.665060810 Including output/USB/Linux-i386/100_create_efiboot.sh
2021-01-21 19:37:26.666296064 Configuring device for EFI boot
2021-01-21 19:37:27.136906622 ERROR: Failed to copy initrd to /tmp/rear-efi.XqXIeduIYT//EFI/BOOT/initrd.cgz
2021-01-21 19:37:27.141854549 Exiting rear mkrescue (PID 160057) and its descendant processes ...
2021-01-21 19:37:30.218373569 rear,160057 /usr/sbin/rear -v mkrescue
-rear,174897 /usr/sbin/rear -v mkrescue-pstree,174898 -Aplau 160057
2021-01-21 19:37:30.235992001 Running exit tasks

* Workaround, if any:
N/A

* Attachments, as applicable ("rear -D mkrescue/mkbackup/recover" debug log files):

2021-01-23 11:23:00.750113628 Relax-and-Recover 2.6-git.4236.71f664fb.master.changed / 2021-01-15
2021-01-23 11:23:00.751179853 Running rear mkrescue/mkbackup/recover (PID 64160 date 2021-01-23 11:22:58)
2021-01-23 11:23:00.752132785 Command line options: /usr/sbin/rear -D mkrescue/mkbackup/recover
2021-01-23 11:23:00.753032900 Using log file: /var/log/rear/rear-manjaro-imac-2019.log
2021-01-23 11:23:00.754028795 Current set of flags is 'hB'
2021-01-23 11:23:00.755030241 The debugscripts flags are 'x'
2021-01-23 11:23:00.756164994 Combining configuration files
2021-01-23 11:23:00.757376996 Including /etc/rear/os.conf
2021-01-23 11:23:00.758347040 Entering debugscript mode via 'set -x'.
+ source /etc/rear/os.conf
++ OS_VENDOR=Arch
++ OS_VERSION=
+ source_return_code=0
+ test 0 -eq 0
+ cd /home/rsync
+ test 1
+ Debug 'Leaving debugscript mode (back to previous bash flags and options settings).'
+ test 1
+ Log 'Leaving debugscript mode (back to previous bash flags and options settings).'
+ echo '2021-01-23 11:23:00.798541938 Leaving debugscript mode (back to previous bash flags and options settings).'
2021-01-23 11:23:00.798541938 Leaving debugscript mode (back to previous bash flags and options settings).
2021-01-23 11:23:00.801571139 Including conf/Linux-i386.conf
2021-01-23 11:23:00.802516343 Entering debugscript mode via 'set -x'.
+ source /usr/share/rear/conf/Linux-i386.conf
++ REQUIRED_PROGS+=(sfdisk)
++ PROGS+=(grub lilo)
+ source_return_code=0
+ test 0 -eq 0
+ cd /home/rsync
+ test 1
+ Debug 'Leaving debugscript mode (back to previous bash flags and options settings).'
+ test 1
+ Log 'Leaving debugscript mode (back to previous bash flags and options settings).'
+ echo '2021-01-23 11:23:00.879971813 Leaving debugscript mode (back to previous bash flags and options settings).'
2021-01-23 11:23:00.879971813 Leaving debugscript mode (back to previous bash flags and options settings).
2021-01-23 11:23:00.976188451 Including conf/GNU/Linux.conf
2021-01-23 11:23:00.979127450 Entering debugscript mode via 'set -x'.
+ source /usr/share/rear/conf/GNU/Linux.conf
++ REQUIRED_PROGS+=(chroot ip less parted readlink)
++ PROGS+=(partprobe fdisk cfdisk sfdisk)
++ PROGS+=(rpc.statd rpcbind mknod blkid vol_id udev_volume_id portmap rpcinfo tac reboot halt shutdown killall5 killall tee ifconfig nslookup route ifenslave ifrename nameif klogd syslog-ng syslogd rsyslogd date rmdir init telinit ethtool expand insmod modprobe lsmod true false mingetty agetty getty rmmod hostname uname sleep logger pstree ln dirname basename tty ping netstat free traceroute xxd vi pico nano rmmod df dmesg du gzip netcat curl top iptraf joe getent id ldd strace rsync tail head find md5sum mkfs mkfs.ext2 mkfs.ext3 mkfs.ext4 mkfs.ext4dev mkfs.jfs mkfs.xfs mkfs.reiserfs mkfs.vfat mkfs.btrfs mkreiserfs fsck fsck.ext2 fsck.ext3 fsck.ext4 fsck.ext4dev fsck.xfs fsck.reiserfs reiserfsck fsck.btrfs findmnt btrfsck tune2fs tune4fs xfs_admin xfs_db xfs_repair xfs_info xfs_growfs btrfs jfs_tune reiserfstune egrep fgrep chmod chown stat mkswap swapon swapoff mknod touch scsi_id lsscsi logd initctl lspci usleep mktemp /bin/true strace which mkfifo seq openvt poweroff chacl getfacl setfacl attr getfattr setfattr mpath_wait xargs sg_inq env w dosfslabel sysctl blockdev lsblk clear)
++ LIBS+=(/lib*/libnss_dns* /lib*/libnss_files* /lib/*/libnss_dns* /lib/*/libnss_files* /lib*/libgcc_s* /lib*/libresolv* /usr/lib*/rsyslog/*so /lib*/rsyslog/*so /usr/lib*/syslog-ng/* /lib*/libnsspem.so* /usr/lib*/libnsspem.so* /lib*/libfreebl*.so* /usr/lib*/libfreebl*.so* /lib*/libnss3.so* /usr/lib*/libnss3.so* /lib*/libnssutil3.so* /usr/lib*/libnssutil3.so* /lib*/libsoftokn3.so* /usr/lib*/libsoftokn3.so* /lib*/libsqlite3.so* /usr/lib*/libsqlite3.so* /lib*/libfreeblpriv3.so* /usr/lib*/libfreeblpriv3.so* /lib*/libssl.so* /usr/lib*/libssl.so* /lib*/libnssdbm3.so* /usr/lib*/libnssdbm3.so*)
++ COPY_AS_IS+=(/dev /etc/inputr[c] /etc/protocols /etc/services /etc/rpc /etc/termcap /etc/terminfo /lib*/terminfo /usr/share/terminfo /etc/netconfig /etc/mke2fs.conf /etc/*-release /etc/localtime /etc/magic /usr/share/misc/magic /etc/dracut.conf /etc/dracut.conf.d /usr/lib/dracut /sbin/modprobe.ksplice-orig /etc/sysctl.conf /etc/sysctl.d /etc/e2fsck.conf)
++ COPY_AS_IS+=('/etc/ssl/certs/*' '/etc/pki/*' '/usr/lib/ssl/*' '/usr/share/ca-certificates/*' '/etc/ca-certificates/*')
++ COPY_AS_IS_EXCLUDE+=(dev/shm/\*)
++ COPY_AS_IS_EXCLUDE+=('/etc/pki/tls/private' '/etc/pki/CA/private' '/etc/pki/nssdb/key*.db' '/usr/lib/ssl/private')
++ KERNEL_CMDLINE+=' selinux=0'
++ CLONE_USERS+=(daemon rpc usbmuxd usbmux vcsa nobody dbus)
++ CLONE_GROUPS+=(tty usbmuxd usbmux fuse kvm oinstall dbus)
++ type -p lspci
++ lspci
++ grep --quiet ' VGA .*AMD'
++ OPAL_PBA_FIRMWARE_FILES+=('*/amdgpu/*')
+ source_return_code=0
+ test 0 -eq 0
+ cd /home/rsync
+ test 1
+ Debug 'Leaving debugscript mode (back to previous bash flags and options settings).'
+ test 1
+ Log 'Leaving debugscript mode (back to previous bash flags and options settings).'
+ echo '2021-01-23 11:23:07.590063524 Leaving debugscript mode (back to previous bash flags and options settings).'
2021-01-23 11:23:07.590063524 Leaving debugscript mode (back to previous bash flags and options settings).
2021-01-23 11:23:07.592894682 Including /etc/rear/local.conf
2021-01-23 11:23:07.593887670 Entering debugscript mode via 'set -x'.
+ source /etc/rear/local.conf
++ OUTPUT=USB
++ BACKUP=NETFS
++ BACKUP_URL=usb:///dev/disk/by-label/REAR-000
++ KERNEL_FILE=/boot/vmlinuz-5.4-x86_64
++ UEFI_BOOTLOADER=/boot/efi/EFI/refind/refind_x64.efi
+ source_return_code=0
+ test 0 -eq 0
+ cd /home/rsync
+ test 1
+ Debug 'Leaving debugscript mode (back to previous bash flags and options settings).'
+ test 1
+ Log 'Leaving debugscript mode (back to previous bash flags and options settings).'
+ echo '2021-01-23 11:23:07.598332559 Leaving debugscript mode (back to previous bash flags and options settings).'
2021-01-23 11:23:07.598332559 Leaving debugscript mode (back to previous bash flags and options settings).
2021-01-23 11:23:07.677688319 ======================
2021-01-23 11:23:07.678939827 Running 'init' stage
2021-01-23 11:23:07.680009413 ======================
2021-01-23 11:23:07.776764392 Including init/default/005_verify_os_conf.sh
2021-01-23 11:23:07.777786861 Entering debugscript mode via 'set -x'.
+ source /usr/share/rear/init/default/005_verify_os_conf.sh
++ [[ ! -f /etc/rear/os.conf ]]
+ source_return_code=0
+ test 0 -eq 0
+ cd /home/rsync
+ test 1
+ Debug 'Leaving debugscript mode (back to previous bash flags and options settings).'
+ test 1
+ Log 'Leaving debugscript mode (back to previous bash flags and options settings).'
+ echo '2021-01-23 11:23:07.868703687 Leaving debugscript mode (back to previous bash flags and options settings).'
2021-01-23 11:23:07.868703687 Leaving debugscript mode (back to previous bash flags and options settings).
2021-01-23 11:23:07.872013234 Including init/default/010_EFISTUB_check.sh
2021-01-23 11:23:07.872983911 Entering debugscript mode via 'set -x'.
+ source /usr/share/rear/init/default/010_EFISTUB_check.sh
++ is_false no
++ case "$1" in
++ return 0
+ source_return_code=0
+ test 0 -eq 0
+ cd /home/rsync
+ test 1
+ Debug 'Leaving debugscript mode (back to previous bash flags and options settings).'
+ test 1
+ Log 'Leaving debugscript mode (back to previous bash flags and options settings).'
+ echo '2021-01-23 11:23:07.890745181 Leaving debugscript mode (back to previous bash flags and options settings).'
2021-01-23 11:23:07.890745181 Leaving debugscript mode (back to previous bash flags and options settings).
2021-01-23 11:23:07.893958584 Including init/default/010_set_drlm_env.sh
2021-01-23 11:23:07.895081332 Entering debugscript mode via 'set -x'.
+ source /usr/share/rear/init/default/010_set_drlm_env.sh
++ is_true n
++ case "$1" in
++ return 1
++ return 0
+ source_return_code=0
+ test 0 -eq 0
+ cd /home/rsync
+ test 1
+ Debug 'Leaving debugscript mode (back to previous bash flags and options settings).'
+ test 1
+ Log 'Leaving debugscript mode (back to previous bash flags and options settings).'
+ echo '2021-01-23 11:23:07.930225352 Leaving debugscript mode (back to previous bash flags and options settings).'
2021-01-23 11:23:07.930225352 Leaving debugscript mode (back to previous bash flags and options settings).
2021-01-23 11:23:07.933593863 Including init/default/030_update_recovery_system.sh
2021-01-23 11:23:07.934617023 Entering debugscript mode via 'set -x'.
+ source /usr/share/rear/init/default/030_update_recovery_system.sh
++ test ''
++ return 0
+ source_return_code=0
+ test 0 -eq 0
+ cd /home/rsync
+ test 1
+ Debug 'Leaving debugscript mode (back to previous bash flags and options settings).'
+ test 1
+ Log 'Leaving debugscript mode (back to previous bash flags and options settings).'
+ echo '2021-01-23 11:23:07.998658551 Leaving debugscript mode (back to previous bash flags and options settings).'
2021-01-23 11:23:07.998658551 Leaving debugscript mode (back to previous bash flags and options settings).
2021-01-23 11:23:08.002195833 Including init/default/050_check_rear_recover_mode.sh
2021-01-23 11:23:08.003271297 Entering debugscript mode via 'set -x'.
+ source /usr/share/rear/init/default/050_check_rear_recover_mode.sh
++ test -f /etc/rear-release
++ case "$WORKFLOW" in
++ LogPrint 'Running workflow mkrescue/mkbackup/recover on the normal/original system'
++ Log 'Running workflow mkrescue/mkbackup/recover on the normal/original system'
++ echo '2021-01-23 11:23:08.007771929 Running workflow mkrescue/mkbackup/recover on the normal/original system'
2021-01-23 11:23:08.007771929 Running workflow mkrescue/mkbackup/recover on the normal/original system
++ Print 'Running workflow mkrescue/mkbackup/recover on the normal/original system'
+ source_return_code=0
+ test 0 -eq 0
+ cd /home/rsync
+ test 1
+ Debug 'Leaving debugscript mode (back to previous bash flags and options settings).'
+ test 1
+ Log 'Leaving debugscript mode (back to previous bash flags and options settings).'
+ echo '2021-01-23 11:23:08.008924136 Leaving debugscript mode (back to previous bash flags and options settings).'
2021-01-23 11:23:08.008924136 Leaving debugscript mode (back to previous bash flags and options settings).
2021-01-23 11:23:08.012280371 Including init/default/950_check_missing_programs.sh
2021-01-23 11:23:08.013361757 Entering debugscript mode via 'set -x'.
+ source /usr/share/rear/init/default/950_check_missing_programs.sh
++ local prog
++ missing_progs=()
++ local missing_progs
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary /usr/bin/rear
++ for bin in $@
++ type /usr/bin/rear
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary awk
++ for bin in $@
++ type awk
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary bash
++ for bin in $@
++ type bash
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary bc
++ for bin in $@
++ type bc
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary cat
++ for bin in $@
++ type cat
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary cmp
++ for bin in $@
++ type cmp
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary cp
++ for bin in $@
++ type cp
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary cpio
++ for bin in $@
++ type cpio
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary cut
++ for bin in $@
++ type cut
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary dd
++ for bin in $@
++ type dd
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary diff
++ for bin in $@
++ type diff
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary df
++ for bin in $@
++ type df
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary dumpkeys
++ for bin in $@
++ type dumpkeys
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary echo
++ for bin in $@
++ type echo
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary expr
++ for bin in $@
++ type expr
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary file
++ for bin in $@
++ type file
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary getopt
++ for bin in $@
++ type getopt
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary grep
++ for bin in $@
++ type grep
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary join
++ for bin in $@
++ type join
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary kbd_mode
++ for bin in $@
++ type kbd_mode
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary loadkeys
++ for bin in $@
++ type loadkeys
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary ls
++ for bin in $@
++ type ls
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary mkdir
++ for bin in $@
++ type mkdir
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary mount
++ for bin in $@
++ type mount
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary mountpoint
++ for bin in $@
++ type mountpoint
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary mv
++ for bin in $@
++ type mv
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary pidof
++ for bin in $@
++ type pidof
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary ps
++ for bin in $@
++ type ps
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary pwd
++ for bin in $@
++ type pwd
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary rm
++ for bin in $@
++ type rm
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary sed
++ for bin in $@
++ type sed
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary seq
++ for bin in $@
++ type seq
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary sort
++ for bin in $@
++ type sort
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary strings
++ for bin in $@
++ type strings
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary sync
++ for bin in $@
++ type sync
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary tar
++ for bin in $@
++ type tar
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary test
++ for bin in $@
++ type test
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary tr
++ for bin in $@
++ type tr
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary umount
++ for bin in $@
++ type umount
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary uniq
++ for bin in $@
++ type uniq
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary wc
++ for bin in $@
++ type wc
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary sfdisk
++ for bin in $@
++ type sfdisk
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary chroot
++ for bin in $@
++ type chroot
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary ip
++ for bin in $@
++ type ip
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary less
++ for bin in $@
++ type less
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary parted
++ for bin in $@
++ type parted
++ return 0
++ for prog in "${REQUIRED_PROGS[@]}"
++ has_binary readlink
++ for bin in $@
++ type readlink
++ return 0
++ contains_visible_char ''
+++ tr -d -c '[:graph:]'
++ test ''
++ return 0
+ source_return_code=0
+ test 0 -eq 0
+ cd /home/rsync
+ test 1
+ Debug 'Leaving debugscript mode (back to previous bash flags and options settings).'
+ test 1
+ Log 'Leaving debugscript mode (back to previous bash flags and options settings).'
+ echo '2021-01-23 11:23:08.058973784 Leaving debugscript mode (back to previous bash flags and options settings).'
2021-01-23 11:23:08.058973784 Leaving debugscript mode (back to previous bash flags and options settings).
2021-01-23 11:23:08.060399930 Finished running 'init' stage in 1 seconds
2021-01-23 11:23:08.065149532 Using build area '/tmp/rear.0PJXTbG11MzRDrH'
mkdir: created directory '/tmp/rear.0PJXTbG11MzRDrH/rootfs'
mkdir: created directory '/tmp/rear.0PJXTbG11MzRDrH/tmp'
/usr/share/rear/lib/_input-output-functions.sh: line 476: type: WORKFLOW_mkrescue/mkbackup/recover: not found
2021-01-23 11:23:08.067609307 ERROR: The specified command 'mkrescue/mkbackup/recover' does not exist!
+ LogPrint 'Exiting rear mkrescue/mkbackup/recover (PID 64160) and its descendant processes ...'
+ Log 'Exiting rear mkrescue/mkbackup/recover (PID 64160) and its descendant processes ...'
+ echo '2021-01-23 11:23:08.165006836 Exiting rear mkrescue/mkbackup/recover (PID 64160) and its descendant processes ...'
2021-01-23 11:23:08.165006836 Exiting rear mkrescue/mkbackup/recover (PID 64160) and its descendant processes ...
+ Print 'Exiting rear mkrescue/mkbackup/recover (PID 64160) and its descendant processes ...'
+ sleep 3
+ log_descendants_pids
++ pstree -Aplau 64160
+ Log 'rear,64160 /usr/sbin/rear -D mkrescue/mkbackup/recover
  `-rear,64448 /usr/sbin/rear -D mkrescue/mkbackup/recover
      `-pstree,64449 -Aplau 64160'
+ echo '2021-01-23 11:23:11.298573905 rear,64160 /usr/sbin/rear -D mkrescue/mkbackup/recover
  `-rear,64448 /usr/sbin/rear -D mkrescue/mkbackup/recover
      `-pstree,64449 -Aplau 64160'
2021-01-23 11:23:11.298573905 rear,64160 /usr/sbin/rear -D mkrescue/mkbackup/recover
  `-rear,64448 /usr/sbin/rear -D mkrescue/mkbackup/recover
      `-pstree,64449 -Aplau 64160
+ terminate_descendants_from_grandchildren_to_children
+ local remaining_columns
+ test 126
+ remaining_columns=126
+ remaining_columns=86
+ test 86 -ge 40
+ local descendant_pid=
+ local not_yet_terminated_pids=
++ descendants_pids 64160
++ local parent_pid=64160
++ kill -0 64160
++ local child_pid=
+++ ps --ppid 64160 -o pid=
++ for child_pid in $( ps --ppid $parent_pid -o pid= )
++ kill -0 64452
++ descendants_pids 64452
++ local parent_pid=64452
++ kill -0 64452
++ local child_pid=
+++ ps --ppid 64452 -o pid=
++ for child_pid in $( ps --ppid $parent_pid -o pid= )
++ kill -0 64455
++ kill -0 64452
++ echo 64452
++ kill -0 64160
++ echo 64160
+ for descendant_pid in $( descendants_pids $MASTER_PID )
+ test 64160 -eq 64452
+ kill -0 64452
/usr/share/rear/lib/_input-output-functions.sh: line 151: kill: (64452) - No such process
+ continue
+ for descendant_pid in $( descendants_pids $MASTER_PID )
+ test 64160 -eq 64160
+ continue
+ test ''
+ return 0
+ LogPrint 'Running exit tasks'
+ Log 'Running exit tasks'
+ echo '2021-01-23 11:23:11.381627549 Running exit tasks'
2021-01-23 11:23:11.381627549 Running exit tasks
+ Print 'Running exit tasks'
+ local exit_task=
+ for exit_task in "${EXIT_TASKS[@]}"
+ Debug 'Exit task '\''cleanup_build_area_and_end_program'\'''
+ test 1
+ Log 'Exit task '\''cleanup_build_area_and_end_program'\'''
+ echo '2021-01-23 11:23:11.393149825 Exit task '\''cleanup_build_area_and_end_program'\'''
2021-01-23 11:23:11.393149825 Exit task 'cleanup_build_area_and_end_program'
+ eval cleanup_build_area_and_end_program
++ cleanup_build_area_and_end_program
+++ date +%s
++ Log 'Finished rear mkrescue/mkbackup/recover in 13 seconds'
++ echo '2021-01-23 11:23:11.395832222 Finished rear mkrescue/mkbackup/recover in 13 seconds'
2021-01-23 11:23:11.395832222 Finished rear mkrescue/mkbackup/recover in 13 seconds
++ is_true 1
++ case "$1" in
++ return 0
++ LogPrint 'You should also rm -Rf /tmp/rear.0PJXTbG11MzRDrH'
++ Log 'You should also rm -Rf /tmp/rear.0PJXTbG11MzRDrH'
++ echo '2021-01-23 11:23:11.397150290 You should also rm -Rf /tmp/rear.0PJXTbG11MzRDrH'
2021-01-23 11:23:11.397150290 You should also rm -Rf /tmp/rear.0PJXTbG11MzRDrH
++ Print 'You should also rm -Rf /tmp/rear.0PJXTbG11MzRDrH'
++ Log 'End of program reached'
++ echo '2021-01-23 11:23:11.398683886 End of program reached'
2021-01-23 11:23:11.398683886 End of program reached
+ for exit_task in "${EXIT_TASKS[@]}"
+ Debug 'Exit task '\''(( EXIT_FAIL_MESSAGE )) && echo '\''rear mkrescue/mkbackup/recover failed, check /var/log/rear/rear-manjaro-imac-2019.log for details'\'' 1>&8'\'''
+ test 1
+ Log 'Exit task '\''(( EXIT_FAIL_MESSAGE )) && echo '\''rear mkrescue/mkbackup/recover failed, check /var/log/rear/rear-manjaro-imac-2019.log for details'\'' 1>&8'\'''
+ echo '2021-01-23 11:23:11.399909517 Exit task '\''(( EXIT_FAIL_MESSAGE )) && echo '\''rear mkrescue/mkbackup/recover failed, check /var/log/rear/rear-manjaro-imac-2019.log for details'\'' 1>&8'\'''
2021-01-23 11:23:11.399909517 Exit task '(( EXIT_FAIL_MESSAGE )) && echo 'rear mkrescue/mkbackup/recover failed, check /var/log/rear/rear-manjaro-imac-2019.log for details' 1>&8'
+ eval '(( EXIT_FAIL_MESSAGE )) && echo '\''rear mkrescue/mkbackup/recover failed, check /var/log/rear/rear-manjaro-imac-2019.log for details'\'' 1>&8'
++ ((  EXIT_FAIL_MESSAGE  ))
+ for exit_task in "${EXIT_TASKS[@]}"
+ Debug 'Exit task '\''exec 8>&-'\'''
+ test 1
+ Log 'Exit task '\''exec 8>&-'\'''
+ echo '2021-01-23 11:23:11.418018913 Exit task '\''exec 8>&-'\'''
2021-01-23 11:23:11.418018913 Exit task 'exec 8>&-'
+ eval 'exec 8>&-'
++ exec
+ for exit_task in "${EXIT_TASKS[@]}"
+ Debug 'Exit task '\''exec 7>&-'\'''
+ test 1
+ Log 'Exit task '\''exec 7>&-'\'''
+ echo '2021-01-23 11:23:11.428056056 Exit task '\''exec 7>&-'\'''
2021-01-23 11:23:11.428056056 Exit task 'exec 7>&-'
+ eval 'exec 7>&-'
++ exec
+ for exit_task in "${EXIT_TASKS[@]}"
+ Debug 'Exit task '\''exec 6<&-'\'''
+ test 1
+ Log 'Exit task '\''exec 6<&-'\'''
+ echo '2021-01-23 11:23:11.429396577 Exit task '\''exec 6<&-'\'''
2021-01-23 11:23:11.429396577 Exit task 'exec 6<&-'
+ eval 'exec 6<&-'
++ exec
+ for exit_task in "${EXIT_TASKS[@]}"
+ Debug 'Exit task '\'''\'''
+ test 1
+ Log 'Exit task '\'''\'''
+ echo '2021-01-23 11:23:11.430861208 Exit task '\'''\'''
2021-01-23 11:23:11.430861208 Exit task ''
+ eval ''



#### <img src="https://avatars.githubusercontent.com/u/888633?u=cdaeb31efcc0048d3619651aa18dd4b76e636b21&v=4" width="50">[gdha](https://github.com/gdha) commented at [2021-01-25 13:24](https://github.com/rear/rear/issues/2558#issuecomment-766813214):

@TheRoarkster As you are using a Mac as HW and **rEFInd** as boot mechanism I'm afraid that ReaR has little knowledge around rEFInd so far. Perhaps it would be better to run `rear -vD mkrescue` to get the debug log file so we can see what goed wrong. Well, as I said rEFInd is most likely the missing keystone here.

#### <img src="https://avatars.githubusercontent.com/u/35146738?v=4" width="50">[TheRoarkster](https://github.com/TheRoarkster) commented at [2021-01-30 20:23](https://github.com/rear/rear/issues/2558#issuecomment-770275478):

Sorry for the delay.  I paste below the log for `rear -vD mkrescue` below.


[rear.TXT](https://github.com/rear/rear/files/5898663/rear.TXT)

#### <img src="https://avatars.githubusercontent.com/in/15368?v=4" width="50">[github-actions](https://github.com/apps/github-actions) commented at [2021-04-01 02:32](https://github.com/rear/rear/issues/2558#issuecomment-811592976):

Stale issue message


-------------------------------------------------------------------------------



[Export of Github issue for [rear/rear](https://github.com/rear/rear).]