[Bug 879560] Re: Logrotate conf file for mysql-server and my.cnf disagree

Jared Biel 879560 at bugs.launchpad.net
Fri Oct 21 17:35:38 UTC 2011


** Description changed:

- Currently the stock my.cnf included in the package mysql-common
- specifies that an error log is created at /var/log/mysql/error.log. The
- logrotate conf file /etc/logrotate.d/mysql-server (part of mysql-
- server-5.1) doesn't take this file into account so it can continue to
- grow forever unchecked. In fact, the logrotate conf file states that
- /var/log/mysql/error.log has the comment "The error log is obsolete,
+ The stock my.cnf file (part of mysql-common) specifies that an error log
+ is to be created at /var/log/mysql/error.log. The logrotate conf file
+ /etc/logrotate.d/mysql-server (part of mysql-server-5.1) doesn't take
+ this file into account so it can continue to grow forever unchecked.
+ 
+ The logrotate conf file has the comment "The error log is obsolete,
  messages go to syslog now.". These packages are not in agreement with
- each other and the result is that the error.log file can grow very large
- because it's never rotated. I'm currently using Natty but this bug is
- also present in the Oneric packages.
+ each other. I'm currently using Natty but this bug is also present in
+ the Oneric packages.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/879560

Title:
  Logrotate conf file for mysql-server and my.cnf disagree

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.1/+bug/879560/+subscriptions



More information about the Ubuntu-server-bugs mailing list