Apparmor 的问题

Apparmor 的问题

我检查了 Apparmor 的状态,并得到了以下信息:

xubuntu@xubuntu:~$ sudo apparmor_status
apparmor module is loaded.
0 profiles are loaded.
0 profiles are in enforce mode.
0 profiles are in complain mode.
0 processes have profiles defined.
0 processes are in enforce mode.
0 processes are in complain mode.
0 processes are unconfined but have a profile defined.

因此,我下载了一个配置文件:

 sudo apt-get install apparmor-profiles

然后我又检查了一下:

xubuntu@xubuntu:~$ sudo apparmor_status
apparmor module is loaded.
0 profiles are loaded.
0 profiles are in enforce mode.
0 profiles are in complain mode.
0 processes have profiles defined.
0 processes are in enforce mode.
0 processes are in complain mode.
0 processes are unconfined but have a profile defined.

然后我卸载了 Apparmor:

 sudo apt-get remove apparmor

重新安装:

 sudo apt-get install apparmor

再次检查:

xubuntu@xubuntu:~$ sudo apparmor_status
apparmor module is loaded.
0 profiles are loaded.
0 profiles are in enforce mode.
0 profiles are in complain mode.
0 processes have profiles defined. 
0 processes are in enforce mode.
0 processes are in complain mode.
0 processes are unconfined but have a profile defined.

我重新加载:

sudo service apparmor reload

xubuntu@xubuntu:~$ sudo apparmor_status
apparmor module is loaded.
0 profiles are loaded.
0 profiles are in enforce mode.
0 profiles are in complain mode.
0 processes have profiles defined.
0 processes are in enforce mode.
0 processes are in complain mode.
0 processes are unconfined but have a profile defined.

这里发生了什么事?

谢谢。

RCline7

相关内容