Bug 127886 - Regex characters in devlabel uuids break things
Summary: Regex characters in devlabel uuids break things
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: devlabel
Version: 3.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Karel Zak
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-07-14 21:45 UTC by Brandon Black
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version: 0.48.03-6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-07-21 08:27:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Brandon Black 2004-07-14 21:45:05 UTC
Hitachi's 9980 enterprise storage arrays use the string
"HITACHIOPEN-V*10" as part of the scsi vendor id stuff.  As a result,
devlabel breaks when trying to use it on Hitachi 9980s, because the
version of devlabel included in RHEL3 is outdated and doesn't include
the fix for this issue:

Steps to Reproduce:
[root@marcelo2 redhat]# devlabel printid -d /dev/sda
S83.1:4849544143484920523435304139373330303141HITACHIOPEN-V*10
[root@marcelo2 redhat]# devlabel printid -d /dev/sda5
S83.1:4849544143484920523435304139373330303141HITACHIOPEN-V*10sector126-400018499
[root@marcelo2 redhat]# devlabel add -d /dev/sda5 -s /dev/hds_lun0_p5
 
Failure.
The device you are trying to add to devlabel does not show up in
/proc/partitions.
[root@marcelo2 redhat]# grep sda5 /proc/partitions
   8     5  200009187 sda5 56 288 688 30 0 0 0 0 0 30 30

This is the exact same bug as Bug# 113107, which was filed against
Fedora.  I only opened a new bug because this is RHEL not Fedora, and
it's 6 months down the road since that bug was last commented on (Gary
fixed devlabel itself, but RHEL is still using an outdated version
which doesn't have the fix), feel free to mark this as a dupe or
change that bug's product to RHEL, or whatever way is "correct" way to
handle that.

Comment 5 Karel Zak 2005-07-21 08:25:03 UTC
Hmm.. there was version update in RHEL3-U4 (see errata RHBA-2004:514) and this
problem has been fixed by upstream. It seems someone forgot close this report in
bugzilla.

3.0E  	        0.41.01-1
3.0E-U1 	0.42.05-2.1
3.0E-U4 	0.48.03-6
3.0E-U5 	0.48.03-10

It should be fixed in the current release. Closing...


Note You need to log in before you can comment on or make changes to this bug.