Red Hat Bugzilla – Bug 458611
Pulseaudio permissions not correct by default
Last modified: 2008-08-11 14:29:23 EDT
Description of problem:
udevd doesn't create the alsa devices owned by pulse-rt... so pulseaudio can't open them. Thus, pulseaudio doesn't work. The user also needs to be added to pulse-rt, and is not. I don't know how to improve that, perhaps have anyone who starts pulseaudio automatically get added to the group?
Version-Release number of selected component (if applicable):
Well, it was a problem for me..
Steps to Reproduce:
1. Install fedora
2. Start KDE
3. Try to play a sound
I fixed it by adding a 00-permissions.rules to udev.d which created the devices with the correct group ownership.
pulse-rt is a group for allowing individual users run their PA instances with real-time scheduling (hence pulse-'rt'). It is completely unrelated to device access permissions.
PA is run as user instance. Thus the user you are running PA as needs access to the audio device. By default the user that is logged in on the active console gets access to the audio device files. This is managed via ConsoleKit/HAL.
The fact of the matter is that by default I started the window manager from the open console that I had logged into and pulseaudio *didn't work* until I changed the ownership of the audio files. Therefore, I am going to have to respectfully insist that this is a bug - if you start KDE and audio doesn't work out of the box, it's a bug.
Now what's *causing* the bug may be a different story and I may have missed something underlying. It's altogether possible.
You stated yourself:
"PA is run as user instance. Thus the user you are running PA as needs access to
the audio device. By default the user that is logged in on the active console
gets access to the audio device files. This is managed via ConsoleKit/HAL."
The user that was logged in on the active console did not have access to the audio device files. I did not get sound to working until I added the rules to ensure that the audio files were accessible by the logged in user, therefore, something's not working right.