Apparmor error

  • This topic has 2 replies, 3 voices, and was last updated May 27-4:12 am by Marusya.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #83273
    Member
    wodichka

      During my boot process i’m getting 2 error messages and one of the says:

      loading apparmor profiles – failed do you have the correct privileges

      The second is also connected to apparmor. How do i fix it? My system is
      antix 19.4 base edition with current upgrades and libreoffice from buster-backports.
      Thanks

      add: my kernel is 4.4.x (the last one) – pae

      • This topic was modified 11 months, 3 weeks ago by wodichka.
      #83285
      Member
      ModdIt
        Helpful
        Up
        0
        ::

        hi wodichka,
        please first ensure date and time are set correctly on your system.
        Having never seen the error you posted I did a quick internet search and
        found a lot of links and posts.
        Please first try and help yourself, should you fail to find the answers you need
        to fix please post telling us what you have already tried and done.

        #83694
        Member
        Marusya
          Helpful
          Up
          0
          ::

          Hiya wodichka. I ran into the exact same problem only yesterday, (antiX 21 full).

          Since apparmor isn’t enabled by default in antiX, you have to do it manually. Fire up a terminal and input the following:

          sudo mkdir -p /etc/default/grub.d
          echo 'GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT apparmor=1 security=apparmor"' \
          | sudo tee /etc/default/grub.d/apparmor.cfg
          sudo update-grub
          sudo reboot

          Once you’ve rebooted, everything should work like expected. It worked for me anyway.

          I found the solution over at the debian wiki:

          https://wiki.debian.org/AppArmor/HowToUse#Enable_AppArmor

          • This reply was modified 11 months, 2 weeks ago by Marusya. Reason: fixed code formating
        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.