发生了什么
还是虚拟机 ubuntu 启动时的错误, (host win10, virtualbox). 每次都有该错误, 看着有点难受.
AppArmor
引用 ubuntu 的解释
AppArmor is a Linux Security Module implementation of name-based mandatory access controls. AppArmor confines individual programs to a set of listed files and posix 1003.1e draft capabilities.
AppArmor is installed and loaded by default. It uses profiles of an application to determine what files and permissions the application requires. Some packages will install their own profiles, and additional profiles can be found in the apparmor-profiles package.
这个 AppArmor 是个安全服务. 看来是这个服务的问题.
怎么解决
用简单暴力的方法来解决吧. (自己的虚拟机镜像随意玩). 重装一下.
# 停止服务
sudo systemctl stop apparmor.service
sudo update-rc.d -f apparmor remove