Bug 102056

Summary: devlabel must be run twice to add symlink for USB hard drive
Product: Red Hat Enterprise Linux 3 Reporter: Chris Runge <crunge>
Component: devlabelAssignee: Bill Nottingham <notting>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 18:58:04 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 Chris Runge 2003-08-10 01:49:11 UTC
Description of problem:

I have a USB hard drive connected to a Cardbus USB 2 card. When I try to use
devlabel to add a symlink for the device in question (/dev/sda1), it is
necessary to run the command twice. The first time it complains that it can't
see the device in /proc/partitions. e.g.,

# /sbin/devlabel add -s /dev/firelite -d /dev/sda1
 
Failure.
The device you are trying to add to devlabel does not show up in
/proc/partitions.

# /sbin/devlabel add -s /dev/firelite -d /dev/sda1
SYMLINK: /dev/firelite -> /dev/sda1
Added /dev/firelite to /etc/sysconfig/devlabel


Version-Release number of selected component (if applicable):

devlabel-0.41.01-1

How reproducible:

100% reproducible if USB hard drive has not yet been mounted

Comment 1 Bill Nottingham 2003-08-11 03:01:02 UTC
Odd, devlabel should be getting run by hotplug anyway.

Comment 2 Bill Nottingham 2005-01-21 23:14:35 UTC

*** This bug has been marked as a duplicate of 144537 ***

Comment 3 Red Hat Bugzilla 2006-02-21 18:58:04 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.