Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] udev and ignoring rules
Date: Mon, 21 May 2018 07:38:51
Message-Id: 20180521083836.287e7017@phoucgh.digimed.co.uk
In Reply to: [gentoo-user] udev and ignoring rules by Klaus Ethgen
1 On Sun, 20 May 2018 17:07:31 +0100, Klaus Ethgen wrote:
2
3 > I found a strange problem with udev and, in this case, pcscd.
4 >
5 > Installed versions:
6 > [IP-] [ ] sys-apps/pcsc-lite-1.8.22:0
7 > [IP-] [ ] sys-fs/eudev-3.2.5:0
8 > [IP-] [ ] virtual/udev-217:0
9 >
10 > - From /lib/udev/rules.d/99-pcscd-hotplug.rules, group should be set to
11 > pcscd. However, if I plug the device it gets set to group usb.
12 >
13 > That for its own is very strange as I found no error in the rule in that
14 > file:
15 > ACTION=="add", ENV{PCSCD}=="1", GROUP="pcscd", RUN+="/bin/env
16 > IN_HOTPLUG=1 /etc/init.d/pcscd --quiet start"
17
18 Do you haver another rule that matches, perhaps in /etc/udev/rules.d?
19 AFAIR udev stops at the first match.
20
21
22 --
23 Neil Bothwick
24
25 Someone who thinks logically is a nice contrast to the real world.