[Bug 1121874] [NEW] MySQL launch fails silently if < 4MB of disk space is available

Launchpad Bug Tracker 1121874 at bugs.launchpad.net
Thu Oct 17 22:16:58 UTC 2013


You have been subscribed to a public bug by Dave Chiluk (chiluk):

[Impact]
MySQL will not launch if less than 4MB of disk space is available:

/etc/init/mysql.conf:
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]
This fix is in sysv script but was never carried over to upstart. Regression minimal as no code changes were made.

** Affects: mysql-5.5 (Ubuntu)
     Importance: Medium
         Status: Triaged

** Affects: mysql-5.5 (Ubuntu Precise)
     Importance: Medium
         Status: Triaged

** Affects: mysql-5.5 (Ubuntu Quantal)
     Importance: Medium
         Status: Triaged

** Affects: mysql-5.5 (Ubuntu Raring)
     Importance: Medium
         Status: Triaged

-- 
MySQL launch fails silently if < 4MB of disk space is available
https://bugs.launchpad.net/bugs/1121874
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list