Bug 1819360 - Anaconda create LV filesystem encrypted on a VG already encrypted
Summary: Anaconda create LV filesystem encrypted on a VG already encrypted
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 32
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Vendula Poncova
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1823471 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-31 18:47 UTC by Dario Lesca
Modified: 2020-04-14 11:29 UTC (History)
10 users (show)

Fixed In Version: anaconda-32.24.5-1 anaconda-32.24.5-1.fc32
Clone Of:
Environment:
Last Closed: 2020-04-07 05:05:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
anaconda-ks.cfg + blkid.txt + fedora32-double-encrypt-2020-03-31_01.29.28.mkv + lsblk.txt (2.48 MB, application/zip)
2020-03-31 18:47 UTC, Dario Lesca
no flags Details
Anaconda logs (371.61 KB, application/gzip)
2020-04-01 13:49 UTC, Dario Lesca
no flags Details

Description Dario Lesca 2020-03-31 18:47:10 UTC
Created attachment 1675199 [details]
anaconda-ks.cfg  + blkid.txt + fedora32-double-encrypt-2020-03-31_01.29.28.mkv +  lsblk.txt

Description of problem:
When I do an custom storage configuration and I enable encrypt flag into VG, if I change some FS options, like fstype or volume lable and press Update Settting or change filesystem, anaconda add "luke-" before the LV device and create the filesystem on a LV device encrypted.   

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

Fedora-Workstation-Live-x86_64-32-20200328.n.0.iso

How reproducible:
Use a Custom layout partition, enable encryption into VG and change some filesystem option. 

Steps to Reproduce:
1. Seuto a Custom layout partition,
2. Enable encryption into VG
3. change some filesystem option and seehow the LV label under FS mount point

Actual results:
Anaconda  encrypt VG and LV 

Expected results:
Encrypt only VG 


Additional info:
See video attach

Comment 1 Chris Murphy 2020-03-31 19:12:07 UTC
Can you post the install logs from /var/log/anaconda? Separately attached: anaconda.log, program.log, and storage.log. These show the installer's logical decision making process and actions and is usually needed to figure out where the problem is happening. It's obvious not correct or intended to double encrypt like this. Thanks.

Comment 2 Dario Lesca 2020-04-01 13:49:30 UTC
Created attachment 1675412 [details]
Anaconda logs

Comment 3 Dario Lesca 2020-04-01 13:53:19 UTC
(In reply to Chris Murphy from comment #1)
> Can you post the install logs from /var/log/anaconda? Separately attached:
> anaconda.log, program.log, and storage.log. These show the installer's
> logical decision making process and actions and is usually needed to figure
> out where the problem is happening. It's obvious not correct or intended to
> double encrypt like this. Thanks.

IMHO:
Anaconda take a wrong decision because try to respect the external FS encrypt flag.
This flag into fedora 32 become blue, which means it's activated/deactivated ... but it cannot be deactivated
In previous version >32 this flag is enable but is grey (do not touch).
The colour blue/grey is the visible difference.
Hope this help

Comment 4 Vendula Poncova 2020-04-02 19:16:53 UTC
Fixed in a pull request: https://github.com/rhinstaller/anaconda/pull/2423

Comment 5 Fedora Update System 2020-04-03 13:59:05 UTC
FEDORA-2020-176362208a has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-176362208a

Comment 6 Fedora Update System 2020-04-04 06:17:04 UTC
FEDORA-2020-176362208a has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-176362208a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-176362208a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Dario Lesca 2020-04-04 12:50:07 UTC
I have test new version of anaconda 

sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-176362208a --refresh

and I confirm it work.

Good the '-' in the encryption FS flag.

Many thank to all

Comment 8 Jiri Konecny 2020-04-06 10:50:41 UTC
Thanks for testing this Dario!

Comment 9 Fedora Update System 2020-04-07 05:05:17 UTC
FEDORA-2020-176362208a has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2020-04-07 13:16:12 UTC
FEDORA-2020-176362208a has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Vendula Poncova 2020-04-14 11:29:46 UTC
*** Bug 1823471 has been marked as a duplicate of this bug. ***


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