Package: pcsc-omnikey
Version: 1:2-3
Severity: important

The file /etc/udev/rules.d/z98_omnikey.rules, which is 
inserted from the original ifdokccid package from omnikey
has errors. These cause the following output:

tail -f /var/log/syslog
Apr 22 15:41:32 luzifer udevd[1583]: add_to_rules: invalid ATTRS operation
Apr 22 15:41:32 luzifer udevd[1583]: add_to_rules: invalid rule 
'/etc/udev/rules.d/z98_omnikey.rules:2'
...
Apr 22 15:41:32 luzifer udevd[1583]: add_to_rules: invalid ATTRS operation
Apr 22 15:41:32 luzifer udevd[1583]: add_to_rules: invalid rule 
'/etc/udev/rules.d/z98_omnikey.rules:15'

The problem is the usage of
 SYSFS{idVendor}=="...", SYSFS{idProduct}="..."
instead of 
 ATTRS{idVendor}=="...", ATTRS{idProduct}=="..."
in each rule.

After modifying the lines with
 sed -i -e 's/SYSFS/ATTRS/g' -e 's/idProduct}="/idProduct}=="/g' 
/etc/udev/rules.d/z98_omnikey.rules
udev restart pcscd as expected after inserting a new reader.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (300, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages pcsc-omnikey depends on:
ii  libc6                        2.7-5       GNU C Library: Shared libraries
ii  libpcsclite1                 1.4.100-3   Middleware to access a smart card 
ii  libusb-0.1-4                 2:0.1.12-10 userspace USB programming library
ii  pcscd                        1.4.100-3   Middleware to access a smart card 
ii  udev                         0.114-2     /dev/ and hotplug management daemo



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to