[asterisk-bugs] [Asterisk 0016454]: [patch] ASTARGS in sysconfig not inherited as startup options
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Dec 28 14:13:42 CST 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=16454
======================================================================
Reported By: syspert
Assigned To: lmadsen
======================================================================
Project: Asterisk
Issue ID: 16454
Category: General
Reproducibility: always
Severity: minor
Priority: normal
Status: ready for testing
Asterisk Version: SVN
JIRA: SWP-563
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!): 235330
Request Review:
======================================================================
Date Submitted: 2009-12-16 10:10 CST
Last Modified: 2009-12-28 14:13 CST
======================================================================
Summary: [patch] ASTARGS in sysconfig not inherited as
startup options
Description:
An option specified in /etc/sysconfig/asterisk is not passed on in ASTARGS
when starting asterisk. Two minor changes made the process work.
======================================================================
----------------------------------------------------------------------
(0115793) tzafrir (manager) - 2009-12-28 14:13
https://issues.asterisk.org/view.php?id=16454#c115793
----------------------------------------------------------------------
One small nit: Instead of: if [ -f filename ]; then . filename; fi
use: if [ -r filename ]; then . filename; fi
Just in case the file exists but is not readable for whatever reason.
Another thing to note: the Debian package (and maybe also others) runs
Asterisk as user 'asterisk' by default and forbids you to run Asterisk as
root.
Issue History
Date Modified Username Field Change
======================================================================
2009-12-28 14:13 tzafrir Note Added: 0115793
======================================================================
More information about the asterisk-bugs
mailing list