<div dir="ltr"><div><div><div><div><div>Hi again,<br><br></div>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:<br><br>21st:<br>/etc/cron.daily/logrotate:<br>error: error running non-shared postrotate script for /var/log/clamav/freshclam.log of '/var/log/clamav/freshclam.log '<br>gzip: stdin: file size changed while zipping<br>run-parts: /etc/cron.daily/logrotate exited with return code 1<br><br>13th:<br>/etc/cron.daily/logrotate:<br>error: error running non-shared postrotate script for /var/log/clamav/freshclam.log of '/var/log/clamav/freshclam.log '<br>run-parts: /etc/cron.daily/logrotate exited with return code 1<br><br></div><div>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?<br></div><div><br></div>Verbose output of a forced logrotate run is attached. Nothing about gzip, just the postrotate script failing. I'm guessing that'd be:<br><br>if [ -d /run/systemd/system ]; then<br>         systemctl -q is-active clamav-freshclam && systemctl kill --signal=SIGHUP clamav-freshclam<br>else<br>         /etc/init.d/clamav-freshclam reload-log > /dev/null<br>fi<br><br></div>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?<br><br></div>Regards<br></div>Christian <br><br></div>