Red Hat Bugzilla – Bug 120314
xmms cannot output when run by normal user
Last modified: 2007-11-30 17:10:39 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040312
Description of problem:
Playing MP3s (using a third party xmms-mp3 RPM) works fine as root
(i.e. you can hear the MP3).
When trying to play MP3s as a normal user with the ALSA output plugin
selected, XMMS outputs the following message to stdout:
** WARNING **: alsa_setup(): Failed to open pcm device (default):
Similar warnings are displayed for other output plugins, such as for OSS:
** WARNING **: oss_open(): Failed to open audio device (/dev/dsp):
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start xmms as normal user
2. Play sound
Actual Results: xmms is unable to play the sound because of
Expected Results: xmms should play sounds when run by a normal user
No policy warnings appear in /var/log/messages. xmms still doesn't
work with setenforce 0.
Maybe this is not a policy problem?
Could you relabel the /dev/ directory. I beliece we have a problem
with the latest udev rewriting files on /dev and loosing the file context.
setfiles /etc/security/selinux/file_contexts /dev
We have a bug report in on udev.
What's the status on this one? Did the relabeling of /dev solved your