It seems that the default clamav-milter.conf has syslog enabled instead of a file, and the postinst script doesn't find the LogFile setting and thus the logfile name, so it puts 'none' in /etc/logrotate.d/clamav- milter. Steps to correct:
- uninstall clamav-milter (without purge) - remove /etc/logrotate.d/clamav-milter - edit /etc/clamav/clamav-milter.conf like this: LogSyslog false LogFile /var/log/clamav/clamav-milter.log - sudo apt-get install clamav-milter (the logrotate.d/clamav-milter file gets generated correctly) - check the /var/log/clamav/clamav-milter.log exists - run 'sudo /usr/sbin/logrotate /etc/logrotate.d/clamav-milter', should work without errors, and you should see the clamav-milter.log file rotated It still gives an error about clamav-milter reload-log, not sure what should be there (I see only restart). -- clamav-milter logrotate script fails (jaunty) https://bugs.launchpad.net/bugs/363804 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
