AppArmor 3.1.2 was released 2022-11-07.


AppArmor 3.1.2 is a bug fix release of the user space components of the AppArmor security project. The kernel portion of the project is maintained and pushed separately.

This version of the userspace should work with all kernel versions from 2.6.15 and later (some earlier version of the kernel if they have the apparmor patches applied).

Obtaining the Release

There are two ways to obtain this release either through gitlab or a tarball in launchpad.

Important note: the gitlab release tarballs differ from the launchpad release tarballs. The launchpad release tarball has a couple processing steps already performed:

  • libapparmor is already done, meaning distros only need to use ./configure in their build setup
  • the docs for everything but libapparmor have already been built



Changes in this Release

These release notes cover all changes between 3.1.1 (ea127f13cd2c58ae883fb7c87a3ad91317a55c2d) ) and 3.1.2 (1fe80c0f85db4a67771ea506b1ae6d5626d474b1) on the [apparmor-3.1 branch](


  • Hardcode and check the expected name/number (MR:915, AABUG:266)
  • allow parsing of logs with 0x1d + uppercase OUID, FSUID (MR:940, AABUG:271)

Policy Compiler (a.k.a apparmor_parser)

  • fix DISTRO variable in Makefile (MR:928)


  • Prevent crash on log entries for non-existing profile (MR:919)



  • kde
    • update for kwinrc, kdedefaults/* files (MR:936)


  • syslog-ng
    • allow reading *.journal in flatter directory structure (MR:932)
  • samba