Forums

Home / Forums

You need to log in to create posts and topics. Login · Register

logrotate - /var/log/syslog double definition

Hello.

In /etc/logrotate.d there is a syslog config file for /var/log/syslog, and a rsyslog config file that contains /var/log/syslog too.
This cause logrotate to fail:
root@petasan-05:/etc/logrotate.d# systemctl | grep rotate
● logrotate.service loaded failed failed Rotate log files

If you try to start the service, you can see the error in journal file with journalctl -xe

So I have deleted syslog (not rsyslog) config file, and started again the service:
systemctl start logrotate.service

I am running the last release of petasan.