Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
tin
V2EX  ›  Linux

AppArmor 与 selinux 如何解决冲突问题

  •  
  •   tin · Aug 3, 2014 · 6698 views
    This topic created in 4335 days ago, the information mentioned may be changed or developed.
    运行 apparmor 时提示:
    AppArmor not available as kernel LSM.
    google 了一下,国外网站有说是不能与 Selinux 同时运行,但我也没有安装selinux,运行 sudo apt-get remove selinux 提示我未安装 。请问如何解决?谢谢

    我用的是 ubuntu 12.04
    2 replies    2014-08-04 03:02:47 +08:00
    tin
        2
    tin  
    OP
       Aug 4, 2014   ❤️ 1
    @ihacku 谢谢。已经解决。
    方法如何 :供其它遇到此问题的人参考

    nano /etc/default/grub (打开这个文件进行编辑)
    找到 "security=selinux" 改为"security=apparmor"
    找到 "selinux=1" 改为"apparmor=1”
    然后保存退出运行如下命令
    sudo update-grub
    reboot
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   931 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 20:47 · PVG 04:47 · LAX 13:47 · JFK 16:47
    ♥ Do have faith in what you're doing.