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

Dave Chiluk 1121874 at bugs.launchpad.net
Mon Oct 21 14:47:58 UTC 2013


** 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: (unassigned) => Dave Chiluk (chiluk)

** Changed in: mysql-5.5 (Ubuntu Raring)
     Assignee: (unassigned) => Dave Chiluk (chiluk)

-- 
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:
  In Progress
Status in “mysql-5.5” source package in Precise:
  In Progress
Status in “mysql-5.5” source package in Quantal:
  In Progress
Status in “mysql-5.5” source package in Raring:
  In Progress

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