Red Hat Bugzilla – Bug 242231
logrotate file is missing
Last modified: 2013-07-02 23:13:38 EDT
Description of problem:
Logrotate file for MySQL in recent Fedora versions is missing.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Go to /etc/logrotate.d
File is not there and logrotate doesn't rotate MySQL logs which makes them
bigger and bigger.
Logrotate should rotate MySQL log files.
That file was removed intentionally because it never worked, and never can work without invasive changes
to the behavior of mysqld_safe; see bug #180639 and bug #72391 for prior discussions.
It's claimed upstream that it'll be possible to make it work as of mysql 5.1 (http://bugs.mysql.com/
bug.php?id=6061) but they don't want to back-port such a change and neither do I.