Gentoo Archives: gentoo-user

From: William Kenworthy <billk@×××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] udev not reading the rules files
Date: Wed, 26 Sep 2012 10:31:05
Message-Id: 1348655236.13083.5.camel@moriah
In Reply to: Re: [gentoo-user] udev not reading the rules files by Neil Bothwick
1 On Wed, 2012-09-26 at 09:36 +0100, Neil Bothwick wrote:
2 > On Wed, 26 Sep 2012 16:07:14 +0800, Bill Kenworthy wrote:
3 >
4 > > The problem is most (not all !) device nodes getting root/root
5 > > owner/group. So /dev/snd, /dev/video belongs to root and not the
6 > > official groups. So any kind of desktop interaction (webcams, audio
7 > > etc) fails unless its the root user.
8 > >
9 > > It appears that udev isnt reading the rules files - whilst on another
10 > > much older system with 189 all is fine :(
11 >
12 > Have you tried running udevadm test on one of the affected nodes?
13 >
14 > For example
15 >
16 > % sudo udevadm info --name=/dev/video0 | grep '^P:'
17 > P: /devices/pci0000:00/0000:00:1c.3/0000:03:00.0/0000:04:01.0/video4linux/video0
18 >
19 > % sudo udevadm test /devices/pci0000:00/0000:00:1c.3/0000:03:00.0/0000:04:01.0/video4linux/video0
20 > [lots of output about rules being read and actions done]
21 >
22 >
23 Brilliant! - worked and noticing the paths involved was the hint I
24 needed. Turned out the old style init.d file for udev was present and
25 had to be deleted before the emerge would replace it with the new one.
26 I am wondering if sys-fs/udev-init-scripts-16 is doing something
27 non-standard or has some bug as its not creating an update file (or
28 whatever its called :) for etc-update and there are some errors in a
29 compress routine ... will look further tomorrow.
30
31 Thanks.
32
33 BillK