Bug 2029101
Summary: | [RHEL 8.5] Unable to set luks passphrase during installation in GUI , if --passphrase is skipped in kickstart file. | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Ameya Patil <amepatil> | |
Component: | anaconda | Assignee: | Vendula Poncova <vponcova> | |
Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> | |
Severity: | medium | Docs Contact: | Sagar Dubewar <sdubewar> | |
Priority: | unspecified | |||
Version: | 8.5 | CC: | alrodrig, jikortus, jkonecny, jstodola, pdwyer, rvykydal, sbarcomb, sdubewar, tgunders, vponcova, zveleba | |
Target Milestone: | rc | Keywords: | TestCaseNeeded, Triaged | |
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | anaconda-33.16.7.5-1.el8 | Doc Type: | Bug Fix | |
Doc Text: |
.Installer asks for the passphrase missing in the Kickstart file for the encrypted devices during the installation
Previously, when running the installer in graphical mode, if the passphrase was not specified in the Kickstart file, the installer would not ask for entering the passphrase for encrypted devices. As a consequence, the partitioning specified in the Kickstart file was not applied during the installation.
This update adds a dialog window that appears during the installation and asks for the missing passphrase. As a result, the installer properly applies the partitioning scheme specified in the Kickstart file.
|
Story Points: | --- | |
Clone Of: | ||||
: | 2087218 (view as bug list) | Environment: | ||
Last Closed: | 2022-11-08 09:17:10 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
Ameya Patil
2021-12-05 02:00:06 UTC
After a consultation with a team (Vendy) we might have a solution. The current problem is that the Anaconda "new" solution is taking kickstart data separate from the custom partitioning. So, before custom partitioning asked you for password because it was a requirement to continue. Now the custom partitioning is empty (because it doesn't share data with kickstart) so it will not ask. Our proposed solution is to add a new radio button with "kickstarted" (or similar name) option to the Storage spoke which would then ask you for the password there if not provided. This new radio button will be there only if Anaconda is booted with a kickstart file. The side benefit is that it makes obvious to a users that the configuration is not shared between "kickstarted" and "Custom Partitioning". We can also give users a possibility to return to the kickstart configuration in case when the user will change their mind after switching to something else (e.g. "Custom Partitioning"). Proposing this for next minor planing. Jirko, the proposed solution would add the "kickstarted" button every time a kickstart installation is running? Or just when a passphrase for LUKS devices is missing in the kickstart file? Having the "kickstarted" button with every kickstart installation would be very confusing for users running an interactive installation with a kickstart file defining for example just a liveimg installation source (RHVH). Hi, the new radio button should be there only if the kickstart file defines a custom partitioning using the reqpart, part, logvol, volgroup, raid and mount(?) commands. Otherwise, it is an automated partitioning and we already have a radio button for that. OK, I need more data to understand the proposal. 1) Let's say I have a kickstart file with a missing passphrase: part /boot --size=500 part swap --fstype=swap --recommended part / --grow --size=2048 --encrypted What will happen after I select the "kickstarted" button on the storage screen? I can think of two options: * anaconda will simply ask for the missing passphrase and nothing more. * anaconda will enter the custom partitioning screen with the partitioning layout defined in the kickstart file and asks me for the passphrase when leaving the screen (the user might be (or not) able to do additional partitioning changes). 2) I have a kickstart file with an incomplete partitioning: part /boot --size=500 part swap --fstype=swap --recommended #part / --grow --size=2048 What would happen in such a case after selecting the "kickstarted" button? rhel-9 clone: bug 2087218 Checked that anaconda-33.16.7.5-1.el8 is in nightly compose RHEL-8.7.0-20220619.0 Moving to VERIFIED *** Bug 1942574 has been marked as a duplicate of this bug. *** 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 (anaconda bug fix and enhancement update), 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-2022:7462 |