Your message dated Wed, 22 Jul 2015 19:48:44 +0200
with message-id <55afd77c.9010...@debian.org>
and subject line Fwd: mysql-5.6_5.6.25-3_amd64.changes ACCEPTED into unstable
has caused the Debian Bug report #792080,
regarding mysql-common: needs to handle upgrades from mariadb-common that 
creates my.cnf -> mariadb.cnf symlink
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
792080: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=792080
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: mysql-common
Version: 5.6.25-2
Severity: serious
Tags: patch

mariadb-common introduced some fallback mode to create a
my.cnf -> mariadb.cnf symlink (and renames the original my.cnf to
my.cnf.old) in case the update-links script is not available.
This needs to be handled in mysql-common, because currently
upgrading mysql-common over mariadb-common in in stretch/sid results in
my.cnf.migrated being created that is actually mariadb.cnf instead of
my.conf.old

Since the issue is hard to describe in detail and with all pitfalls
without digging into it and testing it, I rather developed patches
that I tested in sid and stretch, to ensure sane upgrade paths.
The commit messages should explain all the problems involved ...
if you have more questions, just ask.

This cleanup code needs to go into mysql-common since it cannot be
enforced that mariadb-common is upgraded first (that package may be
deconfigured or in config-files-remaining state, leaving a messed up
my.cnf)

git://git.debian.org/users/anbe/tmp/mysql-5.6.git

Andreas Beckmann (6):
      mysql-common.postinst: install my.cnf.fallback alternative after 
rm_conffile my.cnf
      mysql-common.preinst: revert mariadb-common my.cnf fallback symlink
      mysql-common.preinst: recover from unmodfied mariadb.cnf as 
my.cnf.migrated
      mysql-common.postrm: delete my.cnf.{migrated,old} on purge
      mysql-common.postrm: only remove alternatives created by our postinst
      mysql-common: add Breaks: mariadb-common (<< 10.0.20-3~)


Andreas

PS: this should go along with mariadb-common dropping that piece of code
and adding a Depends: mysql-common (>= 5.6.25-3), I'm working on patches
for this, too.

PPS: The migration of my.cnf from conffile to alternatives otherwise
looks well thought and implemented. The lack of mariadb-common handling is
understandable since that "fallback mode" was implemented only recently
and after the my.cnf migration was designed.

--- End Message ---
--- Begin Message ---
Version: 5.6.25-3

With all the discussion in this bug, I actually forgot to close it in my
upload :-)


Andreas

-------- Forwarded Message --------
Subject: mysql-5.6_5.6.25-3_amd64.changes ACCEPTED into unstable
Date: Wed, 22 Jul 2015 17:20:06 +0000
From: Debian FTP Masters <ftpmas...@ftp-master.debian.org>
To: Debian MySQL Maintainers <pkg-mysql-ma...@lists.alioth.debian.org>,
Andreas Beckmann <a...@debian.org>



Accepted:

Format: 1.8
Date: Wed, 22 Jul 2015 18:51:03 +0200
Source: mysql-5.6
Binary: libmysqlclient18 libmysqld-pic libmysqld-dev libmysqlclient-dev
mysql-common mysql-client-core-5.6 mysql-client-5.6
mysql-server-core-5.6 mysql-server-5.6 mysql-server mysql-client
mysql-testsuite mysql-testsuite-5.6 mysql-source-5.6
Architecture: source all
Version: 5.6.25-3
Distribution: unstable
Urgency: medium
Maintainer: Debian MySQL Maintainers
<pkg-mysql-ma...@lists.alioth.debian.org>
Changed-By: Andreas Beckmann <a...@debian.org>
Description:
 libmysqlclient-dev - MySQL database development files
 libmysqlclient18 - MySQL database client library
 libmysqld-dev - MySQL embedded database development files
 libmysqld-pic - PIC version of MySQL embedded server development files
 mysql-client - MySQL database client (metapackage depending on the
latest versio
 mysql-client-5.6 - MySQL database client binaries
 mysql-client-core-5.6 - MySQL database core client binaries
 mysql-common - MySQL database common files, e.g. /etc/mysql/my.cnf
 mysql-server - MySQL database server (metapackage depending on the
latest versio
 mysql-server-5.6 - MySQL database server binaries and system database setup
 mysql-server-core-5.6 - MySQL database server binaries
 mysql-source-5.6 - MySQL source
 mysql-testsuite - MySQL testsuite
 mysql-testsuite-5.6 - MySQL 5.6 testsuite
Closes: 739846 790406
Changes:
 mysql-5.6 (5.6.25-3) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Robie Basak ]
   * Conflict/Replace mysql-client-5.5 (<< 5.6) to fix conflict on
     /usr/bin/innochecksum which has moved to the server-core package now
     (Closes: #790406).
   * Correctly exit with status 0 in the init.d script (Closes: #739846).
     Thanks to Bob Proulx.
 .
   [ Andreas Beckmann ]
   * mysql-common.postinst: Do not install my.cnf.fallback alternative
before
     dpkg-maintscript-helper rm_conffile my.cnf has been run.
   * mysql-common.preinst:
     - Revert mariadb-common my.cnf symlink setup fallback actions.
     - Recover from a case of incorrect my.cnf.migrated created by 5.6.25-2.
   * mysql-common.postrm: Delete my.cnf.{migrated,old} on purge.
   * mysql-common: Add Breaks against mariadb-common (<< 10.0.20-3~)
that used
     a fallback scheme for setting up the my.cnf symlink.
   * libmysqlclient18: Drop explicit dependency on multiarch-support,
this is
     already managed by ${misc:Pre-Depends).
   * Use canonical Vcs-* URLs.
   * Move innochecksum manpage to mysql-server-core-5.6, too.
Checksums-Sha1:
 16754ddabd0fa5f6b024f0dd023c60826a57cd7d 3141 mysql-5.6_5.6.25-3.dsc
 5ea6518d089fa02f8d041807080200b3d5d7506b 228956
mysql-5.6_5.6.25-3.debian.tar.xz
 61290cbe4dae54c016c732ff9d8c3edc42f579d5 72606
mysql-client_5.6.25-3_all.deb
 de2323f128e7a5bf1ab76e99caa980e242ea6fc8 75182
mysql-common_5.6.25-3_all.deb
 3d4a88b5d2b8148143b990cd0298b8ea2525b18d 72744
mysql-server_5.6.25-3_all.deb
 3dd12d28e4109481daf8b1115a1dc0744a7488e9 72588
mysql-testsuite_5.6.25-3_all.deb
Checksums-Sha256:
 b05a55ce0c5b1d4e3aff7a77d6da66ebcefa7de546cbd85c386a878a747a8579 3141
mysql-5.6_5.6.25-3.dsc
 e090e82d0a444f8e532dd5f1b717495cbab972f14a275d6941b3882094e7d005 228956
mysql-5.6_5.6.25-3.debian.tar.xz
 25bcf67efa3ef9ad560ed529dc7eccda9e1d88cbd98566e321367ffa20c1ee74 72606
mysql-client_5.6.25-3_all.deb
 7811772660e3af7ba7d2f8ce67ca271ed130d46610be63b741bd39ddfc7ac816 75182
mysql-common_5.6.25-3_all.deb
 c3262f3fad6e34f950d1f685f87d7f9a2e52095c7af2d9e5e44a9e0553ae8449 72744
mysql-server_5.6.25-3_all.deb
 c1e43f921197c101f95d2feb0f31175ce04bd22bb57d0231159fbdaffd055a09 72588
mysql-testsuite_5.6.25-3_all.deb
Files:
 6f83a782f28b2d67b8d7cccda2d8c643 3141 database optional
mysql-5.6_5.6.25-3.dsc
 7edf03dc707ec5d151e6d87bf82a31c3 228956 database optional
mysql-5.6_5.6.25-3.debian.tar.xz
 08e92627cff070f7218fb51c72a60e31 72606 database optional
mysql-client_5.6.25-3_all.deb
 b8da4382d9273349388dd72333e41885 75182 database optional
mysql-common_5.6.25-3_all.deb
 96ff91d77721cff37e484ac4398c7ad0 72744 database optional
mysql-server_5.6.25-3_all.deb
 92e3847201763bebf38778631e503817 72588 database optional
mysql-testsuite_5.6.25-3_all.deb



Thank you for your contribution to Debian.

--- End Message ---

Reply via email to