Bug 603000
| Summary: | part-get-bootable gives wrong result with an unordered part layout | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Jinxin Zheng <jzheng> |
| Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 6.2 | CC: | llim, mbooth, mshao, virt-maint |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | libguestfs-1.7.17-23.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 602997 | Environment: | |
| Last Closed: | 2011-12-06 10:41:58 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: | 602997 | ||
| Bug Blocks: | |||
|
Comment 2
RHEL Program Management
2010-06-11 08:43:05 UTC
Unlikely to be fixed for 6.0 because any patch will be far too invasive and risky. Will try to get a fix in 6.1 instead. This is not going to be fixed for 6.1. Will try for 6.2. Not yet fixed upstream, but worth fixing this for 6.2. Setting dev-ack+ Fixed upstream in the following commit: http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=511c82df46f5c6f4a7f984fdb81d4691038ed6da Fixed in libguestfs-1.7.17-23.el6 Script verifying this bug: guestfish <<EOF sparse test1.img 100M run part-init /dev/sda mbr part-add /dev/sda p 1001 2000 part-add /dev/sda p 1 1000 part-set-bootable /dev/sda 1 1 part-get-bootable /dev/sda 1 part-get-bootable /dev/sda 2 EOF guestfish <<EOF sparse test2.img 100M run part-init /dev/sda mbr part-add /dev/sda p 1 1000 part-add /dev/sda p 1001 2000 part-add /dev/sda p 2001 3000 part-del /dev/sda 2 part-get-bootable /dev/sda 3 EOF libguestfs-1.7.17-19: the output is false true libguestfs: error: unexpected end of file when reading from daemon libguestfs-1.7.17-26: true false false Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1512.html |