Comment 5 for bug 1610765

Revision history for this message
Richard (ismail-a) wrote : Re: mysql server fails to start due to faulty apparmor profile

That is true, if I remove my line again, it still works.

mysql-server-5.7:amd64 was updated on 160724

When my server was rebooted on 2016-08-07, mysql would not start with the following syslog output:
c505 kernel: [ 1485.490459] audit: type=1400 audit(1470619337.926:98): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/etc/mysql/my.cnf.migrated" pid=11219 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=109 ouid=0

The following commands were required to successfully start:
service mysql stop
systemctl restart apparmor.service
service mysql start

mysql was running, but after reboot (as in abrupt power failure) it would not start.