[asterisk-bugs] [Asterisk 0018134]: Missing error message from System() app, if sh binary is missing
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Oct 13 11:58:58 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=18134
======================================================================
Reported By: Bernd
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 18134
Category: Applications/app_system
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Asterisk Version: 1.6.2.13
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-10-13 10:09 CDT
Last Modified: 2010-10-13 11:58 CDT
======================================================================
Summary: Missing error message from System() app, if sh
binary is missing
Description:
Asterisk was run in a change root using chroot. The System() calls from the
dialplan ended with $SYSTEMSTATUS = APPERROR. No error message about a
missing sh binary was given, making it hard to debug the error.
This problem should appear not only when using chroot, but everytime the
sh binary could not be found (for some reason).
======================================================================
----------------------------------------------------------------------
(0127959) davidw (reporter) - 2010-10-13 11:58
https://issues.asterisk.org/view.php?id=18134#c127959
----------------------------------------------------------------------
I have't checked, but I assume it uses system(3). In that case, a missing
shell is indinguishable from exit(127) in the actual command.
Issue History
Date Modified Username Field Change
======================================================================
2010-10-13 11:58 davidw Note Added: 0127959
======================================================================
More information about the asterisk-bugs
mailing list