AppArmor 3.0.8 was released 2022-11-21.

Introduction

AppArmor 3.0.8 fixes a couple errors discovered in AppArmor 3.0.7 after release. It is a maintenance 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).

The kernel portion of the project is maintained and pushed separately.

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 autogen.sh is already done, meaning distros only need to use ./configure in their build setup
  • the docs for everything but libapparmor have already been built

gitlab

Launchpad

Changes in this Release

These release notes cover all changes between 3.0.7 (0ead606d9e608801f45e13a34358036135470729) and 3.0.8 (474a12ebe86bb9314e482f918c589b484fd9ec2a) on apparmor-3.0 branch.

libapparmor

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

Policy Compiler (a.k.a apparmor_parser)

  • fix DISTRO variable in Makefile (MR:928)

Utils

  • Use open instead of codecs.open to fix line breaks (MR:945)
  • prevent crash in mergeprof by Using string startswith() and endswith() methods (MR:931)

Policy

abstractions

  • base
  • nameservice
    • Adds WSL programmatic management of /etc/resolv.conf (MR:935)
  • kde
    • update for kwinrc, kdedefaults/* files (MR:936)

profiles

  • dnsmasq
    • Add missing r permissions for libvirt_leaseshelper (MR:905, BOO:1202161)
    • allow paths for podman dnsname plugin in rootless mode (MR:909)
    • Allow reading /sys/devices/system/cpu/possible (MR:917, BOO:1202849)
  • php
  • samba
  • syslog-ng
    • allow reading *.journal in flatter directory structure (MR:932)

Tests

  • Fix utils testing of parser. Set (instead of compare) exresult (MR:907)