Bug 1903786 - "Encrypt my data" checkbox disappears after selecting "Custom" storage configuration
Summary: "Encrypt my data" checkbox disappears after selecting "Custom" storage config...
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: anaconda
Version: 8.3
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: rc
: 8.0
Assignee: Vendula Poncova
QA Contact: Release Test Team
Alexandra Nikandrova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-02 18:59 UTC by Parikshit Khedekar
Modified: 2021-07-13 12:33 UTC (History)
9 users (show)

Fixed In Version: anaconda-33.16.5.2-1.el8
Doc Type: Known Issue
Doc Text:
.Anaconda does not show encryption for a custom partition The *Encrypt my data* radio button is not available when you choose the *Custom* partitioning during the system installation. As a result, your data is not encrypted when installation is complete. To workaround this problem, set encryption in the custom partitioning screen for each device you want to encrypt. Anaconda will ask for a passphrase when leaving the dialog.
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:


Attachments (Terms of Use)

Description Parikshit Khedekar 2020-12-02 18:59:37 UTC
Description of problem:

While performing a "from scratch" installation of RHEL 8.3 during the disk partitioning layout
setup. If you check "Custom" radio button the "Encrypt my data" radio button is hidden.

If you check the "Encrypt my data" radio button first and then check "Custom" radio button
the "Encrypt my data" radio button is hidden.

Selecting "Done" you get NO dialog for a passphrase.

Proceeding with custom layout and install the disk is NOT encrypted as desired.


It works fine with 8.2 and if I use a kickstart with line as following for 8.3 

part pv.236 --fstype="lvmpv" --ondisk=Xda --size=XXXXX --encrypted --luks-version=luks2 --passphrase=XXXXXXX


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

Red Hat Enterprise Linux 8.3

How reproducible:

Always 

Steps to Reproduce:
1. Boot with RHEL 8.3 ISO
2. Select language
3. Select "Installation Destination"
4. Click on "Custom" radio button ( Checkbox for "Encrypt my data" disappears )
5. Click on "Automatic" radio button ( Checkbox for "Encrypt my data" appears )
6. Check the checkbox "Encrypt my data"  and click on "Custom" radio button again the Checkbox for "Encrypt my data" disappears
7. Create partitions but it won't ask for passphrase though I have selected the checkbox for "Encrypt my data"
8. And the install proceeds with no encryption set though we want to set.

Actual results:

No encryption set or passphrase asked

Expected results:

Should allow LUKS with custom partitioning.

Additional info:

Comment 1 Jan Stodola 2020-12-02 19:21:01 UTC
Workaround is to set encryption in the custom partitioning screen for the devices you want to have encrypted - anaconda will ask you for the passphrase when leaving the spoke.

I've updated the bug summary, since the custom partitioning spoke still allows to set encryption manually.

Comment 24 Marta Lewandowska 2021-06-29 13:26:32 UTC
Tested using anaconda-33.16.5.2-1.el8 in compose RHEL-8.5.0-20210626.d.0.
'Encrypt my data' check box is present in custom partitioning spoke and disappears once you "Click here to create them automatically"
If you want to encrypt data at this point instead, you can still click the Encrypt checkbox next to Device type.
Either way, you are asked to enter a passphrase when leaving the custom partitioning spoke.


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