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:
Created attachment 218223 [details, diff] asterisk.init.diff Should be applied to the init.d/asterisk startup script.
+*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.
+*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 :)
*** Bug 308061 has been marked as a duplicate of this bug. ***