log_error not set in my.cnf, errors not written anywhere
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.5 (Ubuntu) |
Fix Released
|
High
|
Clint Byrum | ||
Precise |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
Bugs reported on mysql in Precise are very difficult to triage, because apport doesn't submit logs and reporters don't even have them available. Thus this impacts all mysql bugs in Precise, not just this one.
[Test Case]
1. install mysql-server
2. make sure it is running (service mysql start)
3. mysql -uroot -e "SHOW VARIABLES LIKE 'log_error'" -p
- a broken mysql-server will show a blank answer
- fixed package will show '/var/log/
4. Check that /var/log/
[Regression Potential]
Very low, as its just a config file change. People may not have been expecting this file to be written though.
------------
The errors for mysqld in 5.1 packages used to be written to /var/log/
This should be restored so the logs can be written properly.
Changed in mysql-5.5 (Ubuntu Precise): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in mysql-5.5 (Ubuntu): | |
status: | In Progress → Fix Committed |
description: | updated |
This bug was fixed in the package mysql-5.5 - 5.5.25a-0ubuntu1
---------------
mysql-5.5 (5.5.25a-0ubuntu1) quantal; urgency=low
[ Clint Byrum ] server- 5.5.mysql- server. logrotate: Add log/mysql/ error.log so it is rotated properly. (LP: #879560)
* New upstream release.
* d/additions/my.cnf: Ensure mysql errors are written to log file.
(LP: #1014732)
* d/mysql-
/var/
* d/control: remove Vcs-* as they are inaccurate in Ubuntu.
* d/rules: use WITH_SSL=bundled to ensure that we do not accidentally
build against openssl.
* d/control, d/rules: cherry pick fix from Debian to use gcc 4.4 only
for i386 to work around problems with yaSSL assembly (LP: #1012139)
[ Matthieu Baerts (matttbe) ]
* Update apport hook for python3 ; patch by Edward Donovan (LP: #1013171)
-- Clint Byrum <email address hidden> Thu, 19 Jul 2012 16:14:50 -0700