Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1130141

Summary: Rephrase warning in cryptsetup-reencrypt
Product: Red Hat Enterprise Linux 6 Reporter: Ondrej Kozina <okozina>
Component: cryptsetup-reencryptAssignee: Ondrej Kozina <okozina>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.6CC: agk, jstodola, okozina, pholica, prajnoha, prockai, rsawhill, zkabelac
Target Milestone: rc   
Target Release: 6.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cryptsetup-reencrypt-1.6.4-2.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-11 01:02:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ondrej Kozina 2014-08-14 12:28:34 UTC
Description of problem:

 Alasdair Kergon 2014-08-13 18:01:41 EDT

The man page says:

       WARNING: The cryptsetup-reencrypt program is not resistant to hardware or kernel failures during reencryption (you can lose you data in this case).

       ALWAYS BE SURE YOU HAVE RELIABLE BACKUP BEFORE USING THIS TOOL.
       THIS TOOL IS EXPERIMENTAL.

When you run the tool it says:

  WARNING: this is experimental code, it can completely break your data.

I'm wondering if that runtime message should be changed to match the man page i.e. to tell you that you MUST take a backup because if the process is interrupted for any reason you will need to restore from it.

Version-Release number of selected component (if applicable):
cryptsetup-reencrypt-1.6.4-1.el6

Comment 1 Ryan Sawhill 2014-08-14 15:09:13 UTC
Should we clone this for RHEL 7.1 as well?

Comment 2 Ondrej Kozina 2014-08-14 15:14:10 UTC
It's not necessary. I would like to fix it in upstream as well. So it should go away with rebase in 7.1

Comment 4 Ondrej Kozina 2015-11-02 07:39:38 UTC
Not so benign warning has been rephrased in https://gitlab.com/cryptsetup/cryptsetup/commit/1623ee71abb5bccb69ff691857d8f674b4f6dba4

Comment 6 Ondrej Kozina 2016-01-18 16:00:22 UTC
The utility 'welcome' message has been dropped out. In the man mage there's no longer remark about the utility being experimental, but warning about power/hardware failure implications still apply.

Comment 7 Jan Stodola 2016-03-16 10:10:06 UTC
Retested with cryptsetup-reencrypt-1.6.4-2.el6, cryptsetup-reencrypt no longer warns about being experimental, this message has also been removed from its man page.

Moving to VERIFIED.

Comment 9 errata-xmlrpc 2016-05-11 01:02:25 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://rhn.redhat.com/errata/RHBA-2016-0946.html