-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rear mkrescue fails to copy files and later complains about ldd /bin/bash #1555
Comments
I think problems start here
this double-slash thing is throughout the log. but here it fails ~fw |
Hello @efwe,
Which could mean that whatever ReaR copied into its rootfs as Can you please run following command on your original system: Thanks V. |
Hello @gozora,
The original version looks better of course
so maybe if the copying for the Again, thanks |
No problem ... Talking about failed to copy missing libs, I really can't understand one thing.
This test fails and ReaR tries to create it
But here
This IMHO can mean only one thing, namespace /tmp/rear.WiCMxKkJL0E5UG0/rootfs//usr/lib64 exists and it is NOT a directory. My best guess would be that it exists as symlink to some file (or maybe broken symlink). V. |
Hello @gozora, host-system:
chroot:
I was completely unaware of the fact, that this is a link. Hope, that helps |
Does link destination (usr/lib) exists in your chrooted environment? |
ehh, no. That would make |
Let me be a bit more accurate. |
Ok :) first contents of
and here the output of |
Well, this looks really like a bug to me, because accessing /usr/lib64 in your chroot would be actually a try to access /usr/usr/lib64 (which I assume does not exist). @efwe Thanks for reporting this! V. |
…nd /usr/lib* If symlink points to relative target on original system, it will be incorrectly recreated in ReaR recovery system. This applies to link directory in /usr (/lib /lib64 link are handled correctly) c.f. Issue rear#1555
With #1557 merged |
got same ( similar) failure with rear v2.4 and then v.2.3 on RHEL 7.6 ReaR2019-05-08 09:29:48.969211462 Including build/default/960_remove_encryption_keys.sh
|
Relax-and-Recover 2.2 / Git
LSB Version: 1.4
Distributor ID: Arch
Description: Arch Linux
Release: rolling
Codename: n/a
OUTPUT=USB
BACKUP=NETFS
BACKUP_URL=usb:///dev/disk/by-label/REAR-000
BIOS
During
rear -d -D mkrescue
I see failures during copy and it eventually aborts withBUG in /usr/share/rear/build/default/980_verify_rootfs.sh line 29
rear-osa.log
Not found yet
Sorry if this is a simple configuration problem, but I don't see it now.
Greetings
~fw
The text was updated successfully, but these errors were encountered: