I cannot see a difference with

ii  mysql-server-5.5 5.5.29-0ubuntu0.12.04.2 MySQL database server
binaries and system database setup

As I have too much disk space on my test machine, I've changed the code
to check for much more space but left the rest untouched:

    LC_ALL=C BLOCKSIZE= df --portability /var/lib/mysql/. | tail -n 1 |
awk '{ exit ($4<409600000) }'

The result is that the start of mysql fails, but there are no new
logentries (I truncated all files before starting mysql):

root@mysql:~# service mysql start
start: Job failed to start
root@mysql:~# ls -l /var/log/mysql/error.log /var/log/mysql* /var/log/syslog 
-rw-r----- 1 mysql  adm    0 Apr 18 08:42 /var/log/mysql.err
-rw-r----- 1 mysql  adm    0 Apr 18 08:42 /var/log/mysql.log
-rw-rw---- 1 mysql  adm    0 Apr 18 08:45 /var/log/mysql/error.log
-rw-r----- 1 syslog adm    0 Apr 18 08:44 /var/log/syslog

/var/log/mysql:
total 0
-rw-rw---- 1 mysql adm 0 Apr 18 08:45 error.log

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to