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
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.
No encryption set or passphrase asked
Should allow LUKS with custom partitioning.
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.
Tested using anaconda-18.104.22.168-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.