Bug ID 645612: Logrotate does not rotate log files

Last Modified: Sep 13, 2023

Affected Product(s):
BIG-IP All(all modules)

Known Affected Versions:
12.0.0, 12.0.0 HF1, 12.1.0 HF1, 12.0.0 HF2, 12.1.0 HF2, 12.0.0 HF3, 12.0.0 HF4, 12.1.1 HF1, 12.1.1 HF2, 12.1.2 HF1, 12.1.2 HF2

Opened: Feb 16, 2017

Severity: 3-Major

Symptoms

1. Unrotated logs 2. Running out of diskspace

Impact

No log rotation, eventual disk space exhaustion

Conditions

BIG-IP running v12.0.0 series only

Workaround

Modify /etc/cron.daily/logrotate: Change the following line from: my $exitvalue = system("/usr/bin/logger -t logrotate 'cron: logrotate'"); to: my $exitvalue = system("nice -n 19 ionice -c 3 /usr/sbin/logrotate /etc/logrotate.conf");

Fix Information

None

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips