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
bacula: Fixed 'bconsole' prompt not displaying at all when doing a recover #2173
Conversation
|
Expected prompt: Without the fix: |
|
@rmetrich |
|
@rmetrich I assigned the PR to you as I assume that it is linked to a RH case? |
Seems even more robust, thanks! |
Yes, this is https://bugzilla.redhat.com/show_bug.cgi?id=1726992 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I blindly approve it because I trust @rmetrich
(and I cannot know how bconsole behaves
because I do not use third-party backup tools).
|
@rmetrich to make it easier to see what happened when someone |
…cover Signed-off-by: Renaud Métrich <rmetrich@redhat.com>
|
I suspect that BAREOS will need the same fix: https://github.com/rmetrich/rear/blob/161e35a541bcdc46b50e00edb4b5d5e0b527a321/usr/share/rear/restore/BAREOS/default/400_restore_backup.sh#L154 |
Relax-and-Recover (ReaR) Pull Request Template
Please fill in the following items before submitting a new pull request:
Pull Request Details:
Type: Bug Fix
Impact: Normal
Reference to related issue (URL):
How was this pull request tested? Tested a recovery with bacula until
bconsoleis executedBrief description of the changes in this pull request:
With this change, the bconsole output is sent to FD 7, which is stdout. Previously the output was sent to FD 1 which is redirected to the ReaR log.