Summary: | ASTERISK-15248: [patch] new option: lockconfdir for protecting conf files in /etc/asterisk during reloads | ||
Reporter: | raarts (raarts) | Labels: | |
Date Opened: | 2009-12-01 03:06:21.000-0600 | Date Closed: | 2010-03-17 09:59:26 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/Configuration |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) lockconfdir.diff | |
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. | ||
Comments: | By: raarts (raarts) 2009-12-04 00:42:18.000-0600 License is approved by legal By: Digium Subversion (svnbot) 2010-01-27 12:29:51.000-0600 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 ASTERISK-15248) Reported by: raarts Patches: lockconfdir.diff uploaded by raarts (license 937) modified by me ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=243551 By: raarts (raarts) 2010-01-27 13:30:09.000-0600 Now isn't this supposed to increase my karma ;-) (Sorry to reopen this for something this futile, but I like karma..) By: Leif Madsen (lmadsen) 2010-03-17 09:59:17 Karma is no longer being used on the Mantis system as it is not an accurate representation of... well.... anything. |