[debian-mysql] mysql-server-5.1: init script breaks on package deinstallation (fails to check for binary)
rleigh at codelibre.net
Tue Aug 3 19:55:15 UTC 2010
severity 583611 serious
On Fri, May 28, 2010 at 08:44:43PM +0100, Roger Leigh wrote:
> % sudo /etc/init.d/mysql restart
> Stopping MySQL database server: mysqld.
> Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
> % mysql-server-5.1 | grep ^Status
> Status: deinstall ok config-files
> Please add a check for the server binary before executing any script
> actions like all other init scripts. You are actually doing this:
> test -x /usr/sbin/mysqld || exit 0
> but since /usr/sbin/mysqld lives in the mysql-server-core-5.1 package,
> this check is broken. Consider using a binary only found in this
> package, for example /usr/bin/mysqld_safe (if this is true). Here's
> a patch for that:
I'm raising the severity of this bug to serious. It's a violation
of Policy §9.3.2 because the script is misbehaving depending upon
whether or not another package is installed, and this is wrong.
The script should behave correctly under all circumstances, and
you should be checking for the correct binary rather than one in
a different package as was already pointed out.
The fix is trivial, as was pointed out in the original report(s),
and there has been no action or reponse taken in the past *four
months*. Given that this is an important package, and is pulled
in for all KDE users, this needs fixing now. Please take care of
it as soon as you are able. It must be fixed for squeeze.
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/
`- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the pkg-mysql-maint