[asterisk-bugs] [Zaptel 0010257]: 'make config' installs /etc/default/zaptel instaead of /etc/sysconfig/zaptel (1.2.19, 1.4.4)

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Jun 7 13:03:55 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10257 
====================================================================== 
Reported By:                tzafrir
Assigned To:                tzafrir
====================================================================== 
Project:                    Zaptel
Issue ID:                   10257
Category:                   General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Zaptel Version:             1.4.4  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             07-20-2007 10:50 CDT
Last Modified:              06-07-2008 13:03 CDT
====================================================================== 
Summary:                    'make config' installs /etc/default/zaptel instaead
of /etc/sysconfig/zaptel (1.2.19, 1.4.4)
Description: 
In 1.2.19 and 1.4.4 the following change was made:

'make config' will check if /etc/default exist and copy the file there.
Else it will check for /etc/sysconfig and try copying there.


Some redhat-based systems (e.g: Fedora 7, but likely others as well) have
/etc/default as well as /etc/sysconfig . 

As a result, the file is copied to /etc/default/zaptel on those system. If
/etc/sysconfig/zaptel has not existed before the zaptel init.d script will
not start, as it fails the test of TELEPHONY=yes .

Workaround: copy /etc/default/zaptel to /etc/sysconfig/zaptel .

Fix: revert to the old behaviour: always copy to both directories.
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 06-07-08 13:03  
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 2771

U   branches/1.2/Makefile

------------------------------------------------------------------------
r2771 | tzafrir | 2008-06-07 13:03:52 -0500 (Sat, 07 Jun 2008) | 6 lines

Revert initd config file installation to the greeddy one of before
zaptel 1.2.19/1.4.4 - install on both /etc/default/zaptel and
/etc/sysconfig/zaptel .

Closes http://bugs.digium.com/view.php?id=10257 .

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

http://svn.digium.com/view/dahdi?view=rev&revision=2771 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-07-08 13:03  svnbot         Checkin                                      
06-07-08 13:03  svnbot         Note Added: 0088307                          
======================================================================




More information about the asterisk-bugs mailing list