mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-02 07:15:18 +00:00
Allow /proc/*/attr/current in dovecot imap and lmtp
This is needed when using the "apparmor" plugin which means dovecot
switches to user-specific hats.
Seen on openSUSE Tumbleweed.
(backported from commit 6a388859f8
)
Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
committed by
John Johansen
parent
1842231253
commit
8a3b92cd62
@@ -33,7 +33,7 @@
|
|||||||
/etc/dovecot/conf.d/** r,
|
/etc/dovecot/conf.d/** r,
|
||||||
|
|
||||||
owner /tmp/dovecot.imap.* rw,
|
owner /tmp/dovecot.imap.* rw,
|
||||||
|
@{PROC}/@{pid}/attr/current rw,
|
||||||
/usr/bin/doveconf rix,
|
/usr/bin/doveconf rix,
|
||||||
/usr/lib/dovecot/imap mrix,
|
/usr/lib/dovecot/imap mrix,
|
||||||
/usr/share/dovecot/** r,
|
/usr/share/dovecot/** r,
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
@{DOVECOT_MAILSTORE}/** rwkl,
|
@{DOVECOT_MAILSTORE}/** rwkl,
|
||||||
|
|
||||||
@{HOME}/.dovecot.svbin r,
|
@{HOME}/.dovecot.svbin r,
|
||||||
|
@{PROC}/@{pid}/attr/current rw,
|
||||||
/proc/*/mounts r,
|
/proc/*/mounts r,
|
||||||
/tmp/dovecot.lmtp.* rw,
|
/tmp/dovecot.lmtp.* rw,
|
||||||
/usr/lib/dovecot/lmtp mr,
|
/usr/lib/dovecot/lmtp mr,
|
||||||
|
Reference in New Issue
Block a user