Hi again, sorry for the delay. TBH I was hoping againt hope that this'll just go away. I've gotten two more error e-mails in the meantime:
21st: /etc/cron.daily/logrotate: error: error running non-shared postrotate script for /var/log/clamav/freshclam.log of '/var/log/clamav/freshclam.log ' gzip: stdin: file size changed while zipping run-parts: /etc/cron.daily/logrotate exited with return code 1 13th: /etc/cron.daily/logrotate: error: error running non-shared postrotate script for /var/log/clamav/freshclam.log of '/var/log/clamav/freshclam.log ' run-parts: /etc/cron.daily/logrotate exited with return code 1 Question: Is this one error, definitely coming from clamav-freshclam, or could it be that the gzip line comes from $otherpackage, i.e., would multiple unrelated errors land in one e-mail? Verbose output of a forced logrotate run is attached. Nothing about gzip, just the postrotate script failing. I'm guessing that'd be: if [ -d /run/systemd/system ]; then systemctl -q is-active clamav-freshclam && systemctl kill --signal=SIGHUP clamav-freshclam else /etc/init.d/clamav-freshclam reload-log > /dev/null fi Now "[ -d /run/systemd/system ]" obviously holds, "systemctl -q is-active clamav-freshclam && echo test" prints nothing (as expected) so this should be a no-op. $? is 3, though, maybe that's interpreted as failure? Regards Christian
logrotate.log
Description: Binary data