@andreas Just a description how this happened again. Usually it would happen after the server lost power and reboot this error would come back. Or the VM abruptly off without a proper shutdown then i will hit into this issue.
root@ns3:/etc/mysql#apparmor_parser -r -T -W -v /etc/apparmor.d/usr.sbin.mysqld Replacement succeeded for "/usr/sbin/mysqld". root@ns3:/etc/mysql#
For testing sake, i added below in the /etc/apparmor.d/usr.sbin.mysqld
/sys/devices/system/node/* r, /sys/devices/system/node/ r, /sys/devices/system/node/node0/meminfo r,
/proc/** rk, /proc/* rk,
then i get
Aug 19 09:32:34 ns3 kernel: [ 9028.392694] audit: type=1400 audit(1503106354.767:603): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/mysqld" pid=6139 comm="apparmor_parser"
@andreas
Just a description how this happened again. Usually it would happen after the server lost power and reboot this error would come back. Or the VM abruptly off without a proper shutdown then i will hit into this issue.
root@ns3: /etc/mysql# apparmor_ parser -r -T -W -v /etc/apparmor. d/usr.sbin. mysqld /etc/mysql#
Replacement succeeded for "/usr/sbin/mysqld".
root@ns3:
For testing sake, i added below in the /etc/apparmor. d/usr.sbin. mysqld
/sys/ devices/ system/ node/* r, devices/ system/ node/ r, devices/ system/ node/node0/ meminfo r,
/sys/
/sys/
/proc/** rk,
/proc/* rk,
then i get
Aug 19 09:32:34 ns3 kernel: [ 9028.392694] audit: type=1400 audit(150310635 4.767:603) : apparmor="STATUS" operation= "profile_ replace" profile= "unconfined" name="/ usr/sbin/ mysqld" pid=6139 comm="apparmor_ parser"