发生了什么
还是虚拟机 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
# 删除
sudo apt-get remove apparmor
# 删除/etc下的配置文件
sudo rm -rf /etc/apparmor.d/*
# 再次安装
sudo apt-get install apparmor
有时间再仔细研究.
本文描述了在VirtualBox的Ubuntu虚拟机启动时遇到的AppArmor错误问题。AppArmor是一个Linux安全模块,用于限制程序的文件访问权限。为了解决这个问题,作者选择了简单粗暴的重装方法,计划后续深入研究。

5710

被折叠的 条评论
为什么被折叠?



