[debian-mysql] Patches for MySQL 5.6 packaging

Clint Byrum spamaps at debian.org
Mon Oct 28 16:59:48 UTC 2013


Excerpts from Akhil Mohan's message of 2013-10-28 04:37:33 -0700:
> 
> Hi Björn,
> 
> I have spent some time with the postinst script for MySQL 5.6 packages 
> and I was able to resolve most of the visible issues with the script 
> that were blocking the installation.
> Please find the 'svn diff' output attached along with this mail for your 
> review.
> 
> Most of the changes are in postinst script and a small patch has been 
> added to modify search path for finding my-default.cnf file in source 
> file scripts/mysql_install_db.pl.in.
> 
> With the above modifications, I am able to create packages that can 
> perform a install, un-install and re-install. Moreover, managing the 
> mysql service with '/etc/init.d/mysql start|stop|restart' works fine. 
> All the testing has been done on a fresh install of wheezy without 
> having any version of MySQL pre-installed.
> 
> Please let me know if the attached modifications are of acceptable 
> quality and if there are more such areas that require immediate attention.
> 

This is _great_ thank you Akhil.

I'd like to hold off a bit longer on 5.6 going into unstable. Things I
want to get done first:

* MariaDB in unstable
* pkg-mysql on git instead of svn.

MariaDB being in unstable is the more important one. I want to make sure
we maintain installability for the two of them. IIRC, /etc/mysql/my.cnf
from 5.6 will not always work for MariaDB. This means we must tread
lightly with the mysql-common package. I wish both projects would make
that path not hard coded, but as yet nobody has championed that change.

Nicholas Bamber was also looking at changing the source package name
to just 'mysql' so that we don't have to pass the NEW queue every time
MySQL releases a new GA. So I think that should be done in your packages
as well, since we'd have to pass NEW to get a mysql-5.6 in anyway.



More information about the pkg-mysql-maint mailing list