Bug 186412 - Anaconda crashes on zero size LVM members
Summary: Anaconda crashes on zero size LVM members
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 5
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks: FC6Blocker
TreeView+ depends on / blocked
 
Reported: 2006-03-23 13:58 UTC by bob mckay
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-05-25 15:27:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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