[asterisk-bugs] [JIRA] (ASTERISK-27846) Fix OUTPUT directory in ast_coredumper

Asterisk Team (JIRA) noreply at issues.asterisk.org
Wed May 9 20:49:56 CDT 2018


    [ https://issues.asterisk.org/jira/browse/ASTERISK-27846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=243372#comment-243372 ] 

Asterisk Team commented on ASTERISK-27846:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

> Fix OUTPUT directory in ast_coredumper
> --------------------------------------
>
>                 Key: ASTERISK-27846
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27846
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Addons/General
>    Affects Versions: 15.3.0
>            Reporter: Ted G
>            Severity: Minor
>
> The OUTPUTDIR functionality seems to be broken in ast_coredumper:
> gz/tmp# /var/lib/asterisk/scripts/ast_coredumper
> OUTPUTDIR /some/directory doesn't exists or is not a directory
> gz/tmp# /var/lib/asterisk/scripts/ast_coredumper /tmp/core
> OUTPUTDIR /some/directory doesn't exists or is not a directory
> gz/tmp# export OUTPUTDIR=/tmp ; echo $OUTPUTDIR
> /tmp
> gz/tmp# /var/lib/asterisk/scripts/ast_coredumper /tmp/core
> OUTPUTDIR /some/directory doesn't exists or is not a directory
> gz/tmp# asterisk -V
> Asterisk 15.3.0
> Looks like the problem is ast_debug_tools.conf is taking precedence over the environment setting.
> [ -f /etc/asterisk/ast_debug_tools.conf ] && source /etc/asterisk/ast_debug_tools.conf
> [ -f ~/ast_debug_tools.conf ] && source ~/ast_debug_tools.conf
> [ -f ./ast_debug_tools.conf ] && source ./ast_debug_tools.conf
> This doesn't seem like the appropriate behavior to me.  The user should be able to change the output directory on the command line and not have to edit a config file every time. Also, it seems like /tmp should be the default directory instead of /some/directory which would probably never exist.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list