3

I am having conflict between MySQL and Apparmor, therefore I uninstalled Apparmor using:

sudo service apparmor stop
sudo service apparmor teardown
sudo update-rc.d -f apparmor remove
sudo reboot
sudo apt-get remove apparmor

However, I can still see

 audit[9913]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld"

in journalctl output. My OS version is:

DISTRIB_ID=Ubuntu DISTRIB_RELEASE=17.04 DISTRIB_CODENAME=zesty DISTRIB_DESCRIPTION="Ubuntu 17.04"

Linux 4.10.0-32-generic #36-Ubuntu SMP Tue Aug 8 12:10:06 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

I am at a loss here and would appreciate some help.

2

The server required a restart after uninstalling AppArmor.

1
  • Had a similar problem and I also had to restart the server host... – polynomial_donut Apr 16 '20 at 19:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.