with udev 056 my rule for /dev/sr* in /etc/udev/rules.d/10-local.rules doesnt set the group of the device to cdrw but to disk, which means that i cannot burn cds/dvds as user. if i make a symlink 90-local.rules -> 10-local.rules it will work again (and is inconsistent with the udev manual). the rule in question is: BUS="scsi", KERNEL="sr*", PROGRAM="/etc/udev/scripts/ cdsymlinks.sh %k", SYMLINK="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}", GROUP="cdrw" Reproducible: Always Steps to Reproduce: 1.insert the rule into /etc/udev/rules.d/10-local.rules 2.rmmod sr_mod (this blocks my terminal until i do the enxt step) 3.rmmod ide_scsi (if i do this before sr_mod, my machine will lock up) 4.modprobe sr_mod && modprobe ide-scsi && ls -l /dev/sr* Actual Results: the group of the device is disk Expected Results: the group of the device should be cdrw root@pluepimp bin # emerge info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.200 41102-r1, 2.6.11-gentoo-r6 i686) ================================================================= System uname: 2.6.11-gentoo-r6 i686 Intel(R) Celeron(R) CPU 1.70GHz Gentoo Base System version 1.6.12 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Jul 6 2005, 21:04:24)] ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/glftpd/etc /opt/glftpd/ftp-data /usr/kde/2/share/confi g /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/sh are/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ / usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/te xmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache confcache distlocks sandbox sfperms stric t" GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://f tp.uni-erlangen.de/pub/mirrors/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa avi cddb crypt divx4linux dvd dvdr encode gtk2 jpeg mmx mp3 mpeg ncurses nptl nptlonly oggvorbis opengl png quicktime readline rtc sse ssl truet ype unicode xinerama xv xvid userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLA Y
(In reply to comment #0) > if i make a symlink 90-local.rules -> 10-local.rules it will > work again (and is inconsistent with the udev manual). No such files are installed with udev-056, delete them or fix them. Also, don't use SCSI emulation for CDRW drives with 2.6.x kernels.
(In reply to comment #1) > No such files are installed with udev-056, delete them or fix them. Also, don't > use SCSI emulation for CDRW drives with 2.6.x kernels. they are not installed with udev-056, i use them to override 50-udev.rules since the udev default sets /dev/sr*'s group to disk and not to cdrw or cdrom which they should be. 10-local.rules should, as the man pages state, override the 50-udev.rules since they are supposed to be read before the installed one. and as i said in my first post, it works when my local rules file is called 90-*, but not when its called 10-* (which is inconsistent with the man page, if im able to read..). this also means that the rule *is* correct and must not be changed and either the manpage or udev has to be corrected. also there is no need for me not to use ide-scsi, but this is off topic anyway..
Why not offer up a fix for the cdsymlinks.sh program for the proper group?
cdsymlinks.sh is now gone. This is not an issue anymore.