Red Hat Bugzilla – Bug 164987
sfdisk buffer overflow
Last modified: 2007-11-30 17:11:11 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050719 Fedora/1.7.10-1.5.1
Description of problem:
I used the sfdisk from the rescue CD.
When I try to partition a disk with "sfdisk /dev/sda < /mnt/usb/sda.part" from a file I had previously written with "sfdisk -d /dev/sda > sda.part" I get a "buffer overlow" error. See above URL for details.
Version-Release number of selected component (if applicable):
sfdisk 3.08 / util-linux-2.12p
Steps to Reproduce:
1. Boot from rescue CD
2. Dump partition table into file with "sfdisk -d /dev/sda > sda.part"
3. Partition disk with "sfdisk /dev/sda < sda.part"
Actual Results: Buffer overflow error
Expected Results: Partition hard disk
Please, I need exact package version: rpm -q util-linux
It seems like bug #159418 that should be fixed in >= util-linux-2.12p-9.5
"rpm -q util-linux" does not make any sense on the rescue CD.
"sfdisk /dev/sda < sda.part" works fine with a sfdisk that I linked statically
It does work with a normally linked sfdisk from util-linux-2.12p-9.7, too.
But this does not help when using the rescue CD.
We don't update stage2 images after GA release. So I cannot help you. Closing
with status NEXTRELEASE. Sorry.