[debian-mysql] Bug#569930: mysql-server upgrade stop and restart a stopped server

Simon Morvan garphy at zone84.net
Mon Feb 15 08:52:03 UTC 2010


Package: mysql-server-5.0
Version: 5.0.51a-24+lenny3_i386

Hello folks,

When upgrading mysql-server on a lenny server on which mysqld is stopped
(because it's a standby heartbeat node), the upgrade script restart the
server at the end.

This can be considered as a minor problem but in my case (an
active/passive heartbeat cluster with DRBD sync) it'll start the server
outside of heartbeat-scope without the data partition being mounted,
resulting in stale file creation inside the directory that serves as the
mount point, and forces me to stop the process after each upgrade.

The correct behavior should be to test the existence of a running
process before killing/restarting or check the rc.d configuration to
check if the process is automatically started at boot time.

Cheers,

-- 
Simon Morvan






More information about the pkg-mysql-maint mailing list