errors found : Current logrotate configuration is not valid : error: stat of /var/log/freshclam.log failed

Freshly installed (from https://www.virtualmin.com/node/34094) CentOS 7 Virtualmin guest is giving:

Checking Virtualmin configuration ..
.. errors found : Current logrotate configuration is not valid : error: stat of /var/log/freshclam.log failed: No such file or directory. This must be fixed, or log file rotation will not be done.

I then created this file /var/log/freshclam.log and created new image for CentOS 7 and re-created a test guest system with the same error message persisting. I guess Cloudmin removes this file when creating a new image, so probably this is Cloudmin issue, not Vritualmin. If so, please move it to Cloudmin's issue queue.

Thanks.

Status: 
Closed (fixed)

Comments

Yeah, this is a Cloudmin bug - it shouldn't be deleting the freshclam.log during imaging. I will fix this in the next release.

Automatically closed -- issue fixed for 2 weeks with no activity.