RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 593754 - PartitionException: Extended partitions cannot be hidden on msdos disk labels.
Summary: PartitionException: Extended partitions cannot be hidden on msdos disk labels.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda
Version: 6.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Hans de Goede
QA Contact: Release Test Team
URL:
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:
Environment:
Last Closed: 2010-07-02 20:49:50 UTC
Target Upstream Version:
Embargoed:


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
    self.partedPartition.unsetFlag(flag)
  File "/usr/lib/anaconda/storage/deviceaction.py", line 276, in execute
    self.device.unsetFlag(flag)
  File "/usr/lib/anaconda/storage/devicetree.py", line 693, in processActions
    action.execute(intf=self.intf)
  File "/usr/lib/anaconda/storage/__init__.py", line 292, in doIt
    self.devicetree.processActions()
  File "/usr/lib/anaconda/packages.py", line 109, in turnOnFilesystems
    anaconda.id.storage.doIt()
  File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 126, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/gui.py", line 1260, in nextClicked
    self.anaconda.dispatch.gotoNext()
  File "/usr/lib/anaconda/gui.py", line 1398, in keyRelease
    self.nextClicked()
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
Hi,

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

Regards,

Hans

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

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.

Regards,

Hans

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.