- Issued:
- 2012-02-20
- Updated:
- 2012-02-20
RHBA-2012:0192 - Bug Fix Advisory
Synopsis
parted bug fix update
Type/Severity
Bug Fix Advisory
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
An updated parted package that fixes several bugs is now available for Red Hat
Enterprise Linux 5.
Description
The GNU Parted program allows creating, destructing, resizing, moving, and
copying of hard disk partitions. Parted can be used to create space for new
operating systems, reorganizing disk usage, and copying data to new hard disks.
This update fixes the following bugs:
- Prior to this update, the parted utility did not handle the return value of
the dm_task_run() call correctly on device-mapper devices. As a consequence,
parted returned a 0 exit status even if an error occurred. The utility has been
modified and now correctly returns 1 if an error occurs. (BZ#582907)
- The mkpartfs command did not correctly handle partitions greater than 2
terabytes (TB) due to truncation of calculated block addresses. As a
consequence, mkpartfs terminated with an error message. With this update,
mkpartfs can now handle partitions greater than 2TB correctly. (BZ#584057)
- Prior to this update, parted incorrectly calculated the position of a new
partition if the size of the partition was 1 or smaller (for example 1GB,
0.5GB). This was due to the snap_to_boundaries() function which rounded the
endpoint of the partition down. As a result, an extremely small partition was
created. The source code has been modified and defining units smaller than 1 is
no longer allowed. The next smaller units should be used; for example, 500MB
instead of 0.5GB. The 0 value is still allowed when specifying the start of the
device. (BZ#623268)
- Previously, parted did not recognize more than 128 block devices. As a
consequence, the model item displayed "Unknown". This update adds support for
devices with major numbers in the range of 128 to 135 and the model name is now
displayed correctly. (BZ#675650)
All users of parted are advised to upgrade to this updated package, which fixes
these bugs.
Solution
Before applying this update, make sure all previously-released errata relevant
to your system have been applied.
This update is available via the Red Hat Network. Details on how to use the Red
Hat Network to apply this update are available at
https://access.redhat.com/kb/docs/DOC-11259
Affected Products
- Red Hat Enterprise Linux Server 5 x86_64
- Red Hat Enterprise Linux Server 5 ia64
- Red Hat Enterprise Linux Server 5 i386
- Red Hat Enterprise Linux Workstation 5 x86_64
- Red Hat Enterprise Linux Workstation 5 i386
- Red Hat Enterprise Linux Desktop 5 x86_64
- Red Hat Enterprise Linux Desktop 5 i386
- Red Hat Enterprise Linux for IBM z Systems 5 s390x
- Red Hat Enterprise Linux for Power, big endian 5 ppc
- Red Hat Enterprise Linux Server from RHUI 5 x86_64
- Red Hat Enterprise Linux Server from RHUI 5 i386
Fixes
- BZ - 582907 - [RHEL-5] Parted & partprobe return zero(success) status even under error conditions
- BZ - 584057 - [RHEL-5] parted mkpartfs command does not handle partition >2TB
- BZ - 623268 - Parted command improperly rounds 1GB partitions
CVEs
(none)
References
(none)
Red Hat Enterprise Linux Server 5
SRPM | |
---|---|
parted-1.8.1-29.el5.src.rpm | SHA-256: 186e14aede000752b33b3cbc56827146a9dbeded7f1112577aac931e5a05b5f3 |
x86_64 | |
parted-1.8.1-29.el5.i386.rpm | SHA-256: 32e91924695884ebd378cda0d042096de114f1e575f15fb098c7d058e85831f0 |
parted-1.8.1-29.el5.x86_64.rpm | SHA-256: d7765ed3fdbc2c0d0999002cfbdb5b26591485b16d38dc4f638c6789e0ab9b3c |
parted-devel-1.8.1-29.el5.i386.rpm | SHA-256: 5a2bce8e32857bf0db86f7ba12cf9f788eb9bdbb62e5b14c2b67bad965215784 |
parted-devel-1.8.1-29.el5.x86_64.rpm | SHA-256: fa2e58ff01223452e340d74694b8696ec01d61ddab93cdbd97c138becbb18651 |
ia64 | |
parted-1.8.1-29.el5.ia64.rpm | SHA-256: 33a5c9ac802f4d67823f705687d474f8136903497992db7801e4347a6524abc3 |
parted-devel-1.8.1-29.el5.ia64.rpm | SHA-256: 72e2511b90d7046a72ba6b019da4ae6ddaf445d259ec4669984b7be97b7f2ecf |
i386 | |
parted-1.8.1-29.el5.i386.rpm | SHA-256: 32e91924695884ebd378cda0d042096de114f1e575f15fb098c7d058e85831f0 |
parted-devel-1.8.1-29.el5.i386.rpm | SHA-256: 5a2bce8e32857bf0db86f7ba12cf9f788eb9bdbb62e5b14c2b67bad965215784 |
Red Hat Enterprise Linux Workstation 5
SRPM | |
---|---|
parted-1.8.1-29.el5.src.rpm | SHA-256: 186e14aede000752b33b3cbc56827146a9dbeded7f1112577aac931e5a05b5f3 |
x86_64 | |
parted-1.8.1-29.el5.i386.rpm | SHA-256: 32e91924695884ebd378cda0d042096de114f1e575f15fb098c7d058e85831f0 |
parted-1.8.1-29.el5.x86_64.rpm | SHA-256: d7765ed3fdbc2c0d0999002cfbdb5b26591485b16d38dc4f638c6789e0ab9b3c |
parted-devel-1.8.1-29.el5.i386.rpm | SHA-256: 5a2bce8e32857bf0db86f7ba12cf9f788eb9bdbb62e5b14c2b67bad965215784 |
parted-devel-1.8.1-29.el5.x86_64.rpm | SHA-256: fa2e58ff01223452e340d74694b8696ec01d61ddab93cdbd97c138becbb18651 |
i386 | |
parted-1.8.1-29.el5.i386.rpm | SHA-256: 32e91924695884ebd378cda0d042096de114f1e575f15fb098c7d058e85831f0 |
parted-devel-1.8.1-29.el5.i386.rpm | SHA-256: 5a2bce8e32857bf0db86f7ba12cf9f788eb9bdbb62e5b14c2b67bad965215784 |
Red Hat Enterprise Linux Desktop 5
SRPM | |
---|---|
parted-1.8.1-29.el5.src.rpm | SHA-256: 186e14aede000752b33b3cbc56827146a9dbeded7f1112577aac931e5a05b5f3 |
x86_64 | |
parted-1.8.1-29.el5.i386.rpm | SHA-256: 32e91924695884ebd378cda0d042096de114f1e575f15fb098c7d058e85831f0 |
parted-1.8.1-29.el5.x86_64.rpm | SHA-256: d7765ed3fdbc2c0d0999002cfbdb5b26591485b16d38dc4f638c6789e0ab9b3c |
i386 | |
parted-1.8.1-29.el5.i386.rpm | SHA-256: 32e91924695884ebd378cda0d042096de114f1e575f15fb098c7d058e85831f0 |
Red Hat Enterprise Linux for IBM z Systems 5
SRPM | |
---|---|
parted-1.8.1-29.el5.src.rpm | SHA-256: 186e14aede000752b33b3cbc56827146a9dbeded7f1112577aac931e5a05b5f3 |
s390x | |
parted-1.8.1-29.el5.s390.rpm | SHA-256: 4f37b7ad3c1b8b71d850378b323b255c20bb7775f56e97137d720be96c3fda6d |
parted-1.8.1-29.el5.s390x.rpm | SHA-256: e0a196207c3144393bbccbdea396d940ea9f6abf90a9a09a443b59d0455cd2ed |
parted-devel-1.8.1-29.el5.s390.rpm | SHA-256: 9c19d7f5fd75757a217253348ec1e3c444d69316ec2ad38c0c4f817d8bcb8452 |
parted-devel-1.8.1-29.el5.s390x.rpm | SHA-256: 7f75d2e87236df174521287a225628eddfb84fc622c5ee956fac1fb05c8fe8cf |
Red Hat Enterprise Linux for Power, big endian 5
SRPM | |
---|---|
parted-1.8.1-29.el5.src.rpm | SHA-256: 186e14aede000752b33b3cbc56827146a9dbeded7f1112577aac931e5a05b5f3 |
ppc | |
parted-1.8.1-29.el5.ppc.rpm | SHA-256: 5c1cf003e6084c9d7805e3c60fabc284b1c8740dedb707f1398411ca82ee0bc4 |
parted-1.8.1-29.el5.ppc64.rpm | SHA-256: 0d4dae293a1d3c53957d6e1aaa2dd625267ad6083303d08f662d78c511080a50 |
parted-devel-1.8.1-29.el5.ppc.rpm | SHA-256: 6b34115a4bca3b7753c8f464bfbbb90fb0e5ba534abe7ad4b95a29ba604e941c |
parted-devel-1.8.1-29.el5.ppc64.rpm | SHA-256: 75dc5e3fb91a3c0563601b3628a38512baef5de1035af49c473a1f204f662d07 |
Red Hat Enterprise Linux Server from RHUI 5
SRPM | |
---|---|
parted-1.8.1-29.el5.src.rpm | SHA-256: 186e14aede000752b33b3cbc56827146a9dbeded7f1112577aac931e5a05b5f3 |
x86_64 | |
parted-1.8.1-29.el5.i386.rpm | SHA-256: 32e91924695884ebd378cda0d042096de114f1e575f15fb098c7d058e85831f0 |
parted-1.8.1-29.el5.x86_64.rpm | SHA-256: d7765ed3fdbc2c0d0999002cfbdb5b26591485b16d38dc4f638c6789e0ab9b3c |
parted-devel-1.8.1-29.el5.i386.rpm | SHA-256: 5a2bce8e32857bf0db86f7ba12cf9f788eb9bdbb62e5b14c2b67bad965215784 |
parted-devel-1.8.1-29.el5.x86_64.rpm | SHA-256: fa2e58ff01223452e340d74694b8696ec01d61ddab93cdbd97c138becbb18651 |
i386 | |
parted-1.8.1-29.el5.i386.rpm | SHA-256: 32e91924695884ebd378cda0d042096de114f1e575f15fb098c7d058e85831f0 |
parted-devel-1.8.1-29.el5.i386.rpm | SHA-256: 5a2bce8e32857bf0db86f7ba12cf9f788eb9bdbb62e5b14c2b67bad965215784 |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.