#1901 Issue closed
: In recovery mode rear -h does not work¶
Labels: enhancement
, fixed / solved / done
gdha opened issue at 2018-08-22 07:30:¶
-
ReaR version ("/usr/sbin/rear -V"): master
-
Description of the issue (ideally so that others can reproduce it): in recovery the command
rear -h
does not work:
RESCUE client:~ # rear -h
ERROR: The workflow help is not supported in the ReaR rescue/recovery system
Some latest log messages since the last called script 050_check_rear_recover_mode.sh:
2018-08-22 09:27:04.161732852 Including init/default/050_check_rear_recover_mode.sh
Aborting due to an error, check /var/log/rear/rear-client.log.lockless for details
Terminated
- Work-around, if any: none
jsmeix commented at 2018-10-23 09:57:¶
See the related https://github.com/rear/rear/issues/1939
@gdha
do you perhaps know what the reason behind was
why in init/default/050_check_rear_recover_mode.sh
the help workflow is not allowed inside the recovery system?
My forensics via
git log -p --follow usr/share/rear/init/default/050_check_rear_recover_mode.sh
shows that this script originated by you via
https://github.com/rear/rear/commit/ad2283c402736253e4f76d36659f353695aeceea
probably as a result of
https://github.com/rear/rear/issues/719#issuecomment-159967555
Perhaps therein the
From within the rescue system you can only run rear recover
was too restrictive?
jsmeix commented at 2018-10-23 11:54:¶
The pull request
https://github.com/rear/rear/pull/1940
intends to fix this issue.
jsmeix commented at 2018-10-25 12:04:¶
With
https://github.com/rear/rear/pull/1940
merged
this issue should be fixed.
[Export of Github issue for rear/rear.]