I have updated my system using dnf upgrade for several releases.  I am currently running F39.  Today I was looking at my running services and noticed that the logrotate.service is failing to start due to the following error:

Jul 20 11:49:41 caseyjones.homenet192-168-10.com logrotate[307129]: error: syslog:1 duplicate log entry for /var/log/cron Jul 20 11:49:41 caseyjones.homenet192-168-10.com logrotate[307129]: error: syslog:1 duplicate log entry for /var/log/maillog Jul 20 11:49:41 caseyjones.homenet192-168-10.com logrotate[307129]: error: syslog:1 duplicate log entry for /var/log/messages Jul 20 11:49:41 caseyjones.homenet192-168-10.com logrotate[307129]: error: syslog:1 duplicate log entry for /var/log/secure Jul 20 11:49:41 caseyjones.homenet192-168-10.com logrotate[307129]: error: syslog:1 duplicate log entry for /var/log/spooler Jul 20 11:49:41 caseyjones.homenet192-168-10.com logrotate[307129]: error: found error in file syslog, skipping


A little investigation showed the following in /etc/logrotate.d

rsyslog:/var/log/messages
syslog:/var/log/messages

with the following info:

-rw-r--r--. 1 root root 221 Aug 24  2023 rsyslog
-rw-r--r--. 1 root root 210 Nov 14  2023 syslog

Why are there 2 entries and which one should I delete?

Paolo


--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to