Bug#708380: [debian-mysql] Bug#708380: mysql-server-5.5: Upgrade from squeeze to wheezy fails due deprecated replication config

2013-05-21 Thread Rudy Godoy
On Tue, May 21, 2013 at 11:52:49AM +0200, Bjoern Boschman wrote:
> hi,

Hello,

> 
> those config options are user-supplied and in the meatime deprecated.
> as far as I know there is no my.cnf config checker / tester which could
> point the user that he has to manual do config update
> 
> but in terms of debian packaging it is not real our job to care about
> user defined config parameters?!
> 

I do agree. However when such an upgrade takes place I believe it's
better not to proceed with the upgrade and warn the user that she/he
needs to tweak their custom configuration files.

In my case the upgrade was trying to continue and failed everytime
with no aparent problem, until I checked the logs.

regards,
Rudy

-- 
Rudy Godoy
http://stone-head.org


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#708380: [debian-mysql] Bug#708380: mysql-server-5.5: Upgrade from squeeze to wheezy fails due deprecated replication config

2013-05-21 Thread Bjoern Boschman
hi,

those config options are user-supplied and in the meatime deprecated.
as far as I know there is no my.cnf config checker / tester which could
point the user that he has to manual do config update

but in terms of debian packaging it is not real our job to care about
user defined config parameters?!

Cheers
B

Am 15.05.2013 14:46, schrieb Rudy Godoy:
> Package: mysql-server-5.5
> Version: 5.5.30+dfsg-1.1
> Severity: important
> Tags: upstream
> 
> While upgrading from squeeze I've faced an issue with a Slave server
> which had the following replication variables configured on my.cnf:
> 
> master-host=hostname
> master-user=username
> master-password=password
> master-connect-retry=60
> 
> syslog gave the following error:
> May 15 11:35:31 slave-host mysqld_safe[28143]: 130515 11:35:31 [ERROR] 
> /usr/sbin/mysqld: unknown variable 'master-host=hostname'
> May 15 11:35:31 slave-host mysqld_safe[28143]: 130515 11:35:31 [ERROR] 
> Aborting
> 
> I've tried to find the reason why they are not valid anymore on MySQL's
> release notes without any luck!
> 
> I think it should be a good idea to have the changes in place before doing 
> the upgrade leaving the system unusable and with no access to .debian 
> maintainer comments.
> 
> thanks,
> Rudy
> 
> -- System Information:
> Debian Release: 7.0
>   APT prefers stable
>   APT policy: (500, 'stable'), (500, 'oldstable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 2.6.32-358.2.1.el6.x86_64 (SMP w/8 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages mysql-server-5.5 depends on:
> ii  adduser3.113+nmu3
> ii  debconf [debconf-2.0]  1.5.49
> ii  initscripts2.88dsf-41
> ii  libc6  2.13-38
> ii  libdbi-perl1.622-1
> ii  libgcc11:4.7.2-5
> ii  libstdc++6 4.7.2-5
> ii  lsb-base   4.1+Debian8
> ii  mysql-client-5.5   5.5.30+dfsg-1.1
> ii  mysql-common   5.5.30+dfsg-1.1
> ii  mysql-server-core-5.5  5.5.30+dfsg-1.1
> ii  passwd 1:4.1.5.1-1
> ii  perl   5.14.2-21
> ii  psmisc 22.19-1+deb7u1
> ii  zlib1g 1:1.2.7.dfsg-13
> 
> Versions of packages mysql-server-5.5 recommends:
> ii  heirloom-mailx [mailx]  12.5-2
> ii  libhtml-template-perl   2.91-1
> 
> Versions of packages mysql-server-5.5 suggests:
> pn  tinyca  
> 
> -- debconf information:
>   mysql-server-5.5/start_on_boot: true
>   mysql-server-5.5/nis_warning:
> * mysql-server/error_setting_password:
>   mysql-server-5.5/really_downgrade: false
>   mysql-server-5.5/postrm_remove_databases: false
>   mysql-server/password_mismatch:
>   mysql-server/no_upgrade_when_using_ndb:
> 
> ___
> pkg-mysql-maint mailing list
> pkg-mysql-ma...@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-mysql-maint
> 


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#708380: [debian-mysql] Bug#708380: mysql-server-5.5: Upgrade from squeeze to wheezy fails due deprecated replication config

2013-05-15 Thread Steven Ayre
If you read the manual documentation for those options they have been
deprecated since 5.1.17. Sounds like in 5.5 they were removed entirely. You
should have transitioned away from these during Squeeze.

The preferred place to set them is the master.info file which is configured
via the CHANGE MASTER query.