Bug 491742
Summary: | custom partition leaves swap as type 83 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Eric Paris <eparis> | ||||
Component: | parted | Assignee: | Joel Andres Granados <jgranado> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | rawhide | CC: | jgranado, pjones, rmaximo, vanmeeuwen+fedora | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-03-26 14:57:34 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: | |||||||
Attachments: |
|
Description
Eric Paris
2009-03-23 19:56:32 UTC
I've verified that anaconda sets the parted.PARTITION_SWAP flag on the swap partition via pyparted and pyparted is calling libparted to set the PED_PARTITION_SWAP flag. The problem looks to be in libparted in the DOS disk label code. It never does anything with the PED_PARTITION_FLAG. The attached patch may solve the problem. Haven't tested it, but put it together to describe what I think the problem is. Reassigning to parted. Created attachment 336419 [details]
parted-1.8.8-dos-label-swap.patch
This will be available in the next parted version 1.8.8-15. parted 1.8.8-16 is the next version, sorry. |