RHBA-2015:2309
The parted packages provide utilities to create, destroy, resize, move, and copy hard disk partitions. The parted program can be used for creating space for new operating systems, reorganizing disk usage, and copying data to new hard disks. This update fixes the following bugs: * Previously, the parted program used the device's sector size when creating partitions using the device-mapper library. As a consequence, the partitions were created smaller than expected. With this update, parted uses 512 byte sector size when communicating with device-mapper to create partitions, and the created partitions are the correct size. (BZ#1188431) * When a logical partition was created one sector past the start of the extended partition, the parted program generated an error about notifying the kernel. With this update, logical partitions can start one sector after the extended partition, and no errors are generated. (BZ#1212323) * The udev rules are triggered by closing a file descriptor opened for writing. Previously, when these rules subsequently opened a device, a race condition could occur between re-opening the device and the udev commands. Consequently, the parted program was not able to inform the kernel about the changes. Now, the device is opened as read-only and the udev rules are triggered only when parted exits. Note that when running the parted commands sequentially from a script, there is still a chance that the race condition occurs, which should be taken into consideration when writing scripts using parted. (BZ#1245144) Users of parted are advised to upgrade to these updated packages, which fix these bugs.
Evidence and freshness
Last supporting evidence check: 2026-11-27T23:33:29.885Z UTC
Upstream Advisory
Affected Packages
parted 3.1-23.el7
parted-devel 3.1-23.el7