Add some missing /run/dovecot/* to usr.lib.dovecot.imap{, -login}

Add the needed permissions as reported in
https://bugs.launchpad.net/apparmor/+bug/1296667/ comment #1
to the usr.lib.dovecot.imap and imap-login profiles.

Acked-by: John Johansen <john.johansen@canonical.com>

(backport of trunk r2839)
This commit is contained in:
Christian Boltz 2014-12-22 17:43:54 +01:00
parent ac8d886645
commit 09c93be47c
2 changed files with 2 additions and 0 deletions

View file

@ -26,6 +26,7 @@
@{HOME} r, # ???
/usr/lib/dovecot/imap mr,
/{,var/}run/dovecot/auth-master rw,
# Site-specific additions and overrides. See local/README for details.
#include <local/usr.lib.dovecot.imap>

View file

@ -24,6 +24,7 @@
network inet6 stream,
/usr/lib/dovecot/imap-login mr,
/{,var/}run/dovecot/anvil rw,
/{,var/}run/dovecot/login/ r,
/{,var/}run/dovecot/login/* rw,