[asterisk-bugs] [Asterisk 0009843]: [patch] /etc/init.d/asterisk is not "Linux Standard Base" compatible

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Aug 27 20:49:03 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=9843 
====================================================================== 
Reported By:                ibc
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   9843
Category:                   Core/Configuration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.4 
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        No 
Request Review:              
====================================================================== 
Date Submitted:             05-31-2007 05:14 CDT
Last Modified:              08-27-2007 20:49 CDT
====================================================================== 
Summary:                    [patch] /etc/init.d/asterisk is not "Linux Standard
Base" compatible
Description: 
As we can read at
http://www.linux-foundation.org/spec/refspecs/LSB_3.0.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html:

"For all other init-script actions, the init script shall return an exit
status of zero if the action was successful. Otherwise, the exit status
shall be non-zero, as defined below. In addition to straightforward
success, the following situations are also to be considered successful":

- "running start on a service already running"

But this is not true since "/etc/init.d/asterisk start" return 1 if
Asterisk was already running. It should return 0.

In fact this is because the default behaviout of "start-stop-daemon" which
returns error (1) after "start" if the service was already running. So it
could be Debian issue.
====================================================================== 

---------------------------------------------------------------------- 
 ibc - 08-27-07 20:49  
---------------------------------------------------------------------- 
Hi again.

Please, I'd like to receive any help, I sent my DISCLAIMER long time ago
and it was received by Digium people (I sent it as a scanned image and got
arriving confirmation by mail).

Could some body tell me what more do I need to do about the DISCLAIMER?

Thanks a lot. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-27-07 20:49  ibc            Note Added: 0069536                          
======================================================================




More information about the asterisk-bugs mailing list