mysqld is not restarted after postinst runs mysql_upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.7 (Ubuntu) |
Fix Released
|
Medium
|
Lars Tangvald | ||
Xenial |
Fix Released
|
Medium
|
Robie Basak |
Bug Description
mysqld is not restarted after postinst runs mysql_upgrade
As per http://
[Impact]
Depending on database contents, not restarting may cause problems when trying to use the upgraded database. It will often lead to a lot of error messages being sent to the error log, which also makes it a bit more difficult to track down other issues.
[Test Case]
Install mysql-server-5.7 on system with existing MySQL database.
Expected result:
Database is upgraded and server is restarted as recommended
Actual result:
Database is upgraded, but the server is not restarted
[Regression Potential]
Unknown, probably nothing, as anything that would cause a service restart to fail would probably have caused failures earlier in the installation.
Changed in mysql-5.7 (Ubuntu): | |
milestone: | none → ubuntu-16.06 |
Changed in mysql-5.7 (Ubuntu Xenial): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in mysql-5.7 (Ubuntu Xenial): | |
status: | Triaged → In Progress |
assignee: | nobody → Robie Basak (racb) |
Changed in mysql-5.7 (Ubuntu Xenial): | |
milestone: | none → xenial-updates |
milestone: | xenial-updates → ubuntu-16.04.1 |
description: | updated |
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: ort.patch: update corresponding test scrambled_ password man-page- links.patch: drop (fixed upstream)
- 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/allowemptyp
+ postinst: ignore mysql_upgrade's exit status 2
+ Export my_make_
+ 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-
+ Add d/NEWS
mysql-5.7 (5.7.13-1~exp1) UNRELEASED; urgency=medium
[ Robie Basak ] t18.lintian- overrides as the problem is genuine MEMCACHED. mysql_release. additions/ mysql-systemd- start. client- 5.7.examples. mysqlhotcopy- test-failure. patch. standalone_ tests.patch. tests.patch. _mysqld_ safe.sh_ _signals. patch. mtr-search- paths.patch. test-run- paths: adjust test suite for generic binary server- 5.7.dirs: clean syntax.
* Import upstream version 5.7.13.
* Drop d/libmysqlclien
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_
* d/rules configure: build with supplied boost.
* d/rules configure: build with BUILD_CONFIG=
* 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/
* Drop d/mysql-
* Drop some lintian overrides.
* d/control: switch to 5.7.
* libmysqlclient soname bump.
* Update manpage formatting lintian overrides.
* Drop d/p/fix-
* Drop d/p/spelling.patch.
* Drop d/p/fix_
* Drop d/p/disable_
* Drop d/p/scripts_
* Update Hurd and kFreeBSD patches.
* Add d/p/fix-
* 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-
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-
* TODO: d/copyright: misc updates for 5.7.
* d/copyright: boost.
* Mark scripts executable.
* Drop gawk build dependency.
* Add new MySQL 5.7 build de...