Marco d'Itri schrieb:
> Unless the rules file is buggy for some reason then surely the rule is
> not ignored, you can verify this by appending ", RUN+="/bin/touch /dev/xxx"
> to it.

That works fine. touch gets executed, but the device node is still owned
by root:root instead of root:chipcard. Just to be sure, I replaced
"chipcard" with "117" in /etc/udev/libchipcard.rules, but still it goes
to root:root at reboot.

> I am almost sure that this is not an udev bug, but right now I do not
> know what's wrong with your system.

It's a rather fresh lenny install with no manual changes to udev. Please
let me know what else I can send you.

ls -laR /etc/udev/
/etc/udev/:
total 112
drwxr-xr-x   4 root root  4096 Dec 31 03:28 .
drwxr-xr-x 112 root root  4096 Dec 31 03:20 ..
drwxr-xr-x   2 root root  4096 Sep 19 03:23 .dev
-rw-r--r--   1 root root    68 Jun 25  2008 alsa-utils.rules
-rw-r--r--   1 root root    92 Sep  5 12:39 hdparm.rules
-rw-r--r--   1 root root  3409 Dec 31 03:28 libchipcard.rules
-rw-r--r--   1 root root 64483 Dec 16 00:38 libgphoto2.rules
-rw-r--r--   1 root root   397 Sep 19 03:23 links.conf
-rw-r--r--   1 root root  1502 Aug  1 14:25 logitechmouse.rules
-rw-r--r--   1 root root   949 Aug 19  2007 pcmcia.rules
drwxr-xr-x   2 root root  4096 Dec 24 13:42 rules.d
-rw-r--r--   1 root root   269 Sep 19 03:23 udev.conf

/etc/udev/.dev:
total 8
drwxr-xr-x 2 root root 4096 Sep 19 03:23 .
drwxr-xr-x 4 root root 4096 Dec 31 03:28 ..

/etc/udev/rules.d:
total 168
drwxr-xr-x 2 root root  4096 Dec 24 13:42 .
drwxr-xr-x 4 root root  4096 Dec 31 03:28 ..
lrwxrwxrwx 1 root root    20 Dec 24 13:42 025_libchipcard.rules ->
../libchipcard.rules
lrwxrwxrwx 1 root root    19 Dec 16 00:38 025_libgphoto2.rules ->
../libgphoto2.rules
lrwxrwxrwx 1 root root    22 Dec 16 00:38 025_logitechmouse.rules ->
../logitechmouse.rules
-rw-r--r-- 1 root root  3586 Sep 19 03:23 50-udev.rules
-rw-r--r-- 1 root root  1543 Sep 19 03:23 60-persistent-input.rules
-rw-r--r-- 1 root root  1582 Sep 19 03:23 60-persistent-storage-tape.rules
-rw-r--r-- 1 root root  4554 Sep 19 03:23 60-persistent-storage.rules
-rw-r--r-- 1 root root   523 Sep 19 03:23 60-persistent-v4l.rules
-rw-r--r-- 1 root root  1137 Oct  1 16:33 65_dmsetup.rules
-rw-r--r-- 1 root root   700 Dec 15 21:58 70-persistent-cd.rules
-rw-r--r-- 1 root root   702 Dec 15 22:05 70-persistent-net.rules
-rw-r--r-- 1 root root   452 Sep 19 03:23 75-cd-aliases-generator.rules
-rw-r--r-- 1 root root  3083 Sep 19 03:23 75-persistent-net-generator.rules
-rw-r--r-- 1 root root  2282 Sep 19 03:23 80-drivers.rules
lrwxrwxrwx 1 root root    15 Dec 15 21:59 85-pcmcia.rules -> ../pcmcia.rules
-rw-r--r-- 1 root root    82 Oct 25 19:40 90-hal.rules
-rw-r--r-- 1 root root  4247 Sep 19 03:23 91-permissions.rules
-rw-r--r-- 1 root root   593 Sep 19 03:23 95-late.rules
lrwxrwxrwx 1 root root    19 Dec 16 00:11 z60_alsa-utils.rules ->
../alsa-utils.rules
lrwxrwxrwx 1 root root    15 Dec 15 23:57 z60_hdparm.rules ->
../hdparm.rules
-rw-r--r-- 1 root root  2656 Jun 15  2008 z60_libpisock9.rules
-rw-r--r-- 1 root root 14883 Oct 20 15:34 z60_libsane-extras.rules
-rw-r--r-- 1 root root 72908 Dec  9 16:21 z60_libsane.rules
-- 
Kevin Price
http://www.kevin-price.de/

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to