Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 406871 - sys-fs/udev-171-r5: wrong permissions for /dev/snd/seq
Summary: sys-fs/udev-171-r5: wrong permissions for /dev/snd/seq
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-04 11:42 UTC by k_berbach
Modified: 2012-03-22 00:12 UTC (History)
0 users

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 k_berbach 2012-03-04 11:42:00 UTC
After upgrading alsa to 1.0.25 /dev/snd/seq has permissions root:root 600 instead of root:audio 660. Therefore users cannot use midi anymore.
Comment 1 k_berbach 2012-03-04 11:49:19 UTC
$ emerge  --info
Portage 2.1.10.44 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.14.1-r2, 3.2.6-BFS x86_64)
=================================================================
System uname: Linux-3.2.6-BFS-x86_64-Intel-R-_Core-TM-_i5_CPU_660_@_3.33GHz-with-gentoo-2.0.3
Timestamp of tree: Sun, 04 Mar 2012 11:00:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5                                                                                                                                                                 
sys-devel/autoconf:       2.13, 2.68                                                                                                                                                          
sys-devel/automake:       1.11.1                                                                                                                                                              
sys-devel/binutils:       2.21.1-r1                                                                                                                                                           
sys-devel/gcc:            4.5.3-r2                                                                                                                                                            
sys-devel/gcc-config:     1.5-r2                                                                                                                                                              
sys-devel/libtool:        2.4.2                                                                                                                                                               
sys-devel/make:           3.82-r1                                                                                                                                                             
sys-kernel/linux-headers: 3.2 (virtual/os-headers)                                                                                                                                            
sys-libs/glibc:           2.14.1-r2                                                                                                                                                           
Repositories: gentoo proaudio x-local
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=core2 -march=core2 -mfpmath=sse -malign-double -m128bit-long-double -msseregparm -msse4.2 -maes -floop-interchange -floop-strip-mine -floop-block -fira-loop-pressure -fomit-frame-pointer -fopenmp -ftree-vectorize -fgraphite-identity -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-mtune=core2 -march=core2 -mfpmath=sse -malign-double -m128bit-long-double -msseregparm -msse4.2 -maes -floop-interchange -floop-strip-mine -floop-block -fira-loop-pressure -fomit-frame-pointer -fopenmp -ftree-vectorize -fgraphite-identity -O2 -pipe"
DISTDIR="/usr/src/gentoo/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de nds en_GB"
MAKEOPTS="-j1"
PKGDIR="/usr/src/gentoo/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--delete-before"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp/build"
PORTDIR="/usr/src/gentoo/portage"
PORTDIR_OVERLAY="/usr/src/gentoo/layman/pro-audio /usr/src/gentoo/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64bit X a52 aac aalib accessibility acpi aften aiglx alsa amd64 amr artworkextra asf audio audiofile bcmath berkdb bluetooth bluray bzip2 bzlib cairo caps cdda cdparanoia cdr chipcard consolekit corefonts cpudetection cracklib crypt css cups cxx dbus desktopglobe dga dirac dri dssi dts dv dvb dvd dvdr eigen enca encode exif expat faac faad fam ffmpeg ffmpegsource fftw flac fluidsynth fontconfig ftp g3dvl gallium gallium-intel garmin gd gif glib glitz gmp gpac gphoto2 gpm gps graphite gs hbci hunspell iconv icu id3tag ieee1394 imagemagick introspection ithreads jack joystick jpeg jpeg2k kdcraw kde kdeenablefinal kexiv2 lame lash lcms ldap libkms libmms libsamplerate libwww live lm_sensors logrotate lv2 lzma lzo mad matroska md5sum midi mmap mms mmx mmxext mng mp2 mp3 mp4 mpeg multilib multimedia musepack nfsv3 nls no-old-linux no_wxgtk1 nokia nonfsv4 nptl nptlonly offensive ogg oggvorbis openal openct openexr opengl openmp openvg pam pcsc-lite pdf pdflib phonon pic pkcs11 png policykit ppds ps pvr pwdb qalculate qt4 quicktime radio raster raw rdesktop readline rss rtc scanner schroedinger sdl sftp smartcard sndfile sound soundtouch sox speex spell sqlite sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 svg taglib theora threads threadsafe tiff truetype udev udisks unicode usb v4l v4l2 vaapi vcd video vorbis vpx wav wavpack webkit wifi wma x264 xcb xcomposite xml xml2 xorg xsl xv xvid xvmc zlib zvbi" ALSA_CARDS="hdsp hdspm rme32 rme96" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" CALLIGRA_FEATURES="braindump flow kexi tables words krita karbon" CAMERAS="canon fuji kodak ptp2" ELIBC="glibc" GPSD_PROTOCOLS="garmin garmintxt gpsclock irf" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LINGUAS="de nds en_GB" LIRC_DEVICES="all" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" SANE_BACKENDS="net" USERLAND="GNU" VIDEO_CARDS="intel i915 v4l vesa vga vmware"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 2 Rafał Mużyło 2012-03-04 18:59:37 UTC
This looks more like a problem with rules provided by udev itself.
Any chance that i.e. your /usr is a separate partition ?
Comment 3 k_berbach 2012-03-04 21:11:40 UTC
It certainly does. However, where is the rules file supposed to come from? There is nothing audio related below /etc/udev/rules.d. However, the other files below /dev/snd do have the correct permissions. 

udev-171-r5 and no seperate /usr partition here.
Comment 4 Rafał Mużyło 2012-03-05 10:56:01 UTC
(In reply to comment #3)
> It certainly does. However, where is the rules file supposed to come from?
> There is nothing audio related below /etc/udev/rules.d. However, the other
> files below /dev/snd do have the correct permissions. 
> 
> udev-171-r5 and no seperate /usr partition here.

In such case, it might be the matter of folowing two commits, made shortly after 171 release:
http://git.kernel.org/?p=linux/hotplug/udev.git;a=commit;h=3e227830ad6494700e18ae03297e8fb833ff26bf
http://git.kernel.org/?p=linux/hotplug/udev.git;a=commit;h=c112873b5bc9ebbae39c32f502bc6211f33546cc
Comment 5 William Hubbs gentoo-dev 2012-03-22 00:12:58 UTC
This is fixed in udev-182.