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

Adam Stokes adam.stokes at canonical.com
Wed May 8 14:59:40 UTC 2013


re #4,

Yea I realized this was in sysv script but not upstart, attached
debdiffs to fix that.

Thanks for your help
Adam

-- 
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:
  New
Status in “mysql-5.5” source package in Quantal:
  New
Status in “mysql-5.5” source package in Raring:
  Triaged

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