Bug 176861

Summary: 'dmsetup version' should display driver version and not fail
Product: Red Hat Enterprise Linux 4 Reporter: Corey Marthaler <cmarthal>
Component: device-mapperAssignee: Alasdair Kergon <agk>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.3CC: agk, christophe.varoqui, dmo, egoggin, kanderso, lmb, tranlan
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2006-0099 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-03-07 18:42:39 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: 168430    

Description Corey Marthaler 2006-01-03 20:56:26 UTC
Description of problem:
[root@link-02 ~]# dmsetup version
Library version:   1.02.02 (2005-12-02)
Command failed

Version-Release number of selected component (if applicable):
[root@link-02 ~]# rpm -q device-mapper
device-mapper-1.02.02-1.0.RHEL4

How reproducible:
everytime

Comment 1 Alasdair Kergon 2006-01-03 22:07:41 UTC
An inverted error check after a function call - fixed upstream.

Comment 6 Corey Marthaler 2006-01-24 19:44:03 UTC
fix verified.

[root@link-01 ~]# dmsetup version
Library version:   1.02.02 (2006-01-04)
Driver version:    4.5.0


Comment 8 Red Hat Bugzilla 2006-03-07 18:42:39 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-0099.html