1 Release_Notes_2.10.2
Christian Boltz edited this page 2017-12-13 22:17:47 +01:00

AppArmor 2.10.1 Release Notes

AppArmor 2.10.2 is an incremental bug fix release over AppArmor 2.10.1 that is focused on fixing issues in the userspace code.

This release includes the 2.10 branch changes between r3326 (= 2.10.1) and r3378.

Library

  • accept hostname with dots when parsing syslog
  • force libtoolize to replace existing files
  • python bindings: use __init__.py to import from LibAppArmor.py (fixes import failure with swig > 3.0.8)

Utils

  • aa-genprof: ask about profiles in extra dir (again)
  • logparser.py: improve file vs. network event recognition
  • load variables in ask_the_questions()
  • honor 'chown' file events in logparser.py
  • delete_duplicates(): make sure all superfluous rules get deleted
  • fix aa-logprof “add hat” endless looping
  • ignore exec events for non-existing profiles
  • handle ldd $? == 1 in get_reqs() (instead of crashing)
  • aa-unconfined: fix netstat usage to include IPv6

Policy

abstractions:

  • add abstractions/wayland and include it in abstractions/gnome
  • update php abstraction for PHP7, and rename it (abstractions/php5 -> abstractions/php, abstractions/php5 still available as compability wrapper)
  • abstractions/base: add ld.so.preload
  • abstractions/dbus-session-strict: allow access to the user bus socket
  • abstractions/gnome: add versioned gtk paths References:
  • abstractions/nameservice: also support ConnMan-managed resolv.conf
  • abstractions/X: allow reading /tmp/.X11-unix/*
  • abstractions/X: yet another location for Xauthority (/{,var/}run/user/*/X11/Xauthority)

Samba profiles:

  • abstractions/samba: Allow /var/cache/samba/lck/*
  • allow mr for /usr/lib*/ldb/*.so in samba abstractions
  • winbindd: allow dac_override (needed to delete kerberos ccache files)
  • add several /var/cache/samba/ permissions to nmbd profile and abstractions/samba

Dovecot profiles:

  • dovecot: allow capability sys_resource
  • dovecot/auth: allow to read /run/dovecot/stats-user
  • dovecot/auth: allow access to /run/dovecot/anvil-auth-penalty and /var/spool/postfix/private/auth
  • dovecot/config: allow to read /usr/share/dovecot/**
  • dovecot/imap: allow to ix doveconf, read /etc/dovecot/ and /usr/share/dovecot/**
  • dovecot/lmtp: allow reading ~/.dovecot.svbin
  • dovecot/log: add attach_disconnected flag

other profile changes:

  • allow inet6 in ping profile
  • traceroute: allow both paths (to match the alternation in the profile name)
  • syslog-ng profile: allow writing *.qf files
  • update mlmmj profiles
  • ntpd: allow “network unspec dgram,”
  • nscd profile: allow reading libvirt/dnsmasq/*.status

Documentation

  • apparmor.d.pod: Document empty quotes ("") as empty value of a variable
  • add a note about still enforcing deny rules to aa-complain manpage
  • fix 'alias' rule description in apparmor.d manpage