-
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
Relax-and-Recover needs real bash and uses 'type -P' to determine program files #2464
Comments
ReaR requires real bash, cf. The interesting part of this issue here is how it could happen |
Maybe a symbolic link (/bin/bash -> /sbin/ksh) ? V. |
|
Thank you so much for have taken the time to answer me Actually i found that this came from the bin/id script Thank you for your help |
How programs get copied into the ReaR recovery system usr/share/rear/conf/GNU/Linux.conf contains (excerpt)
which gets evaluated in
where
so what you get in the recovery system for So when you change your system so that |
@rearuser |
Hello, Thank you for your feedback Thank you for your explanation and help on this topic |
Only as a side note FYI: If an exceptional program should be run that program needs to be called FWIW some other scaring examples of same kind: We at ReaR had noticed that some third party software had set up Others had added "foreign" libraries directories to /etc/ld.so.conf We at ReaR had also noticed that some third party software had set up |
Relax-and-Recover (ReaR) Issue Template
I try to recover a dell bare metal (OS: RHEL 7.8) by rear backup that i did
When i lanch the command "rear recover" it gives me this error:
/bin/rear: /sbin/id : /sbin/ksh: bas interpreter: No such file or directory
ERROR: Relax and recover needs 'root' priveleges (effective user ID is not 0)
and i'am logged with root user
Thank you for your help with this
The text was updated successfully, but these errors were encountered: