RHEL7 で logrotate が /var/log/osad ログをローテーションしない
Issue
- RHEL7 で、
logrotateが/etc/logrotate.d/osadを無視し、以下のエラーをスローします。
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は、(644) パーミッションではなく (664) パーミッションを持つため、/var/log/osadログをローテーションできません。
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.