1 |
On 2014-09-25, Mike Gilbert <floppym@g.o> wrote: |
2 |
> On Thu, Sep 25, 2014 at 11:28 AM, Grant Edwards |
3 |
><grant.b.edwards@×××××.com> wrote: |
4 |
>> On 2014-09-25, Mike Gilbert <floppym@g.o> wrote: |
5 |
>>> On Wed, Sep 24, 2014 at 6:28 PM, Grant Edwards |
6 |
>>><grant.b.edwards@×××××.com> wrote: |
7 |
>>>> On 2014-09-24, Neil Bothwick <neil@××××××××××.uk> wrote: |
8 |
>>>>> On Wed, 24 Sep 2014 19:42:56 +0000 (UTC), Grant Edwards wrote: |
9 |
>>>>> |
10 |
>>>>>> After an update yesterday, I've noticed that the group assigned to |
11 |
>>>>>> ttyUSB devices has changed from uucp to root. Non-USB serial ports |
12 |
>>>>>> still seem to be uucp. |
13 |
>>>>> |
14 |
>>>>> What did you update? They are still root:uucp here. |
15 |
>>>> |
16 |
>>>> Several things got updated, but the most likely suspect is probably |
17 |
>>>> sys-fs/udev-215-r1 => sys-fs/udev-216. But, I don't see any changes |
18 |
>>>> in the default rules to account for the change in behavior. |
19 |
>>> |
20 |
>>> I'm running systemd-216, and I see this in |
21 |
>>> /lib/udev/rules.d/50-udev-default.rules: |
22 |
>>> |
23 |
>>> KERNEL=="tty[A-Z]*[0-9]|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*", |
24 |
>>> GROUP="uucp" |
25 |
|
26 |
The test trace shows that rule setting the group to 14 (uucp). |
27 |
|
28 |
>>> I suppose it is possible that some later rule overrides it, but I |
29 |
>>> don't see anything obvious. |
30 |
|
31 |
It appears to be overridden by |
32 |
|
33 |
/lib64/udev/rules.d/99-openocd.rules |
34 |
|
35 |
Which sets the group to 0 (root). The weird thing is that I don't |
36 |
know where that file came from. Dong an "equery belongs" doesn't show |
37 |
it belonging to any package. I do have dev-embedded/openocd installed, |
38 |
but it doesn't own that file... But, doing an emerge -C openocd |
39 |
removed the file /lib64/udev/rules.d/99-openocd.rules. |
40 |
|
41 |
It looks like a bug in the openOCD rules is causing it to recognize |
42 |
somthing that it shouldn't. |
43 |
|
44 |
Checking the emerge logs shows that openocd was emerged about a week |
45 |
prior to the udev update (and I must have been mistaken about exactly |
46 |
when the failure started). |
47 |
|
48 |
-- |
49 |
Grant |