Logrotate is not rotating /var/log/osad logs in RHEL7
Issue
- In RHEL7
logrotateignores/etc/logrotate.d/osadand throws error:
logrotate --verbose /etc/logrotate.conf
reading config file /etc/logrotate.conf
including /etc/logrotate.d
reading config file aide
reading config file cups
Ignoring osad because of bad file mode.
logrotatefails to rotate/var/log/osadlogs because it has (664) permissions instead of (644) permissions.
Environment
Red Hat Satellite 5
Red Hat Satellite 6
osad-5.11.63-13.el7sat
Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.