Bug 1726982 - Cannot restore using Bacula method due to "bconsole" not showing its prompt
Summary: Cannot restore using Bacula method due to "bconsole" not showing its prompt
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: rear
Version: 7.6
Hardware: All
OS: Linux
urgent
medium
Target Milestone: rc
: ---
Assignee: Pavel Cahyna
QA Contact: David Jež
URL:
Whiteboard:
Depends On:
Blocks: 1726992 1729492 1737791
TreeView+ depends on / blocked
 
Reported: 2019-07-04 08:20 UTC by Renaud Métrich
Modified: 2020-03-31 20:07 UTC (History)
6 users (show)

Fixed In Version: rear-2.4-9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1729492 1737791 (view as bug list)
Environment:
Last Closed: 2020-03-31 20:06:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 4265211 0 Troubleshoot None ReaR: cannot restore a system when using the Bacula backup method 2019-07-04 08:34:45 UTC
Red Hat Product Errata RHBA-2020:1153 0 None None None 2020-03-31 20:07:39 UTC

Description Renaud Métrich 2019-07-04 08:20:22 UTC
Description of problem:

Cannot restore using Bacula method due to "bconsole" not showing its prompt: its prompt is sent to ReaR's log instead of stdout (which is FD 7 in ReaR).

Version-Release number of selected component (if applicable):

rear-* including Upstream


How reproducible:

Always


Steps to Reproduce:
1. Setup backup method to Bacula
2. Setup a bacula server
3. Backup the system

  # rear mkbackup

4. Restore the system

  # rear recover


Actual results:

[...]
Do not exit 'bconsole' until all files are restored

WARNING: The new root is mounted under '$TARGET_FS_ROOT'.

Press ENTER to start bconsole"

--> Nothing shows up


Expected results:

Do not exit 'bconsole' until all files are restored

WARNING: The new root is mounted under '$TARGET_FS_ROOT'.

Press ENTER to start bconsole"

Connecting to Director XXX:9101
1000 OK: bacula-dir Version: 5.2.13 (19 February 2013)
Enter a period to cancel a command.
*


Additional info:

GitHub PR: https://github.com/rear/rear/pull/2173

Comment 12 errata-xmlrpc 2020-03-31 20:06:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:1153


Note You need to log in before you can comment on or make changes to this bug.