Bug 593754 - PartitionException: Extended partitions cannot be hidden on msdos disk labels.
Summary: PartitionException: Extended partitions cannot be hidden on msdos disk labels.
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda
Version: 6.0
Hardware: x86_64
OS: Linux
Target Milestone: rc
: ---
Assignee: Hans de Goede
QA Contact: Release Test Team
Whiteboard: anaconda_trace_hash:dfacaa53651c4bd0f...
Depends On:
Blocks: 582286
TreeView+ depends on / blocked
Reported: 2010-05-19 16:08 UTC by Alexander Todorov
Modified: 2010-07-02 20:49 UTC (History)
1 user (show)

Fixed In Version: anaconda-13.21.50-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-07-02 20:49:50 UTC
Target Upstream Version:

Attachments (Terms of Use)
Attached traceback automatically from anaconda. (281.04 KB, text/plain)
2010-05-19 16:09 UTC, Alexander Todorov
no flags Details

Description Alexander Todorov 2010-05-19 16:08:56 UTC
The following was filed automatically by anaconda:
anaconda 13.21.39 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.6/site-packages/parted/partition.py", line 161, in unsetFlag
    return self.__partition.set_flag(flag, 0)
  File "/usr/lib64/python2.6/site-packages/parted/decorators.py", line 31, in localeC
    ret = fn(*args, **kwds)
  File "<string>", line 2, in unsetFlag
  File "/usr/lib/anaconda/storage/devices.py", line 1232, in unsetFlag
  File "/usr/lib/anaconda/storage/deviceaction.py", line 276, in execute
  File "/usr/lib/anaconda/storage/devicetree.py", line 693, in processActions
  File "/usr/lib/anaconda/storage/__init__.py", line 292, in doIt
  File "/usr/lib/anaconda/packages.py", line 109, in turnOnFilesystems
  File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 126, in gotoNext
  File "/usr/lib/anaconda/gui.py", line 1260, in nextClicked
  File "/usr/lib/anaconda/gui.py", line 1398, in keyRelease
PartitionException: Extended partitions cannot be hidden on msdos disk labels.

Comment 1 Alexander Todorov 2010-05-19 16:09:02 UTC
Created attachment 415183 [details]
Attached traceback automatically from anaconda.

Comment 2 Alexander Todorov 2010-05-19 16:13:06 UTC
I've created the following disk layout:

/dev/vda1 - /boot, ext4
/dev/vda2 - swap
/dev/vda3 - /home, ext4
/dev/vda4 - extended
  /dev/vda5 - /, ext4

Then selected the extended partition and clicked Edit. It was showing fstype: ext4, size 1. I've changed the fstype to xfs, pressed OK and continued to write changes on disk. Then anaconda spew this traceback.

Should the user be able to edit an extended partition? (I think not).

Comment 3 Hans de Goede 2010-05-20 15:02:45 UTC

Thanks for the report, and thanks for the hint that this is caused by editing extended partitions indeed that should not be allowed.



Comment 4 Hans de Goede 2010-05-20 15:05:24 UTC

I see that you've taken this one, I've just send a patch for that to the list, I've even tested it :)

I guess I should have taken this bug before started working on it.



Comment 5 Hans de Goede 2010-05-31 12:51:58 UTC
This is fixed in anaconda-13.21.50-1, moving to modified.

Comment 7 Alexander Todorov 2010-06-29 10:33:32 UTC
with anaconda-13.21.50-9 it's not possible to edit the extended partition. Moving to VERIFIED.

Comment 8 releng-rhel@redhat.com 2010-07-02 20:49:50 UTC
Red Hat Enterprise Linux Beta 2 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.

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