Issued:
2012-02-20
Updated:
2012-02-20

RHBA-2012:0192 - parted bug fix update


Synopsis

parted bug fix update

Type/Severity

Bug Fix Advisory (none)

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 This content is not included.https://access.redhat.com/kb/docs/DOC-11259

Affected Products

ProductVersionArch
Red Hat Enterprise Linux for Power, big endian5ppc
Red Hat Enterprise Linux for IBM z Systems5s390x
Red Hat Enterprise Linux Workstation5x86_64
Red Hat Enterprise Linux Workstation5i386
Red Hat Enterprise Linux Server5x86_64
Red Hat Enterprise Linux Server5ia64
Red Hat Enterprise Linux Server5i386
Red Hat Enterprise Linux Server from RHUI5x86_64
Red Hat Enterprise Linux Server from RHUI5i386
Red Hat Enterprise Linux Desktop5x86_64
Red Hat Enterprise Linux Desktop5i386

Updated Packages

  • parted-1.8.1-29.el5.src.rpm
  • parted-1.8.1-29.el5.i386.rpm
  • parted-1.8.1-29.el5.s390x.rpm
  • parted-devel-1.8.1-29.el5.ppc.rpm
  • parted-devel-1.8.1-29.el5.s390.rpm
  • parted-devel-1.8.1-29.el5.s390x.rpm
  • parted-1.8.1-29.el5.x86_64.rpm
  • parted-1.8.1-29.el5.ppc64.rpm
  • parted-devel-1.8.1-29.el5.x86_64.rpm
  • parted-1.8.1-29.el5.ppc.rpm
  • parted-devel-1.8.1-29.el5.i386.rpm
  • parted-devel-1.8.1-29.el5.ppc64.rpm
  • parted-devel-1.8.1-29.el5.ia64.rpm
  • parted-1.8.1-29.el5.s390.rpm
  • parted-1.8.1-29.el5.ia64.rpm

Fixes

CVEs

(none)

References

(none)


Additional information