Bug 583628

Summary: Add bindings for new libparted API to detect if a partition is a rescue partition
Product: [Fedora] Fedora Reporter: Hans de Goede <hdegoede>
Component: pypartedAssignee: Chris Lumens <clumens>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: dcantrell
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: pyparted-3.3-1.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-04-21 15:56:08 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: 583626    
Bug Blocks: 534066    
Attachments:
Description Flags
PATCH: Add support for new PED_PARTITION_DIAG flag none

Description Hans de Goede 2010-04-19 09:24:10 UTC
For details see bug 534066 and bug 583626. Note that this first needs to be actually implemented in libparted, which is bug 583626.

Comment 1 Hans de Goede 2010-04-19 12:13:23 UTC
Assigning this to clumens, as discussed in bug 534066.

Here are 2 parted build which have the new API (a new PED_PARTITION_DIAG) flag.
And I'll attach a patch fixing this. As the latest upstream parted release does not yet have this, it may be an idea to add this as a package CVs patch for now, so as to not make upstream pyparted not working with the latest upstream parted release:
http://koji.fedoraproject.org/koji/buildinfo?buildID=167796
http://koji.fedoraproject.org/koji/buildinfo?buildID=167792

Comment 2 Hans de Goede 2010-04-19 12:14:08 UTC
Created attachment 407578 [details]
PATCH: Add support for new PED_PARTITION_DIAG flag

Comment 3 Chris Lumens 2010-04-21 15:56:08 UTC
Pushed complete with test cases, will rebuild shortly.

Comment 4 Fedora Update System 2010-04-21 21:46:36 UTC
pyparted-3.3-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/pyparted-3.3-1.fc13

Comment 5 Fedora Update System 2010-04-27 05:46:43 UTC
pyparted-3.3-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.