2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-30 05:47:59 +00:00

Dovecot profile: change Px to mrPx for /usr/lib/dovecot/*

Some of the /usr/lib/dovecot/* rules already have mrPx permissions,
while others don't.

With a more recent kernel, I noticed that at least auth, config, dict,
lmtp, pop3 and ssl-params need mrPx instead of just Px (confirmed by the
audit.log and actual breakage caused by the missing mr permissions).

The mr additions for anvil, log and managesieve are just a wild guess,
but I would be very surprised if they don't need mr.


Acked-by: Seth Arnold <seth.arnold@canonical.com> for trunk, 2.10 and 2.9.
This commit is contained in:
Christian Boltz 2017-01-30 20:43:47 +01:00
parent 04240fe6de
commit 2eee4d6acb

View File

@ -36,21 +36,21 @@
/etc/SuSE-release r, /etc/SuSE-release r,
@{PROC}/@{pid}/mounts r, @{PROC}/@{pid}/mounts r,
/usr/bin/doveconf rix, /usr/bin/doveconf rix,
/usr/lib/dovecot/anvil Px, /usr/lib/dovecot/anvil mrPx,
/usr/lib/dovecot/auth Px, /usr/lib/dovecot/auth mrPx,
/usr/lib/dovecot/config Px, /usr/lib/dovecot/config mrPx,
/usr/lib/dovecot/dict Px, /usr/lib/dovecot/dict mrPx,
/usr/lib/dovecot/dovecot-auth Pxmr, /usr/lib/dovecot/dovecot-auth Pxmr,
/usr/lib/dovecot/imap Pxmr, /usr/lib/dovecot/imap Pxmr,
/usr/lib/dovecot/imap-login Pxmr, /usr/lib/dovecot/imap-login Pxmr,
/usr/lib/dovecot/lmtp Px, /usr/lib/dovecot/lmtp mrPx,
/usr/lib/dovecot/log Px, /usr/lib/dovecot/log mrPx,
/usr/lib/dovecot/managesieve Px, /usr/lib/dovecot/managesieve mrPx,
/usr/lib/dovecot/managesieve-login Pxmr, /usr/lib/dovecot/managesieve-login Pxmr,
/usr/lib/dovecot/pop3 Px, /usr/lib/dovecot/pop3 mrPx,
/usr/lib/dovecot/pop3-login Pxmr, /usr/lib/dovecot/pop3-login Pxmr,
/usr/lib/dovecot/ssl-build-param rix, /usr/lib/dovecot/ssl-build-param rix,
/usr/lib/dovecot/ssl-params Px, /usr/lib/dovecot/ssl-params mrPx,
/usr/sbin/dovecot mrix, /usr/sbin/dovecot mrix,
/usr/share/dovecot/protocols.d/ r, /usr/share/dovecot/protocols.d/ r,
/usr/share/dovecot/protocols.d/** r, /usr/share/dovecot/protocols.d/** r,