Asterisk: multiple group IDs for the server process
Raoul Bönisch
jkl345@gmx.net
Mon, 17 Jan 2005 23:53:33 +0100
Hello!
As Asterisk has to access multiple devices at a time it needs
permission to do so. The Debian policy says the permission to a
device is granted according to group ID. Thus Asterisk would need
multiple group IDs.
On startup Asterisk issues setgid() which sets the group IDs to
just the one specified. It should use setgroups() instead and add
the specified group ID to the existing set of group IDs.
Because of that it seems useless to us that the user asterisk has
been added to the group audio in /etc/group which is then changed
to the group asterisk by the option "-G asterisk". What we would
need instead is both, group asterisk AND group audio and even
more.
We would appreciate a short note on that.
Raoul & Simon