Have/Had the same issue.
As the logrotate is executed by the daily cronjob, I modified /etc/cron.daily/logrotate to the following:
-------------------------------------------------
#!/bin/sh
/usr/sbin/logrotate -s /var/lib/logrotate/logrotate.status /etc/logrotate.conf
EXITVALUE=$?
if [ $EXITVALUE != 0 ]; then
/usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]"
fi
/bin/systemctl restart rsyslog
exit 0
----------------------------------------------------
A workaround.
Have/Had the same issue. daily/logrotate to the following: ------- ------- ------- ------- ------- -------
As the logrotate is executed by the daily cronjob, I modified /etc/cron.
-------
#!/bin/sh
/usr/sbin/logrotate -s /var/lib/ logrotate/ logrotate. status /etc/logrotate.conf ------- ------- ------- ------- ------- ------- ---
EXITVALUE=$?
if [ $EXITVALUE != 0 ]; then
/usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]"
fi
/bin/systemctl restart rsyslog
exit 0
-------
And that resolved the issue.