[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:07 AM, Christian PERRIER wrote:
Control: reassign -1 user-setup

Quoting Felipe Sateler (fsateler@debian.org):
Control: reassign -1 debian-installer

On 18 April 2016 at 13:06, Corcodel Marian<asu@marian1000.go.ro>  wrote:

Any way pulseaudio is default sound server on debian and suggest to do not put
users on audio group because cross interference with alsa programs, now alsa is
for power users and pulseaudio is on default.
Pulseaudio does not add the user to the audio group. I'm guessing the
installer does, so I reassign there.
Adding the *first created* user to so-called "useful" groups is done
by user-setup.

We'll need a detaailed explanantion abou twhy this shouldn't be done
anymore, including all possible use cases of the installer.


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.


Reply to: