[Bug 326768] Re: mysqld_safe thinks mysqld has crashed when it hasn't
Mathias Gug
mathiaz at ubuntu.com
Tue May 12 04:04:21 BST 2009
Here is another way to fix the issue: add a wait to the trap:
-+trap '/usr/bin/mysqladmin --defaults-extra-file=/etc/mysql/debian.cnf refresh' 1 # HUP
++trap '/usr/bin/mysqladmin --defaults-extra-file=/etc/mysql/debian.cnf refresh & wait' 1 # HUP
This patch doesn't remove an existing functionality (signals are handled
by mysqld_safe).
I've attached a debdiff against ubuntu10 (currently in jaunty). I'll
publish a package in my PPA and ask for more testing once done.
** Attachment added: "mysql-dfsg-5.0_5.1.30really5.0.75-0ubuntu10.2.debdiff"
http://launchpadlibrarian.net/26619255/mysql-dfsg-5.0_5.1.30really5.0.75-0ubuntu10.2.debdiff
--
mysqld_safe thinks mysqld has crashed when it hasn't
https://bugs.launchpad.net/bugs/326768
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.
More information about the Ubuntu-server-bugs
mailing list