Bug 1214628 - Resizing existing partition can effectively crash installer
Summary: Resizing existing partition can effectively crash installer
Keywords:
Status: CLOSED DUPLICATE of bug 1211746
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-23 09:14 UTC by Nick Coghlan
Modified: 2015-04-23 12:28 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-04-23 12:28:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Nick Coghlan 2015-04-23 09:14:09 UTC
Description of problem:

Installing F22 Beta from a LiveUSB, I need to resize an existing Windows NTFS partition to make room. Anaconda doesn't provide much guidance on this, so I guessed at reducing the 460 GB partition to 20 GB. This failed with a traceback saying the minimum size for that partition was 24 GB. However, the only options were to report the traceback as a bug (which failed due to a lack of network connectivity, which the installer only told me *after* I had already gone through the process of preparing the bug report, and then gave me no way to save the results) or to quit the installation process entirely.

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

http://download.fedoraproject.org/pub/fedora/linux/releases/test/22_Beta/Workstation/x86_64/iso/Fedora-Live-Workstation-x86_64-22_Beta-3.iso

How reproducible:

Given the failure mode, I'd expect always.

Steps to Reproduce:
1. Use the LiveUSB to install Fedora onto a system with existing partitions
2. Attempting to resize one of those partitions to a tiny value (e.g. 1 GB)

Actual results:

Unhandled Python exception as blivet complains the value is outside the permitted range.

Expected results:

Preferred: the UI prevalidates the data, making it impossible to enter an invalid value (e.g. using a slider from the minimum to maximum partition sizes)

Minimal fix: the UI intercepts the exception, reports that the requested value is too small, and sets it to the minimum valid value, rather than crashing out of the installation process entirely.


Additional info:

Comment 1 mulhern 2015-04-23 12:28:26 UTC

*** This bug has been marked as a duplicate of bug 1211746 ***


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