Bug 186412

Summary: Anaconda crashes on zero size LVM members
Product: [Fedora] Fedora Reporter: bob mckay <urilabob>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: high Docs Contact:
Priority: medium    
Version: 5   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-05-25 15:27:38 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: 150224    

Description bob mckay 2006-03-23 13:58:03 UTC
Description of problem:
If you specify an LVM size of less than one extent (dumb, I know, but us users _are_ dumb), 
anaconda quietly truncates this to zero size, accepts the partitioning, but then crashes (not 
surprisingly) when it tries to creat the partitioning.


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


How reproducible:
Always

Steps to Reproduce:
1. Select manual partitioning (or review automatic partitioning)
2. Use LVM
3. Create a member of size less than 1 extent
4. Complete installation
  
Actual results:
Anaconda crashes when it tries to create the logical volume

Expected results:
Anaconda warns of zero size LVM members (or better yet, rounds up for sizes less than 1 extent)

Additional info:

Comment 1 Jeremy Katz 2006-03-23 16:24:52 UTC
Heh, cute.  I'm somewhat surprised this hasn't been hit before as I'm sure it's
been around since the LVM code was added long ago.

We'll make sure to fix this for FC6, probably just by giving you a "you can't
create a LV < extent size" dialog

Comment 2 bob mckay 2006-03-24 00:47:49 UTC
I think this is one of the ways in which the bazaar social model fails in user support. Probably loads of 
people have hit the problem, but been too embarrassed to report it - somehow, reporting your own dumb 
mistake doesn't quite rate with fixing a bug deep in the kernel. Maybe, we need to find a way to celebrate 
us dummies, mcuh as the 'xxx for dummies' series does.

Comment 3 Chris Lumens 2006-05-25 15:27:38 UTC
Implemented Jeremy's suggestion that you not be allowed to create a logical
volume smaller than the extent size in Rawhide.