[asterisk-bugs] [Asterisk 0016358]: [patch] new option: lockconfdir for protecting conf files in /etc/asterisk during reloads

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 27 12:29:51 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16358 
====================================================================== 
Reported By:                raarts
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16358
Category:                   Core/Configuration
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     ready for testing
Target Version:             1.8
Asterisk Version:           SVN 
JIRA:                       SWP-533 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-12-01 03:06 CST
Last Modified:              2010-01-27 12:29 CST
====================================================================== 
Summary:                    [patch] new option: lockconfdir for protecting conf
files in /etc/asterisk during reloads
Description: 
Hi,

because we regenerate asterisk config files externally, we need to protect
the /etc/asterisk directory with a lock. I'd like to put in a new config
option for asterisk.conf: lockconfdir. If yes, asterisk creates and
honoures the lock file during reloads. Defaults to 'no' of course.

Patch attached.

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

---------------------------------------------------------------------- 
 (0117253) svnbot (reporter) - 2010-01-27 12:29
 https://issues.asterisk.org/view.php?id=16358#c117253 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 243551

U   trunk/CHANGES
U   trunk/Makefile
U   trunk/include/asterisk/options.h
U   trunk/main/asterisk.c
U   trunk/main/loader.c

------------------------------------------------------------------------
r243551 | jpeeler | 2010-01-27 12:29:50 -0600 (Wed, 27 Jan 2010) | 8 lines

Add new option to asterisk.conf (lockconfdir) to protect conf dir during
reloads

(closes issue https://issues.asterisk.org/view.php?id=16358)
Reported by: raarts
Patches: 
      lockconfdir.diff uploaded by raarts (license 937)
      modified by me

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

http://svn.digium.com/view/asterisk?view=rev&revision=243551 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-27 12:29 svnbot         Note Added: 0117253                          
======================================================================




More information about the asterisk-bugs mailing list