Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-6334

apparmor fails to start

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None

      After installing sys-apps/apparmor, sys-libs/libapparmor, sec-policy/apparmor-profiles, and sys-apps/apparmor-utils I added "params += apparmor=1 security=apparmor" to my boot.conf, ran "ego boot update", ran "rc-update add apparmor boot" and rebooted.

      apparmor fails on boot and when trying to start it manually with the following errors:

      1. /etc/init.d/apparmor start
        /usr/libexec/rc.apparmor.functions: line 131: syntax error near unexpected token `;;'
        /usr/libexec/rc.apparmor.functions: line 131: ` return 2 ;;'
      • Starting AppArmor ...
        /etc/init.d/apparmor: line 65: is_apparmor_loaded: command not found
        /etc/init.d/apparmor: line 66: load_module: command not found
      • AppArmor kernel support is not present [ !! ]
      • ERROR: apparmor failed to start
      1. aa-status
        apparmor module is loaded.
        1 profiles are loaded.
        1 profiles are in enforce mode.
        lxd-funtainer_</var/lib/lxd>
        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.

            drobbins drobbins
            lazlo.vii lazlo.vii
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: