Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#2317 - udev-package 053-1

Attached to Project: Arch Linux
Opened by markus (mercy) - Friday, 04 March 2005, 18:10 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To No-one
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

not realy a bug but it should be done...

if you move from devfs or static dev you don't have all the groups in /etc/group (audio, video, scanner, floppy, storage, optical) ... (also in the udev-wiki it isnt directly mentiont that you have to create them your self ;-) )

so after reboot it works for root fine (according to permissions)
but not for anybody else...

also udev doesnt report anywhere that he failed to align the /dev entries to the groups they should be according to the udev.rules file


another point is that you have to update xorg.conf / XFree86.conf to point to the new inputdevice

this atleast leads to a complete lockup(hardreboot) with kdm !
This task depends upon

Closed by  arjan timmerman (blaasvis)
Wednesday, 27 July 2005, 08:33 GMT
Reason for closing:  Fixed
Comment by markus (mercy) - Friday, 04 March 2005, 18:13 GMT
to be exactly: if you don't update them it leads to the lockup... :-)
Comment by Jason Chu (jason) - Sunday, 06 March 2005, 18:48 GMT
What exactly should be done and how should we do it?
Comment by Simo Leone (neotuli) - Sunday, 06 March 2005, 18:56 GMT
We could put it all in an install script somewhere, or just write a wiki.
Comment by Shane Kelly (skk54) - Monday, 07 March 2005, 06:51 GMT
Hi, some input on this:

i just installed Arch on an nforce2 mobo (snd_intel8x0), full install from CD (I know, but I was in a hurry :-) ), using udev only, then configured some udev rules for my usbstick and external usb hdd - all worked fine both from root and user account (user account is in the right groups).

The I went to bed while doing pacman -Syu --noconfirm

Afterwards, no sound was available for the user (ok for root). Checked the dev/snd tree and found no permissions being applied - removed my udev rules and this didn't make any difference, so I added them back.

long story short, udev is not applying permissions as per permissions.d/files. (this may be a known bug - new to udev!)

Workaround (very Quick and Dirty!) is to add a script to rc.local along the lines of
if [ -e /dev/snd/ ] ;
then
chown root:audio /dev/snd/*
else
echo 'No sound devices created'
fi

Now sound works as user.
Hope we can get a fix soon - email me if more details are required.
Comment by Shane Kelly (skk54) - Monday, 07 March 2005, 06:53 GMT
sorry, should have mentioned this is from pacman -Qi udev
Name : udev
Version : 054-1
Groups : None
Packager : Arch Linux (http://www.archlinux.org)
URL : http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
License :
Architecture : i686
Size : 230142
Build Date : Thu Mar 3 20:39:26 2005 UTC
Install Date : Mon Mar 7 06:19:34 2005 UTC
Install Script : Yes
Reason: : explicitly installed
Provides : None
Depends On : coreutils
Required By : None
Conflicts With : None
Description : The userspace dev tools (udev)
Comment by markus (mercy) - Monday, 07 March 2005, 19:48 GMT
what should be done:

the udev package should check if the needed groups exist and if not add them.. or atleast error out at boottime with something like... couldnt set group for devices...

² Shane Kelly .. did you have the needed groups? was the same here ... :)
Comment by Damir Perisa (damir.perisa) - Sunday, 03 April 2005, 15:47 GMT
udev 054-1 is out

Loading...