<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Hi,</div>
<div> </div>
<div>it seems as the membership of asterisk in the audio group is ignored leading to trouble if using alsa.</div>
<div>It makes no difference whether I start with -G asterisk or not.</div>
<div> </div>
<div>Steps to reproduce:</div>
<div> </div>
<div> asterisk -r<br/>
Asterisk 1.8.13.1~dfsg-3, Copyright (C) 1999 - 2012 Digium, Inc. and others.<br/>
Created by Mark Spencer <markster@digium.com><br/>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.<br/>
This is free software, with components licensed under the GNU General Public<br/>
License version 2 and other licenses; you are welcome to redistribute it under<br/>
certain conditions. Type 'core show license' for details.<br/>
=========================================================================<br/>
Connected to Asterisk 1.8.13.1~dfsg-3 currently running on tkserver (pid = 5534)<br/>
Verbosity is at least 4<br/>
tkserver*CLI> !groups<br/>
asterisk root<br/>
tkserver*CLI></div>
<div> </div>
<div>
<div>tkserver*CLI> quit<br/>
tkserver:/home/DC/schultze# su asterisk<br/>
asterisk@tkserver:/home/DC/schultze$ groups<br/>
asterisk audio<br/>
asterisk@tkserver:/home/DC/schultze$</div>
<div> </div>
<div>if I do not use the startup script in /etc/init.d but chown to the asterisk user first groups are set correctly:</div>
<div> </div>
<div>
<div>tkserver*CLI> core stop gracefully<br/>
Disconnected from Asterisk server<br/>
tkserver:/home/DC/schultze# su asterisk<br/>
asterisk@tkserver:/home/DC/schultze$ /usr/sbin/asterisk -U asterisk -c<br/>
Asterisk 1.8.13.1~dfsg-3, Copyright (C) 1999 - 2012 Digium, Inc. and others.<br/>
Created by Mark Spencer <markster@digium.com><br/>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.<br/>
This is free software, with components licensed under the GNU General Public<br/>
License version 2 and other licenses; you are welcome to redistribute it under<br/>
certain conditions. Type 'core show license' for details.<br/>
=========================================================================</div>
<div>....</div>
<div>
<div>*CLI> !groups<br/>
asterisk audio<br/>
*CLI></div>
<div> </div>
<div> </div>
<div>Is this by design?</div>
<div>Is my system misconfigured?</div>
<div>Can you reproduce my issue?</div>
<div> </div>
<div>Regard Dirk</div>
</div>
</div>
</div>
</div></div></body></html>