[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
Fri Jul 20 10:50:48 CDT 2007


The following issue has been ASSIGNED. 
====================================================================== 
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:                     assigned
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:              
====================================================================== 
Date Submitted:             07-20-2007 10:50 CDT
Last Modified:              07-20-2007 10:50 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.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-20-07 10:50  tzafrir        Status                   new => assigned     
07-20-07 10:50  tzafrir        Assigned To               => tzafrir         
======================================================================




More information about the asterisk-bugs mailing list