Aecio F. Neto wrote:

>> 1) A completely unknown option: In this case, I agree that Clam should
>> abort after writing errors to stderr and syslog.  A completely unknown
>> option indicates a serious problem; the configuration file could never
>> have been valid.

> Why? Ignore it and move to next one.
> I can't understand why an unknown option would prevent a service to start.

Because it indicates a configuration file that not only is invalid,
but was never valid.

What if some poor user puts this in the ClamAV file:

     BlockAllZips yes

and expects it to work?  The principle of least surprise says ClamAV
should reject that.  By the same token, the principle of least surprise
says that ClamAV should not break on previously-valid configuration files.

Regards,

David.
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to