[asterisk-bugs] [JIRA] (ASTERISK-28332) Variable ALTCONF ignored when service is used

Asterisk Team (JIRA) noreply at issues.asterisk.org
Fri Mar 8 14:29:47 CST 2019


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

Asterisk Team commented on ASTERISK-28332:
------------------------------------------

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

Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur.

> Variable ALTCONF ignored when service is used
> ---------------------------------------------
>
>                 Key: ASTERISK-28332
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28332
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: General
>    Affects Versions: 13.25.0
>         Environment: Linux XXXXX 3.16.0-5-amd64 #1 SMP Debian 3.16.51-3+deb8u1 (2018-01-08) x86_64 GNU/Linux
>            Reporter: Cirillo Ferreira
>            Severity: Minor
>
> The variable ALTCONF is ignored when defined at file /etc/default/asterisk.
> The start command prints following message: 
> {code}
> root at XXXXX:/var/log/asterisk# service asterisk start
> root at XXXXX:/var/log/asterisk# service asterisk status
> ● asterisk.service - LSB: Asterisk PBX
>    Loaded: loaded (/etc/init.d/asterisk)
>    Active: active (running) since Fri 2019-03-08 17:02:16 -03; 1s ago
>   Process: 4239 ExecStop=/etc/init.d/asterisk stop (code=exited, status=0/SUCCESS)
>   Process: 4267 ExecStart=/etc/init.d/asterisk start (code=exited, status=0/SUCCESS)
>    CGroup: /system.slice/asterisk.service
>            └─4279 /usr/sbin/asterisk -C "/etc/asterisk/asterisk.conf" -g -v -F
> Mar 08 17:02:16 NARBONA asterisk[4267]: Starting Asterisk PBX: asteriskUnable to open specified master config file '"/etc/asterisk/asteris...defaults
> Mar 08 17:02:16 NARBONA asterisk[4267]: .
> Mar 08 17:02:16 NARBONA systemd[1]: Started LSB: Asterisk PBX.
> Hint: Some lines were ellipsized, use -l to show in full.
> {code}
> If we consider that can't has space in the path of file, then
> the workaround is to remove the quotes around ALTCONF at file /etc/init.d/asterisk
> {code}
>         if [ $ALTCONF ]; then
>                 ASTARGS="$ASTARGS -C \"$ALTCONF\""
>         fi
> {code}
> to
> {code}
>         if [ $ALTCONF ]; then
>                 ASTARGS="$ASTARGS -C $ALTCONF"
>         fi
> {code}



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



More information about the asterisk-bugs mailing list