#1525 PR merged: Improved cleanup binaries and libraries copying code¶
Labels: enhancement, cleanup, fixed / solved / done
jsmeix opened issue at 2017-10-05 14:01:¶
Further simplified and improved the cleanup
of the binaries and libraries copying code
as follow up of
https://github.com/rear/rear/pull/1521
jsmeix commented at 2017-10-05 14:04:¶
Because this belongs directly to
https://github.com/rear/rear/pull/1521
I will merge it right now so that others
can test it in the ReaR master code.
Now in particular the testing for missing libraries
in 980_verify_rootfs.sh is verbose in any case
when any library is missing so that users are
informed in any case.
jsmeix commented at 2017-10-05 14:07:¶
FYI
how it now looks when a library is missing:
# ln -sf /usr/lib64/libcryptsetup.so.4.5.0.away /usr/lib64/libcryptsetup.so.4
# ldd /sbin/cryptsetup
linux-vdso.so.1 (0x00007ffe9a7c0000)
libcryptsetup.so.4 => not found
libpopt.so.0 => /usr/lib64/libpopt.so.0 (0x00007ff1772a9000)
libfipscheck.so.1 => /lib64/libfipscheck.so.1 (0x00007ff1770a6000)
libc.so.6 => /lib64/libc.so.6 (0x00007ff176d03000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007ff176afe000)
/lib64/ld-linux-x86-64.so.2 (0x00005569b4878000)
# usr/sbin/rear mkrescue
There are binaries or libraries in the ReaR recovery system that need additional libraries
/bin/cryptsetup requires additional libraries
libcryptsetup.so.4 => not found
/lib64/security/pam_mount.so requires additional libraries
libcryptsetup.so.4 => not found
/usr/lib/systemd/systemd-cryptsetup requires additional libraries
libcryptsetup.so.4 => not found
/usr/lib64/libcryptmount.so.0.0.0 requires additional libraries
libcryptsetup.so.4 => not found
ERROR: ReaR recovery system in '/tmp/rear.fwteQaXlw9GtQlw/rootfs' not usable
Aborting due to an error, check /root/rear.master/var/log/rear/rear-e205.log for details
Terminated
[Export of Github issue for rear/rear.]