Comment 5 for bug 879560

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Ok, this bug was introduced in mysql-dfsg-5.1 version 5.1.37-1ubuntu6, this changelog entry:

  * debian/additions/my.cnf:
    - Remove pid declaration
    - Set up error logging to /var/log/mysql since we're not piping
      anything around logger anymore.

The old init script piped mysql's stderr to syslog with

ERR_LOGGER="logger -p daemon.err -t /etc/init.d/mysql -i"

This should have included an addition to mysql-server-5.1.mysql-server.logrotate to add this new error log, but it did not.

I've confirmed it still exists in the latest version of the mysql-5.1 package. Marking as Triaged, as this is an Ubuntu-specific issue and does not need any further forwarding. Setting importance to Medium, as mysql actually doesn't print many errors unless it is *extremely* broken, otherwise we might have heard about this sooner (this change is just under 2 years old and has been in the wild since 10.04 was released 18 months ago.)

Because this is a small, clear change, I will also nominate it for SRU to lucid.