This bug was fixed in the package mysql-5.7 - 5.7.13-0ubuntu1 --------------- mysql-5.7 (5.7.13-0ubuntu1) yakkety; urgency=medium * Ubuntu merge from Debian VCS 1cdae6c. Remaining changes: - Revert "Build with libmecab-dev" since libmecab-dev is in universe. * Drop changes: - mysql-server-5.7: depend on apparmor (>= 2.10) for Trusty upgrade path (all upgrade paths go through Xenial; in hindsight this should have been a Breaks anyway). - Upstreamed to Debian: + d/p/allowemptyport.patch: update corresponding test + postinst: ignore mysql_upgrade's exit status 2 + Export my_make_scrambled_password + Client commands in postinst should ignore custom config + Enable setting password for existing database if it was empty + Quote $rootpw correctly + Add libnuma-dev, libaio-dev to libmysqld-dev deps + d/p/fix-man-page-links.patch: drop (fixed upstream) + Add d/NEWS mysql-5.7 (5.7.13-1~exp1) UNRELEASED; urgency=medium [ Robie Basak ] * Import upstream version 5.7.13. * Drop d/libmysqlclient18.lintian-overrides as the problem is genuine and should not be hidden. This addresses #812812 in part, but does not close it. * AppArmor profile refactoring and updates for 5.7. * Rename apport hook from 5.6 to 5.7. * debian/watch file update to 5.7. * d/rules: replace 5.6 with 5.7. * Drop libmysqld-pic. * d/rules: use dh_install --list-missing. * d/rules: some dh_install excludes. * d/rules: drop large set of comments. * d/rules configure: switch to INSTALL_LAYOUT=DEB. * d/rules configure: build WITH_INNODB_MEMCACHED. * d/rules configure: build with supplied boost. * d/rules configure: build with BUILD_CONFIG=mysql_release. * d/rules configure: drop SYSTEM_TYPE=. * d/rules: chmod changes. * mysqld.conf: move to non-deprecated name. * Rename debian/*5.6* to 5.7. * Adjust installation debian/additions/mysql-systemd-start. * Drop d/mysql-client-5.7.examples. * Drop some lintian overrides. * d/control: switch to 5.7. * libmysqlclient soname bump. * Update manpage formatting lintian overrides. * Drop d/p/fix-mysqlhotcopy-test-failure.patch. * Drop d/p/spelling.patch. * Drop d/p/fix_standalone_tests.patch. * Drop d/p/disable_tests.patch. * Drop d/p/scripts__mysqld_safe.sh__signals.patch. * Update Hurd and kFreeBSD patches. * Add d/p/fix-mtr-search-paths.patch. * Non-functional (documentation) 5.6->5.7 substitutions. * Drop comment from .install files. * Apport hook: install under new name. * mysql-testsuite-5.7 installation adjustments for 5.7. * Binary installation tweaks. * d/p/mysql-test-run-paths: adjust test suite for generic binary paths. * Move testsuite binaries to testsuite package. * Build with libmecab-dev. * Manpage changes for 5.7. * dep8 tests: s/5.6/5.7/. * dep8 test: adjust exclude list. * dep8 test: adjust test runner path. * dep8 test: fix typo (non-functional). * d/mysql-server-5.7.dirs: clean syntax. * TODO: d/copyright: misc updates for 5.7. * d/copyright: boost. * Mark scripts executable. * Drop gawk build dependency. * Add new MySQL 5.7 build dependencies. * Drop Perl dependencies. * debconf template package rename. * Removed d/clean. [ Lars Tangvald ] * Change service file to use mysqld instead of mysqld_safe. * Add new directories for purge deletion. * Remove dojo javascript. [ Robie Basak ] * Use pathfind * d/mysql-server-5.7.postinst: - Add run_init_sql function. - Normalise whitespace. - Deprecate basedir in debian.cnf. - Always forget debconf root_password. - Stop ensuring /var/lib/mysql/mysql. - Normalise ensuring /var/lib/mysql. - Ensure new files and keyring dirs. [ Lars Tangvald ] * d/mysql-server-5.7.postinst: - Moved debhelper macro to before access checking. - Added function for setting the password of a user. - Added comment to specify what test_mysql_access is for. - Add function for checking sysmaint login. - Updated flag file. - Moved database initialization. - Use --initialize for database init. - Remove old sys-maint user init. - Removed some commenting. - Removed BOOTSTRAP reference from comment. - Run mysql_upgrade when installing. - Normalised whitespace. - Use new function to set root pw. - Remove set_mysql_rootpw function. - Remove MYSQL_BOOTSTRAP variable. - Enable auth_socket for passwordless root. * d/mysql-server-5.7.config: only prompt root password on fresh install. * d/mysql-server-5.7.preinst: Updated current version to 5.7. [ Robie Basak ] * Drop error_setting_password debconf template. * d/control: add Breaks/Replaces against -5.6 packages. * d/control: limit libnuma-dev build dependency to arches that have it. Fixes FTBFS on arches that don't have it. Thanks to Adam Conrad. * d/rules: use the system libevent, not the bundled copy. Fixes FTBFS on arm64. Thanks to Adam Conrad. [ Adam Conrad ] * debian/patches/mysql-atomic.patch: Patch from upstream to add support for __atomic builtins and prefer __sync where available. * debian/patches/mysql-atomic-link.patch: Link atomic when needed. * debian/patches/mysql-atomic-innodb.patch: Update innodb atomics. [ Lars Tangvald ] * Move needed header files to default include path (LP: #1565414). * Add missing grant_priv privilege to debian-sys-maint. * Allow empty port config values (LP: #1563274). * d/p/allowemptyport.patch: update corresponding test. [ Robie Basak ] * d/mysql-server-5.7.postinst: ignore mysql_upgrade's exit status when it is one that includes the indication that there is nothing to do (LP: #1566406). [ Lars Tangvald ] * d/p/mysql-export-scramble.patch: export my_make_scrambled_password since some reverse dependencies still need it. * Ignore dotfiles in postinst (LP: #1567695). * Enable changing root password on install if previous db had empty (LP: #1567098). [ Robie Basak ] * d/mysql-server-5.7.postinst: quote "$rootpw" correctly. * d/control: add libnuma-dev and libaio-dev to libmysqld-dev dependencies, since these are required according to "mysql_config -- libmysqld-libs". This fixes FTBFS of packages that use libmysqld- dev. * d/p/fix-man-page-links.patch: drop (fixed upstream) * Update translations for ja, pt_BR and tr (Closes: #817088, #815522, #804780, #801352) * Update translated references from 5.6 to 5.7 [ Lars Tangvald ] * Try to fail postinst with useful error message if server can't start * Restart server after running mysqld_upgrade (LP: #1576647) * Removed workaround for ALTER USER setting user to expired * Strip lines from log that may contain passwords * Fix deprecated commented-out config options (LP: #1577096) * Change d/additions/debian-start to no-op (LP: #1577712) -- Robie Basak