MySQL launch fails silently if < 4MB of disk space is available
Bug #1121874 reported by
Kurt Huwig
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.5 (Ubuntu) |
Fix Released
|
Medium
|
Dave Chiluk | ||
Precise |
Fix Released
|
Medium
|
Dave Chiluk | ||
Quantal |
Fix Released
|
Medium
|
Dave Chiluk | ||
Raring |
Won't Fix
|
Medium
|
Dave Chiluk | ||
Saucy |
Fix Released
|
Medium
|
Dave Chiluk |
Bug Description
[Impact]
MySQL will not launch if less than 4MB of disk space is available:
/etc/init/
LC_ALL=C BLOCKSIZE= df --portability /var/lib/mysql/. | tail -n 1 | awk '{ exit ($4<4096) }'
This behaviour is OK, but it should not stop silently but report an error message so that the admin knows why it did not start.
[Test Case]
1) Prep system to have 4MB disk space
2) Attempt to start mysql server
3) Silent fail with upstart
[Regression Potentional]
Possible regressions may include mysql failing to start. As the upstart job has been modified.
Changed in mysql-5.5 (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in mysql-5.5 (Ubuntu Raring): | |
assignee: | nobody → Robie Basak (racb) |
Changed in mysql-5.5 (Ubuntu Precise): | |
importance: | Undecided → Medium |
Changed in mysql-5.5 (Ubuntu Quantal): | |
importance: | Undecided → Critical |
importance: | Critical → Medium |
tags: |
added: verification-failed removed: verification-needed |
tags: | removed: verification-failed |
Changed in mysql-5.5 (Ubuntu): | |
status: | Fix Released → Triaged |
Changed in mysql-5.5 (Ubuntu): | |
status: | Triaged → In Progress |
Changed in mysql-5.5 (Ubuntu Precise): | |
status: | Triaged → In Progress |
Changed in mysql-5.5 (Ubuntu Quantal): | |
status: | Triaged → In Progress |
Changed in mysql-5.5 (Ubuntu Raring): | |
status: | Triaged → In Progress |
Changed in mysql-5.5 (Ubuntu Quantal): | |
assignee: | nobody → Dave Chiluk (chiluk) |
Changed in mysql-5.5 (Ubuntu Raring): | |
assignee: | nobody → Dave Chiluk (chiluk) |
Changed in mysql-5.5 (Ubuntu Precise): | |
assignee: | nobody → Dave Chiluk (chiluk) |
Changed in mysql-5.5 (Ubuntu): | |
assignee: | nobody → Dave Chiluk (chiluk) |
Changed in mysql-5.5 (Ubuntu Saucy): | |
assignee: | nobody → Dave Chiluk (chiluk) |
importance: | Undecided → Medium |
status: | New → In Progress |
description: | updated |
tags: | added: verification-precise-done |
tags: | removed: verification-failed |
tags: |
added: verification-done-precise verification-done-quantal removed: verification-precise-done |
tags: | removed: verification-done-precise verification-done-quantal |
tags: | added: verification-done-trusty |
tags: | added: verification-done-quantal |
Changed in mysql-5.5 (Ubuntu Precise): | |
status: | Fix Released → Fix Committed |
Changed in mysql-5.5 (Ubuntu Saucy): | |
status: | Fix Released → Fix Committed |
Changed in mysql-5.5 (Ubuntu Quantal): | |
status: | Fix Released → Fix Committed |
To post a comment you must log in.
This looks to be addressed already in mysql-5. 5_5.5.29- 0ubuntu0. 12.04.2, could the OP please test with latest mysql-5.5 on Precise?
Thanks
Adam