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.
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 mysqladmin --defaults- extra-file= /etc/mysql/ debian. cnf refresh & wait' 1 # HUP
++trap '/usr/bin/
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.