Bug 1009349

Summary: Joking sfdisk rewriting PT after "n"
Product: Red Hat Enterprise Linux 7 Reporter: Filip Kocina <fkocina>
Component: util-linuxAssignee: Karel Zak <kzak>
Status: CLOSED CURRENTRELEASE QA Contact: Juraj Marko <jmarko>
Severity: high Docs Contact:
Priority: high    
Version: 7.0CC: jonathan, jscotka, kzak, mluscon, nlevinki, pknirsch
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: util-linux-2.23.2-6.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1009345 Environment:
Last Closed: 2014-06-13 13:18:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1009345    
Bug Blocks:    

Description Filip Kocina 2013-09-18 09:17:11 UTC
+++ This bug was initially created as a clone of Bug #1009345 +++

Description of problem:
Command sfdisk has switched "yes" and "no".

Version-Release number of selected component (if applicable):
util-linux-2.23.2-5.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1. dd if=/dev/zero of=image.iso count=1
2. sfdisk image.iso
3. 4 times ENTER and "n"

Actual results:
It rewrites the partition table.

Expected results:
It doesn't rewrite the partition table.

Additional info:
Wrong commit: http://www.spinics.net/lists/util-linux-ng/msg05818.html

Comment 2 Filip Kocina 2013-09-18 09:21:19 UTC
Patch is https://bugzilla.redhat.com/attachment.cgi?id=799226

Comment 6 Ludek Smid 2014-06-13 13:18:05 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.