mysql-server-5.7: after upgrade apparmor and invalidargument errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.7 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
applied latest update on Ubuntu 16.04.3 LTS
The following packages are currently pending an upgrade:
[...]
mysql-client 5.7.21-
mysql-client-5.7 5.7.21-
mysql-
mysql-common 5.7.21-
mysql-server 5.7.21-
mysql-server-5.7 5.7.21-
mysql-
[...]
but upgrade failed. journalctl -xe revealed some file access problems of apparmor. Added
/proc/*/status r,
/sys/
/sys/
to the apparmor conf of mysql. After restarting apparmor (and finally the server), mysql cannot start because of some status=
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: mysql-server-5.7 5.7.21-
ProcVersionSign
Uname: Linux 4.4.0-112-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
Date: Thu Feb 1 00:14:22 2018
InstallationDate: Installed on 2016-05-24 (617 days ago)
InstallationMedia: Ubuntu-Server 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.3)
Logs.var.
MySQLConf.
MySQLConf.
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
MySQLConf.
[mysqld_safe]
syslog
MySQLVarLibDirL
SourcePackage: mysql-5.7
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
modified.
modified.
mtime.conffile.
mtime.conffile.
mtime.conffile.
Status changed to 'Confirmed' because the bug affects multiple users.