Bug 287871 - bad udev rule
Summary: bad udev rule
Alias: None
Product: Fedora
Classification: Fedora
Component: openct
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2007-09-12 16:00 UTC by Harald Hoyer
Modified: 2007-11-30 22:12 UTC (History)
1 user (show)

Fixed In Version: 0.6.14-2.fc8
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-09-21 19:06:16 UTC
Type: ---

Attachments (Terms of Use)

Description Harald Hoyer 2007-09-12 16:00:48 UTC
# sleep for 100ms - the wait_for_sysfs might not be enough
PROGRAM="/bin/sleep 0.1"

This causes udev to sleep for _every_ usb "add" event... Are you sure this is

Comment 1 Ville Skyttä 2007-09-12 17:46:35 UTC
I'm not sure, but FWIW, Kay Sievers (udev upstream) has been involved with some
rule fixes for 0.6.14 (see NEWS).  Commenting the sleep out does not appear to
break anything on my F7 system though - tested with a USB Aladdin eToken.

Anyway, I'm about to orphan/look for new maintainers for the stack of smart card
related packages I maintain in Fedora (opensc, openct, pcsc-tools, pcsc-perl)
because the only thing I've used smart cards for in a while is in order to
maintain these packages.  Therefore I'd rather leave things like this bug report
to someone who actually uses the packages for something real.  Would you happen
to be interested in taking maintainership of openct or some of the others?

Comment 2 Harald Hoyer 2007-09-12 18:25:35 UTC
I do not use openct. Just installed all packages with udev rules and reviewed
them. Sorry...

Comment 3 Kay Sievers 2007-09-19 22:25:31 UTC
I just changed the script that finds the device to talk to, to support all
versions of usb device nodes. I didn't touch the rules.

I agree, it's not nice to have this sleep in there, and I don't know if it's
needed, or not maybe not needed anymore. Would be good to remove it and see if
it causes problems.

Comment 4 Ville Skyttä 2007-09-21 19:06:16 UTC
Ok, thanks for the clarification and opinion, Kay.  Done in 0.6.14-2.fc8.

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