[asterisk-bugs] [Asterisk 0018103]: asterisk starts too late

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Oct 18 04:30:31 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18103 
====================================================================== 
Reported By:                Raffles
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18103
Category:                   General
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     acknowledged
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-07 04:17 CDT
Last Modified:              2010-10-18 04:30 CDT
====================================================================== 
Summary:                    asterisk starts too late
Description: 
When I do a reboot or shutdown of my server, it attempts to unload DAHDI
before it unloads Asterisk.

This means that DAHDI can not unload as it is still in use (by Asterisk).

The run levels of DAHDI need to come after Asterisk (or Asterisk before
DAHDI).

The startup scripts were installed with 'make config' for both DAHDI and
Asterisk.

BTW - I am using Debian if that makes a difference.

====================================================================== 

---------------------------------------------------------------------- 
 (0128152) Raffles (reporter) - 2010-10-18 04:30
 https://issues.asterisk.org/view.php?id=18103#c128152 
---------------------------------------------------------------------- 
Found it!  This is from the 1.6.2.13 makefile : 

"if [ -z "$(DESTDIR)" ]; then /usr/sbin/update-rc.d asterisk defaults 50
91; fi; \"

As you can see, 50 and 91 are still in there - hence Asterisk not stopping
until '91'.

Like you said - it quite rightly starts at 50 (well after Dahdi) but stops
at 91 (well after Dahdi again).  Dahdi can't be unloaded while Asterisk is
still using it.

Perhaps a change to : "if [ -z "$(DESTDIR)" ]; then /usr/sbin/update-rc.d
asterisk defaults 50 29; fi; \" ??

Thanks again for taking time to look at this 'little' problem.  I do
appreciate your time. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-18 04:30 Raffles        Note Added: 0128152                          
======================================================================




More information about the asterisk-bugs mailing list