Bug 201422 - 05-udev-early.rules needs rule
Summary: 05-udev-early.rules needs rule
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: udev
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: FC6Blocker
TreeView+ depends on / blocked
 
Reported: 2006-08-05 02:29 UTC by David Zeuthen
Modified: 2013-03-06 03:46 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-08-07 14:41:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Zeuthen 2006-08-05 02:29:57 UTC
05-udev-early.rules needs

 ACTION=="add", SUBSYSTEM=="scsi", WAIT_FOR_SYSFS="ioerr_cnt"                    

otherwise events are sent to HAL too quickly and HAL will fail trying to read
missing files and users won't get automounted their USB storage devices.

This was in here earlier, not sure why it was removed?

udev-095-3

Comment 1 Harald Hoyer 2006-08-07 09:56:39 UTC
could this rule be made more specific? I am not sure if every 'ACTION=="add",
SUBSYSTEM=="scsi"' results in a "ioerr_cnt" sysfs file.

Comment 2 David Zeuthen 2006-08-07 14:40:02 UTC
Indeed ioerr_cnt will always be added and we specifically want to wait for that
file as it's the last one added, see

http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;h=e7fe565b96de93ffb5354d4c86d36dfd46410806;hb=9f737633e6ee54fc174282d49b2559bd2208391d;f=drivers/scsi/scsi_sysfs.c

All the other distros are also using that rule - just checked with Kay Sievers
on IRC channel #hal on freenode. Thanks.


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