Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81102 - udev-051 comes with wrong permissions for audio devices
Summary: udev-051 comes with wrong permissions for audio devices
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
: 81331 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-07 05:11 UTC by Peter Beutner
Modified: 2005-02-09 04:42 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Beutner 2005-02-07 05:11:49 UTC
current configuration in /etc/udev/rules.d/50-udev.rules
udev.rules:KERNEL="controlC[0-9]*",     NAME="snd/%k"
udev.rules:KERNEL="hw[CD0-9]*",         NAME="snd/%k"
udev.rules:KERNEL="pcm[CD0-9cp]*",              NAME="snd/%k"
udev.rules:KERNEL="midiC[D0-9]*",               NAME="snd/%k"
udev.rules:KERNEL="timer",                      NAME="snd/%k"
udev.rules:KERNEL="seq",                        NAME="snd/%k"

these devices shoud belong to group audio, as it were in all versions before.

Reproducible: Always
Steps to Reproduce:
1.emerge -pv "=udev-051"
2.reboot
3.ls -la /dev/snd

Actual Results:  
ls -la /dev/snd/                       insgesamt 0
drwxr-xr-x   2 root root      160  7. Feb 14:05 .
drwxrwxrwt  21 root root     4160  7. Feb 13:32 ..
crw-rw----   1 root root 116,  0  7. Feb 14:05 controlC0
crw-rw----   1 root root 116, 24  7. Feb 14:05 pcmC0D0c
crw-rw----   1 root root 116, 16  7. Feb 14:05 pcmC0D0p
crw-rw----   1 root root 116, 25  7. Feb 14:05 pcmC0D1c
crw-rw----   1 root root 116,  1  7. Feb 14:05 seq
crw-rw----   1 root root 116, 33  7. Feb 14:05 timer

Expected Results:  
ls -la /dev/snd/                       insgesamt 0
drwxr-xr-x   2 root root      160  7. Feb 14:05 .
drwxrwxrwt  21 root root     4160  7. Feb 13:32 ..
crw-rw----   1 root audio 116,  0  7. Feb 14:05 controlC0
crw-rw----   1 root audio 116, 24  7. Feb 14:05 pcmC0D0c
crw-rw----   1 root audio 116, 16  7. Feb 14:05 pcmC0D0p
crw-rw----   1 root audio 116, 25  7. Feb 14:05 pcmC0D1c
crw-rw----   1 root audio 116,  1  7. Feb 14:05 seq
crw-rw----   1 root audio 116, 33  7. Feb 14:05 timer

 emerge info
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1
                                                             , 2.6.10-custom-r3
i686)
=================================================================
System uname: 2.6.10-custom-r3 i686 Genuine Intel(R) CPU 2.40GHz
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec 14 2004, 16:54:07)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.6.3, 1.5, 1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -mtune=pentium4  -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share
                                                             /config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/shar       
                                                      e/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -mtune=pentium4  -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks parallel-fetch sandbox sf
                                                             perms"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.inform
                                                            
atik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mi
                                                             rror/
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp-stud.fht-esslingen     
                                                        .de/pub/Mirrors/gentoo/"
LANG="de_DE@euro"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac aalib alsa avi berkdb crypt dga directfb dvb dvd dvdread erandom
                                                              fbcon flac gdbm
gif gpm gtk gtk2 imlib java jpeg libcaca lzo mad matroska mmx mm               
                                              x2 mozilla mpeg ncurses nls nptl
oggvorbis opengl pam perl pic png python quickt                                
                             ime readline real sdl sse sse2 ssl tcltk tga tiff
truetype xml xml2 xprint xv xv                                                 
            id zlib video_cards_radeon"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2005-02-07 05:44:46 UTC
http://sourceforge.net/mailarchive/forum.php?thread_id=6499282&forum_id=3157

A patch for that is already applied to udev, greg, could you please update to that in gentoo?
Comment 2 Greg Kroah-Hartman (RETIRED) gentoo-dev 2005-02-08 13:20:31 UTC
Will be in next release
Comment 3 Aaron Walker (RETIRED) gentoo-dev 2005-02-09 04:42:51 UTC
*** Bug 81331 has been marked as a duplicate of this bug. ***