[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#821424: pulseaudio: Do not put normal users on group audio





On 04/19/2016 07:48 PM, Christian PERRIER wrote:
Quoting asu (asu@marian1000.go.ro):
Just simple scenario i add asterisk user on group audio and asu user on
group audio result is bad
  here is result of lsoff:
root@marian1000:/home/asu# lsof /dev/snd/*
COMMAND   PID     USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
pulseaudi 961 asterisk  mem    CHR  116,4          9689 /dev/snd/pcmC0D0c
pulseaudi 961 asterisk  mem    CHR  116,3          9688 /dev/snd/pcmC0D0p
pulseaudi 961 asterisk   15u   CHR  116,2      0t0 9684 /dev/snd/controlC0
pulseaudi 961 asterisk   20u   CHR  116,2      0t0 9684 /dev/snd/controlC0
pulseaudi 961 asterisk   21u   CHR  116,3      0t0 9688 /dev/snd/pcmC0D0p
pulseaudi 961 asterisk   22u   CHR  116,2      0t0 9684 /dev/snd/controlC0
pulseaudi 961 asterisk   27u   CHR  116,2      0t0 9684 /dev/snd/controlC0
pulseaudi 961 asterisk   32u   CHR  116,4      0t0 9689 /dev/snd/pcmC0D0c

On my user asu pulseaudio have acces only on Dummy card .
Second on my audio application audacious  set to use  output to alsa
(assumed that pulseaudio is down)
same issue audacious take control of audio device and is no room for
pulseaudio.

So, what I understand is that this "audacious" thing shoulnd't take
control of the audio device, which it does because your user is member
of the audio group.

But, then, why launching audocious, then? That may sound like a silly
question, but, to my understanding, this is where the problem lies, am
I wrong?

No matter this is strange on default DEBIAN PERMIT all clients on sound device withtout exception. I ask on udev maintainer why?


Reply to: