Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 303265 - net-misc/asterisk - improved wrapper script functionality
Summary: net-misc/asterisk - improved wrapper script functionality
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
: CVE-2010-0441 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-02-02 21:00 UTC by Jaco Kroon
Modified: 2010-03-06 17:37 UTC (History)
2 users (show)

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


Attachments
asterisk.init.diff (asterisk.init.diff,1.35 KB, patch)
2010-02-02 21:01 UTC, Jaco Kroon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jaco Kroon 2010-02-02 21:00:26 UTC
Improved the init script so that the wrapper script is properly managed.  asterisk 1.6.x tends to segfault on core stop gracefully, which prevents the wrapper script from terminating, so instead, just kill the wrapper script before we request asterisk to shutdown.

Reproducible: Always

Steps to Reproduce:
Comment 1 Jaco Kroon 2010-02-02 21:01:25 UTC
Created attachment 218223 [details, diff]
asterisk.init.diff

Should be applied to the init.d/asterisk startup script.
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2010-02-02 22:49:21 UTC
+*asterisk-1.6.2.2 (02 Feb 2010)
+
+  02 Feb 2010; <chainsaw@gentoo.org> +files/1.6.1/asterisk.initd3,
+  -asterisk-1.6.2.0.ebuild, -asterisk-1.6.2.1.ebuild,
+  +asterisk-1.6.2.2.ebuild:
+  Security update for AST-2010-001; remote T.38 over SIP crash by setting
+  FaxMaxDatagram to a negative or exceptionally large value. Init script
+  update by Jaco Kroon closes bug #303265. Remove vulnerable 1.6.2 branch
+  ebuilds.
Comment 3 Tony Vroon (RETIRED) gentoo-dev 2010-02-02 22:55:17 UTC
+*asterisk-1.6.1.14 (02 Feb 2010)
+
+  02 Feb 2010; <chainsaw@gentoo.org> -asterisk-1.6.1.12-r1.ebuild,
+  -asterisk-1.6.1.13.ebuild, +asterisk-1.6.1.14.ebuild:
+  Security update for AST-2010-001; remote T.38 over SIP crash by setting
+  FaxMaxDatagram to a negative or exceptionally large value. Init script
+  update by Jaco Kroon closes bug #303265. Remove vulnerable 1.6.1 branch
+  ebuilds.

Your contributions to Gentoo Linux are highly appreciated :)
Comment 4 Stefan Behte (RETIRED) gentoo-dev Security 2010-03-06 17:37:46 UTC
*** Bug 308061 has been marked as a duplicate of this bug. ***