[Home]

Summary:ASTERISK-28221: Bug in ast_coredumper
Reporter:Andrew Nagy (tm1000)Labels:
Date Opened:2018-12-21 15:34:33.000-0600Date Closed:2019-01-04 08:27:09.000-0600
Priority:TrivialRegression?
Status:Closed/CompleteComponents:. I did not set the category correctly.
Versions:13.25.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Using /var/lib/asterisk/scripts/ast_coredumper --RUNNING fails to read the /etc/asterisk/asterisk.conf astrundir setting correctly because the regular expression expects a space on either side of the = (or =>).

On line 393 the line should be changed from:
{code}
astrundir=$(sed -n -r -e "s/astrundir\s+[=>]+\s+(.*)/\1/gp" $astetcconf)
{code}
to
{code}
astrundir=$(sed -n -r -e "s/astrundir\s*[=>]+\s*(.*)/\1/gp" $astetcconf)
{code}
Comments:By: Asterisk Team (asteriskteam) 2018-12-21 15:34:34.287-0600

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].

By: Friendly Automation (friendly-automation) 2019-01-04 08:27:10.223-0600

Change 10830 merged by Joshua C. Colp:
ast_coredumper:  Refactor the pid determination process

[https://gerrit.asterisk.org/10830|https://gerrit.asterisk.org/10830]

By: Friendly Automation (friendly-automation) 2019-01-04 08:27:28.098-0600

Change 10831 merged by Joshua C. Colp:
ast_coredumper:  Refactor the pid determination process

[https://gerrit.asterisk.org/10831|https://gerrit.asterisk.org/10831]

By: Friendly Automation (friendly-automation) 2019-01-04 08:28:22.812-0600

Change 10832 merged by Joshua C. Colp:
ast_coredumper:  Refactor the pid determination process

[https://gerrit.asterisk.org/10832|https://gerrit.asterisk.org/10832]