<html><body><div><div>How does dnsmasq behave if there is a configuration error in the config file elsewhere?  If the syntax is broken then it fails hard.  Don't see why this wouldn't be true of a suplemental config script being referred to in the main one.<br></div><div><br></div><div>And as to --fail-safe:  I don't see how this is reasonable, as it will lead to undesirable operation and possibly even broken clients if the mistake includes part of the dhcp configuration.<br></div><div><br></div><div>Its annoying, but probably better for services not to start if they can't interpret/understand their starting state.<br></div><div><br></div><div>Rance</div><div><br></div><blockquote type="cite"><div>On Mar 4, 2022, at 4:16 AM, Ercolino de Spiacico <bellocarico@hotmail.com> wrote:<br></div><div><br></div><div><br></div><div><div><div>> I've just added it to 2.87test8<br></div><div><br></div><div>> Please test and report back.<br></div><div><br></div><div><br></div><div><br></div><div>I'm finally managed to find a way to build from sources. One initial <br></div><div>feedback:<br></div><div><br></div><div>I cross referenceed the conf script e.g.<br></div><div><br></div><div>conf-scrip=/tmp/adblock-expander.sh<br></div><div><br></div><div>If the file doesn't exists or has a broken syntax it will make the whole <br></div><div>dnsmasq process failing with a message like "/tmp/adblock-expander.sh <br></div><div>returns a non 0 exit code something"<br></div><div><br></div><div>This is perhaps a wider topic and goes a bit out of scope for this <br></div><div>feature request, but perhaps we should:<br></div><div><br></div><div>1) remove this error control for conf-script and simply log+skip errors <br></div><div>rather than crash land the whole dnsmasq.<br></div><div><br></div><div>2) perhaps introducing a new "--fail-safe" option for dnsmasq to extend <br></div><div>point 1) to any broken directive in the configuration<br></div><div><br></div><div><br></div><div>Thanks!<br></div><div><br></div><div>_______________________________________________<br></div><div>Dnsmasq-discuss mailing list<br></div><div>Dnsmasq-discuss@lists.thekelleys.org.uk<br></div><div>https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss<br></div></div></div></blockquote><div><br></div></div><div><br></div></body></html>