Logrotate is not rotating /var/log/osad logs in RHEL7

Solution Verified - Updated -


  • In RHEL7 logrotate ignores /etc/logrotate.d/osad and 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.
  • logrotate fails to rotate /var/log/osad logs because it has (664) permissions instead of (644) permissions.


Red Hat Satellite 5
Red Hat Satellite 6
Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In