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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1610765

Title:
  mysql server fails to start due to faulty apparmor profile

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1610765/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to