[asterisk-bugs] [JIRA] (ASTERISK-26031) RHEL init script does not show "OK" or "ERROR" on start

Asterisk Team (JIRA) noreply at issues.asterisk.org
Tue May 17 13:20:56 CDT 2016


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

Asterisk Team commented on ASTERISK-26031:
------------------------------------------

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

> RHEL init script does not show "OK" or "ERROR" on start
> -------------------------------------------------------
>
>                 Key: ASTERISK-26031
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26031
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Contrib/General
>            Reporter: Michael Newton
>            Severity: Minor
>
> If one has {{COLORS=yes}} defined in {{/etc/sysconfig/asterisk}} then the call to start Asterisk in the init script is subject to much redirection. As a result, it does not display the {{[ OK ]}} or {{[ ERROR ]}} message echo'd from the {{daemon}} function.
> {code}
> if [ "x$COLOR" = "xyes" ]; then
>     export TERM=linux
>     daemon sh -c "$DAEMON $ASTARGS -c" >/dev/null </dev/null 2>&1 &
> else
>     daemon $DAEMON $ASTARGS
> fi
> {code}
> No explanation was given for this change when it was made in ASTERISK-15322, and the point of the {{COLOR}} variable is fairly vague. My only guess is that it relates to colours showing on TTY9? It doesn't have anything to do with colours showing in the console when you connect with {{asterisk -r}}.
> {noformat}
> # If you DON'T want Asterisk to start up with terminal colors, comment
> # this out.
> COLOR=yes
> {noformat}



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



More information about the asterisk-bugs mailing list