MySQL daemon crashes daily on logrotate's flush-logs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL Server |
New
|
Undecided
|
Unassigned | ||
mysql-dfsg-5.0 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Dapper |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mysql-server-5.0
The version of MySQL supplied with Dapper Drake crashes every day when logrotate tries to tell it to flush logs, if expire-log-days is enabled but log-bin is disabled in /etc/mysql/my.cnf. The logrotate cron job output looks like this:
/etc/cron.
^G/usr/
server during query'
error: error running shared postrotate script for /var/log/mysql.log
/var/log/
run-parts: /etc/cron.
This is a well-known upstream bug (http://
Workaround is to either disable expire-log-days or enable log-bin on the affected server.
Please update the Dapper package to latest MySQL 5.0, or at least 5.0.33.
mysql-server-5.0: 5.0.22-
Description: Ubuntu 6.06.2 LTS
Release: 6.06
Changed in mysql-server: | |
importance: | Unknown → Undecided |
status: | Unknown → New |
Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better!