Bug 188488

Summary: RHEL3: "sfdisk -l" tries to open partitions
Product: Red Hat Enterprise Linux 3 Reporter: Bastien Nocera <bnocera>
Component: util-linuxAssignee: Karel Zak <kzak>
Status: CLOSED ERRATA QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: tao
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2006-0456 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-07-20 14:48:07 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:
Bug Depends On:    
Bug Blocks: 181405    
Attachments:
Description Flags
util-linux-sfdisk-dont-open-partitions.patch none

Description Bastien Nocera 2006-04-10 15:54:14 UTC
Doing an "sfdisk -l" will try to open partitions as if they were disks, and fail
to read the partition table.

Patch attached. It makes use of the same is_probably_full_disk() as fdisk.

Comment 1 Bastien Nocera 2006-04-10 15:54:17 UTC
Created attachment 127554 [details]
util-linux-sfdisk-dont-open-partitions.patch

Comment 9 Red Hat Bugzilla 2006-07-20 14:48:07 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2006-0456.html