[asterisk-bugs] [Asterisk 0012200]: Incorrect /etc/init.d/asterisk
noreply at bugs.digium.com
noreply at bugs.digium.com
Fri Mar 14 15:00:34 CDT 2008
The following issue has been ASSIGNED.
======================================================================
http://bugs.digium.com/view.php?id=12200
======================================================================
Reported By: reinerotto
Assigned To: russell
======================================================================
Project: Asterisk
Issue ID: 12200
Category: Core/BuildSystem
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
Asterisk Version: 1.4.17
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 03-12-2008 17:17 CDT
Last Modified: 03-14-2008 15:00 CDT
======================================================================
Summary: Incorrect /etc/init.d/asterisk
Description:
File /etc/init.d/asterisk contains the follwoing:
#BEGIN-INIT-INFO
#REQUIRED-START: zaptel
But this is not good enough. Should be like
#REQUIRED-START: zaptel $network $named
Assuming, the /etc/init.d/asterisk with
#REQUIRED-START: zaptel
is used, as distributed by SuSE, the following happens:
On my system asterisk is started automatically after boot.
Because of SuSE at least, asterisk is started before the network is up.
This prevents asterisk/SIP to register with my provider, because DNS not
available at that moment.
Because of another bug, I will also report, asterisk then enters a loop,
trying to register, but always fails, even in case network and DNS are
running.
Only solution then to restart asterisk.
Modification of /etc/init.d/asterisk to
#REQUIRED-START: zaptel $network $named
fixes that problem.
======================================================================
----------------------------------------------------------------------
svnbot - 03-14-08 15:00
----------------------------------------------------------------------
Repository: asterisk
Revision: 108792
U branches/1.4/contrib/init.d/rc.suse.asterisk
------------------------------------------------------------------------
r108792 | russell | 2008-03-14 15:00:28 -0500 (Fri, 14 Mar 2008) | 4 lines
Update the SuSE init script to start networking before asterisk, as well.
(closes issue http://bugs.digium.com/view.php?id=12200, reported by and change
suggested by reinerotto)
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=108792
Issue History
Date Modified Username Field Change
======================================================================
03-14-08 15:00 svnbot Note Added: 0083988
03-14-08 15:00 svnbot Status new => assigned
03-14-08 15:00 svnbot Assigned To => russell
======================================================================
More information about the asterisk-bugs
mailing list