Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 260216 - net-misc/asterisk-1.6.0.3 - miscellaneous minor errors
Summary: net-misc/asterisk-1.6.0.3 - miscellaneous minor errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Rajiv Aaron Manglani (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-25 09:59 UTC by Jaco Kroon
Modified: 2009-03-11 18:19 UTC (History)
1 user (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 Jaco Kroon 2009-02-25 09:59:43 UTC
The following permissions are incorrect on the default asterisk 1.6.0.3 merge:

/var/run/asterisk should be owned asterisk:asterisk
/var/lib/asterisk should be recursively owned by asterisk:asterisk
/var/lib/asterisk can be chmod 750 instead of 755.
/etc/asterisk should be owned root:asterisk and perms 750
/etc/asteris/* should be owned root:asterisk and perms 640
/var/log/asterisk should be recursively owned asterisk:asterisk

And now asterisk starts up :).

Reproducible: Always
Comment 1 Jaco Kroon 2009-02-26 20:19:40 UTC
Also, in /etc/init.d/asterisk, the depend() function's use line should also list dahdi.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2009-02-27 19:55:09 UTC
Don't CC maintainers when you cannot assign bugs.
Comment 3 Tony Vroon (RETIRED) gentoo-dev 2009-03-11 18:19:28 UTC
This was already addressed in the Asterisk 1.6.0.6 ebuild. (It was caused by trying to set permissions at the end of src_install and not in pkg_postinst, so the permission change could run before the actual account was created).
Thank you for your report.