[asterisk-bugs] [Asterisk 0010812]: [patch] safe_asterisk includes bashisms

Asterisk Bug Tracker noreply at bugs.digium.com
Tue May 26 08:07:30 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=10812 
====================================================================== 
Reported By:                paravoid
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   10812
Category:                   Utilities/General
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 196488 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2007-09-24 01:39 CDT
Last Modified:              2009-05-26 08:07 CDT
====================================================================== 
Summary:                    [patch] safe_asterisk includes bashisms
Description: 
contrib/scripts/safe_asterisk includes so-called bashims, i.e. shell
features that can only be found on bash and not on the POSIX definition of
shell.

However, the intepreter of that file is /bin/sh which is not guaranteed to
be bash.

Either the bashisms should get removed or the interpreter should be
changed to /bin/bash.
On Debian, we've done the latter, for obvious reasons.
====================================================================== 

---------------------------------------------------------------------- 
 (0105390) svnbot (reporter) - 2009-05-26 08:07
 https://issues.asterisk.org/view.php?id=10812#c105390 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 196659

_U  branches/1.6.0/
U   branches/1.6.0/contrib/scripts/safe_asterisk

------------------------------------------------------------------------
r196659 | file | 2009-05-26 08:07:30 -0500 (Tue, 26 May 2009) | 21 lines

Merged revisions 196658 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r196658 | file | 2009-05-26 10:06:50 -0300 (Tue, 26 May 2009) | 14 lines
  
  Merged revisions 196657 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r196657 | file | 2009-05-26 10:06:09 -0300 (Tue, 26 May 2009) | 7
lines
    
    Remove some bash specific stuff from safe_asterisk.
    
    (closes issue https://issues.asterisk.org/view.php?id=10812)
    Reported by: paravoid
    Patches:
          safe_asterisk_bashism.diff uploaded by tzafrir (license 46)
  ........
................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=196659 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-26 08:07 svnbot         Checkin                                      
2009-05-26 08:07 svnbot         Note Added: 0105390                          
======================================================================




More information about the asterisk-bugs mailing list