Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178988 - net-misc/asterisk ebuild: asterisk user group
Summary: net-misc/asterisk ebuild: asterisk user group
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tony Vroon (RETIRED)
URL: http://www.asterisk.org
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-18 11:42 UTC by Vieri
Modified: 2009-07-21 13:36 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vieri 2007-05-18 11:42:24 UTC
chan_misdn fails to load in asterisk due to permissions on /dev/mISDN (and asterisk dies).
udev rules for misdn should either be changed or the asterisk user should also be added to the dialout group.


Reproducible: Always

Steps to Reproduce:
1. emerge asterisk-chan_misdn
2. /etc/asterisk/modules.conf -> load chan_misdn
3. start asterisk as asterisk:asterisk
Comment 1 Vieri 2007-05-18 13:10:12 UTC
Or maybe just add an ewarn in asterisk or chan_misdn ebuild so that the user can edit /etc/conf.d/asterisk accordingly.
Comment 2 Alan Jones 2008-03-10 20:42:32 UTC
Was searching for a bug like this as Zaptel requires the same thing. I think adding asterisk to the dialout group is the neatest solution. It means that if you have a variety of cards you'll still be fine for Asterisk to work with all of them.

I can't think of any downsides off the top of my head to doing this.

Cheers,

Alan.
Comment 3 Tony Vroon (RETIRED) gentoo-dev 2009-07-21 13:36:04 UTC
+  21 Jul 2009; <chainsaw@gentoo.org> asterisk-1.2.32.ebuild:
+  Add the new asterisk user to the dialout group as well as the asterisk
+  group for maximum compatibility with mISDN, Zaptel & DAHDI. Backporting a
+  1.6 ebuild to 1.2 for bug #178988.

I apologise for the lack of attention that this report appears to have gotten. Your suggestion makes complete sense and has been applied to all Asterisk ebuilds in the portage tree.
A belated thank you for your contribution to Gentoo Linux.