-
Notifications
You must be signed in to change notification settings - Fork 255
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
Bug: ReaR should abort as early as possible if rear recover is run outside rescue system #3198
Comments
Remove double check for recovery system Fixes #3198
init/default/030_update_recovery_system.sh contains
so I wonder how it could apply an update downloaded |
Yes, still felt wrong to check so late for recovery mode 🤷 |
Of course the check for recovery mode was too late FYI about its history:
shows at its end i.e. at the very beginning of time
so 05_check_rear-recover_mode.sh So my fault was to add 030_update_recovery_system.sh |
Ah, so I sort of fixed what happened at that old XX to XXX change? Nice. I didn't have a problem with unplanned system updates, it was more of a thought. |
Problem
While working on the #3190 story I noticed that we first apply an update downloaded from
$RECOVERY_UPDATE_URL
and then check if we are actually in the recovery system 🤕. This could lead to an update getting applied to an origin system if somebody would accidentally (or maliciously) runrear recover
there.Proposed Solution
Check very early for recovery mode
The text was updated successfully, but these errors were encountered: