udev not reading the rules files
I udev problems after updating to udev 191 on an almost fresh install,
then downgraded to 189 in order to match a working system. This was working before the latest upgrade cycle. The problem is most (not all !) device nodes getting root/root owner/group. So /dev/snd, /dev/video belongs to root and not the official groups. So any kind of desktop interaction (webcams, audio etc) fails unless its the root user. It appears that udev isnt reading the rules files - whilst on another much older system with 189 all is fine :( The guides I have found so far seem way out of date, even bugzilla. * sys-fs/udev Latest version available: 191 Latest version installed: 189 Size of downloaded files: 1,370 kB Homepage: http://www.freedesktop.org/wiki/Software/systemd Description: Linux dynamic and persistent device naming support (aka userspace devfs) License: LGPL-2.1 MIT GPL-2 * sys-fs/udev-init-scripts Latest version available: 16 Latest version installed: 16 Size of downloaded files: 4 kB Homepage: http://www.gentoo.org Description: udev startup scripts for openrc License: GPL-2 BillK |
udev not reading the rules files
On Wed, 26 Sep 2012 16:07:14 +0800, Bill Kenworthy wrote:
> The problem is most (not all !) device nodes getting root/root > owner/group. So /dev/snd, /dev/video belongs to root and not the > official groups. So any kind of desktop interaction (webcams, audio > etc) fails unless its the root user. > > It appears that udev isnt reading the rules files - whilst on another > much older system with 189 all is fine :( Have you tried running udevadm test on one of the affected nodes? For example % sudo udevadm info --name=/dev/video0 | grep '^P:' P: /devices/pci0000:00/0000:00:1c.3/0000:03:00.0/0000:04:01.0/video4linux/video0 % sudo udevadm test /devices/pci0000:00/0000:00:1c.3/0000:03:00.0/0000:04:01.0/video4linux/video0 [lots of output about rules being read and actions done] -- Neil Bothwick Quality control, n.: Assuring that the quality of a product does not get out of hand and add to the cost of its manufacture or design. |
udev not reading the rules files
On Wed, 2012-09-26 at 09:36 +0100, Neil Bothwick wrote:
> On Wed, 26 Sep 2012 16:07:14 +0800, Bill Kenworthy wrote: > > > The problem is most (not all !) device nodes getting root/root > > owner/group. So /dev/snd, /dev/video belongs to root and not the > > official groups. So any kind of desktop interaction (webcams, audio > > etc) fails unless its the root user. > > > > It appears that udev isnt reading the rules files - whilst on another > > much older system with 189 all is fine :( > > Have you tried running udevadm test on one of the affected nodes? > > For example > > % sudo udevadm info --name=/dev/video0 | grep '^P:' > P: /devices/pci0000:00/0000:00:1c.3/0000:03:00.0/0000:04:01.0/video4linux/video0 > > % sudo udevadm test /devices/pci0000:00/0000:00:1c.3/0000:03:00.0/0000:04:01.0/video4linux/video0 > [lots of output about rules being read and actions done] > > Brilliant! - worked and noticing the paths involved was the hint I needed. Turned out the old style init.d file for udev was present and had to be deleted before the emerge would replace it with the new one. I am wondering if sys-fs/udev-init-scripts-16 is doing something non-standard or has some bug as its not creating an update file (or whatever its called :) for etc-update and there are some errors in a compress routine ... will look further tomorrow. Thanks. BillK |
| All times are GMT. The time now is 04:54 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.