Bug 641169

Summary: cfdisk does not accept two-character partition type
Product: [Fedora] Fedora Reporter: Steve Tyler <stephent98>
Component: util-linux-ngAssignee: Karel Zak <kzak>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: kzak
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: util-linux-ng-2.18-4.3.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-18 05:46: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:

Description Steve Tyler 2010-10-07 22:12:03 UTC
Description of problem:
cfdisk will only accept one character for the partition type. The second character is not displayed at the prompt nor is it accepted.

Version-Release number of selected component (if applicable):
util-linux-ng-2.18-4.2.fc14.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. Create a new partition.
2. Select Type.
3. Enter "8f".
  
Actual results:
The "8" is accepted, but the "f" is ignored.
The partition type becomes "8", not "8f".
It appears that only one character can be entered.

Expected results:
Two-character partition type is accepted.

Additional info:
Tested in a VM.
Occurs with util-linux-ng-2.18-4.fc14.x86_64 too.
Does not occur in F13: 2.17.2-8.

Comment 1 Karel Zak 2010-10-07 23:30:53 UTC
Fixed in upstream, commit:
http://git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git;a=commitdiff;h=54a0fe298b4d6d948cffbd6fbbbe7dbabc9a6bb1

I'll backport it to Fedora ASAP.

Comment 2 Fedora Update System 2010-10-11 07:16:41 UTC
util-linux-ng-2.18-4.3.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/util-linux-ng-2.18-4.3.fc14

Comment 3 Fedora Update System 2010-10-12 02:39:07 UTC
util-linux-ng-2.18-4.3.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update util-linux-ng'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/util-linux-ng-2.18-4.3.fc14

Comment 4 Fedora Update System 2010-10-18 05:46:44 UTC
util-linux-ng-2.18-4.3.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.