Skip to content
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

Incorrect rear bash history entry #722

Closed
ghost opened this issue Dec 1, 2015 · 1 comment
Closed

Incorrect rear bash history entry #722

ghost opened this issue Dec 1, 2015 · 1 comment

Comments

@ghost
Copy link

ghost commented Dec 1, 2015

My environment:

Testing date: 2015-12-01
Operating system: Debian 8.2 (jessie)
Package: rear_1.17.2_all.deb

During a USB recovery phase, rear was unable to mount USB device. Decided to drop to shell when offered a menu for my next action. Found root .bash_history file already populated with a few entries presumably as a troubleshooting aide for administrators.

: : : : : WHAT ELSE WOULD YOU HAVE EXPECTED HERE?
vi /var/lib/rear/layout/diskrestore.sh   # View/modify disk restore script
vi /var/lib/rear/layout/disklayout.conf  # View/modify disk layout configuration
less /var/log/rear/rear-myhost.log   # View log file
loadkeys -d     # Load default keyboard layout (US)
rear recover    # Recover your system

Issue: Could not view diskrestore.sh because the script was missing

vi /var/lib/rear/layout/diskrestore.sh   # View/modify disk restore script
@gdha
Copy link
Member

gdha commented Dec 2, 2015

@jk04au these are simply some examples so that the history is not empty to start with. When you haven't started a recovery operation then the distrestore.sh script does not yet exists.
It is as it is...

@gdha gdha closed this as completed Feb 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant