RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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.