Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 294601 - Asterisk 1.6.1 init.d script with permission checks
Summary: Asterisk 1.6.1 init.d script with permission checks
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-25 16:14 UTC by Patryk Rzadzinski
Modified: 2009-12-19 18:59 UTC (History)
1 user (show)

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


Attachments
patch for asterisk.initd (init_file_priv_check.patch,695 bytes, patch)
2009-11-25 16:15 UTC, Patryk Rzadzinski
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patryk Rzadzinski 2009-11-25 16:14:19 UTC
Please see the attached patch that will allow /etc/init.d/asterisk to check for permissions before it starts. If the permissions are wrong it will warn and attempt to fix them rather than just failing without error.

Reproducible: Always
Comment 1 Patryk Rzadzinski 2009-11-25 16:15:05 UTC
Created attachment 211173 [details, diff]
patch for asterisk.initd
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2009-12-19 18:59:41 UTC
+*asterisk-1.6.1.12 (19 Dec 2009)
+
+  19 Dec 2009; <chainsaw@gentoo.org>
+  +files/1.6.1/asterisk-1.6.1.12-longer-sip-cid.patch,
+  +files/1.6.1/asterisk.initd2, +asterisk-1.6.1.12.ebuild,
+  +files/1.6.1/asterisk-1.6.1.12-parallel-make.patch:
+  Version bump. Improved permission handling in ebuild & initscript by
+  Patryk Rzadzinski, closes bugs #294601 & #296087. Set ASTLDFLAGS
+  environment variable to enforce LDFLAGS respect. Additional parallel make
+  fixes.