<blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">I think the ability to tell loader.c that the module is disabled<br>will still be helpful but this is also a good idea.</p><p style="white-space: pre-wrap; word-wrap: break-word;">As for declining vs not declining I think you've hit the right<br>balance.  It's reasonable to decline in response to system errors,<br>if we can't allocate ACO structures then other stuff will likely<br>fail anyways.</p><p style="white-space: pre-wrap; word-wrap: break-word;">One thing I wish that we could decline upon invalid statsd.conf but<br>succeed for missing statsd.conf and system errors.  I haven't<br>looked into what it would take to get ACO to support a flag causing<br>missing config to initialize defaults and return success. <br>Obviously it would be a change of behavior but maybe that's the way<br>ACO should just work?</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">The config framework could fairly easily be made to return a different value if<br>the config file does not exist.  This would allow the module to setup whatever<br>implicit default configuration it wants when there is no explicit user<br>configuration.  The features module already has to do this if an error is<br>returned for historical reasons.</p><p><a href="https://gerrit.asterisk.org/10385">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.asterisk.org/10385">change 10385</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/10385"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: If1068a582ec54ab7fb437265cb5370a97a825737 </div>
<div style="display:none"> Gerrit-Change-Number: 10385 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 (1000185) </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 03 Oct 2018 12:53:36 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-HasLabels: No </div>