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

Adam Stokes adam.stokes at canonical.com
Mon Aug 12 15:37:31 UTC 2013


** Patch added: "mysql-5.5_5.5.32-0ubuntu0.12.10.2.quantal.debdiff"
   https://bugs.launchpad.net/ubuntu/+source/mysql-5.5/+bug/1121874/+attachment/3769724/+files/mysql-5.5_5.5.32-0ubuntu0.12.10.2.quantal.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1121874

Title:
  MySQL launch fails silently if < 4MB of disk space is available

Status in “mysql-5.5” package in Ubuntu:
  Triaged
Status in “mysql-5.5” source package in Precise:
  Fix Committed
Status in “mysql-5.5” source package in Quantal:
  Fix Committed
Status in “mysql-5.5” source package in Raring:
  Fix Committed

Bug description:
  [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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.5/+bug/1121874/+subscriptions



More information about the Ubuntu-sponsors mailing list