[Pkg-clamav-devel] Bug#618539: upgrading clamav-milter breaks configuration : does not restart

Teodor MICU mteodor at gmail.com
Thu Mar 17 09:46:40 UTC 2011


2011/3/17 Michael Tautschnig <mt at debian.org>:
> I just checked our packaging repository and couldn't find any trace of "true"
> being a possible setting. No idea how that made it into your config.

I searched this in my changetrack log and found that the previous
clamav* update (v0.96.5 from lenny volatile) has added only this:
Changes made to '/etc/clamav/clamav-milter.conf' follow:
  @@ -17,6 +17,7 @@
   LogFacility LOG_MAIL
   LogVerbose true
   LogInfected Full
  +LogClean Off
   MaxFileSize 60M
   RejectMsg "Service unavailable; Blocked INFECTED (%v)"

And to make it work for the laters update from stable-proposed-updates
(v0.97) I removed the two lines that are not recognized as valid
configuration anymore:
Changes made to '/etc/clamav/clamav-milter.conf' follow:
  @@ -16,8 +16,6 @@
   LogSyslog true
   LogFacility LOG_MAIL
   LogVerbose true
  -LogInfected Full
  -LogClean Off
   MaxFileSize 60M
   RejectMsg "Service unavailable; Blocked INFECTED (%v)"
   TemporaryDirectory /tmp

To conclude, the change to "LogInfected true" I think it was done by
me manually to fix the startup error. However, I re-added "LogInfected
Full" back to clamav-milter.conf and it (re)starts without error this
time. (weird)


Setting up clamav-milter (0.97+dfsg-2~squeeze1) ...
Replacing config file /etc/clamav/clamav-milter.conf with new version
Starting Sendmail milter plugin for ClamAV: clamav-milterERROR:
Missing argument for option at line 20
/usr/sbin/clamav-milter: cannot parse config file /etc/clamav/clamav-milter.conf

More information about the Pkg-clamav-devel mailing list