Comment 36 for bug 326768

Revision history for this message
Mario Limonciello (superm1) wrote : Re: [Bug 326768] Re: mysqld_safe thinks mysqld has crashed when it hasn't

Mathias:

Spectacular idea. I just manually tried it on my test system that i've been
using to investigate this bug. It solves the problems entirely.

On Mon, May 11, 2009 at 22:04, Mathias Gug <email address hidden> wrote:

> 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 Mythbuntu
> Developers, which is subscribed to Mythbuntu.
>

--
Mario Limonciello
<email address hidden>