upgrader looped because of mysql problem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I recently upgraded to vivid. During update I had the problem the process looped while restarting mysql. In detail the problem was related to a custom configuration of mysql. The setting "log_slow_queries" was not supported any more. The upgrader got stuck in a restart cycle without any progress report (blinking cursor). I had to reconfigure mysql in an other console first, so it started correctly and the upgrader continued.
The upgrader should ignore restart errors and not stuck in a loop. Probably it already tries to do that but for some reason the mysql startup scripts are not reporting well.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: ubuntu-
ProcVersionSign
Uname: Linux 3.19.0-30-generic x86_64
NonfreeKernelMo
ApportVersion: 2.17.2-0ubuntu1.5
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: XFCE
Date: Wed Oct 7 11:08:18 2015
InstallationDate: Installed on 2014-05-07 (517 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
PackageArchitec
SourcePackage: ubuntu-
UpgradeStatus: Upgraded to vivid on 2015-10-07 (0 days ago)
tags: | added: utopic2vivid |
This may be the relevant log entry:
Setting up mysql-server-5.6 (5.6.25- 0ubuntu0. 15.04.1) ... d/usr.sbin. mysqld ... mysql.conf ... d/mysql- server ... debian- start ... admin-statement s, --log-queries- not-using- indexes and --log-slow- slave-statement s have no effect if --slow-query-log is not set defaults_ for_timestamp server option (see documentation for more details).
Installing new version of config file /etc/apparmor.
Installing new version of config file /etc/init.d/mysql ...
Installing new version of config file /etc/init/
Installing new version of config file /etc/logrotate.
Installing new version of config file /etc/mysql/
2015-10-07 10:32:08 0 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
2015-10-07 10:32:08 0 [Warning] options --log-slow-
2015-10-07 10:32:08 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_