Bug 2239836

Summary: [webui] Do not allow to redefine required mount points
Product: [Fedora] Fedora Reporter: Jan Stodola <jstodola>
Component: anacondaAssignee: Katerina Koukiou <kkoukiou>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: anaconda-maint, kkoukiou, vslavik, w
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: anaconda-40.7-1.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-10-19 08:39:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2231339    
Attachments:
Description Flags
screencast none

Description Jan Stodola 2023-09-20 12:40:41 UTC
The "Mount point assignment" screen allows to redefine the "Required" mount points as "Custom" by assigning them a block device formatted as swap.

Reproducible: Always

Steps to Reproduce:
1. Have a disk with XFS and swap partitions.
2. Start installation, proceed to the "Mount point assignment" screen.
3. Select the disk device with swap for one of the required mount points.
Actual Results:  
The mount point becomes "Custom" with "swap" set as the mount point.

Expected Results:  
It should not be possible to change mount points for the required items.

Comment 1 Jan Stodola 2023-09-20 12:41:44 UTC
Created attachment 1989698 [details]
screencast

Comment 2 Katerina Koukiou 2023-09-25 15:37:27 UTC
https://github.com/rhinstaller/anaconda/pull/5201