Common Controls Hub
System logs must be rotated daily.
Log files that are not properly rotated run the risk of growing so large that they fill up the /var/log partition. Valuable logging information could be lost if the /var/log partition becomes full.
Red Hat Enterprise Linux 6 Security Technical Implementation Guide
Check Text ( C-19424r376844_chk )
Run the following commands to determine the current status of the "logrotate" service:
# grep logrotate /var/log/cron*
If the logrotate service is not run on a daily basis by cron, this is a finding.
Fix Text (F-19422r376845_fix)
The "logrotate" service should be installed or reinstalled if it is not installed and operating properly, by running the following command:
# yum reinstall logrotate