[apparmor] [patch] dovecot/auth: allow access to /var/run/dovecot/stats-user

Christian Boltz apparmor at cboltz.de
Wed Apr 6 21:27:07 UTC 2016


Hello,

$subject.

Since the latest Tumbleweed update (dovecot 2.2.21 -> 2.2.22),
dovecot/auth writes to /var/run/dovecot/stats-user.


I propose this patch for trunk, 2.10 and 2.9.



[ profiles-dovecot-auth-stats-user.diff ]

=== modified file 'profiles/apparmor.d/usr.lib.dovecot.auth'
--- profiles/apparmor.d/usr.lib.dovecot.auth    2015-03-19 12:56:41 +0000
+++ profiles/apparmor.d/usr.lib.dovecot.auth    2016-04-06 21:14:45 +0000
@@ -38,6 +38,7 @@
   /var/tmp/smtp_* rw,
 
   /{var/,}run/dovecot/auth-token-secret.dat{,.tmp} rw,
+  /{var/,}run/dovecot/stats-user w,
 
   # Site-specific additions and overrides. See local/README for details.
   #include <local/usr.lib.dovecot.auth>




Regards,

Christian Boltz
-- 
Alles wird gut. Nichts wird besser. :-)
[Ratti in fontlinge-devel]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20160406/f8a84768/attachment.pgp>


More information about the AppArmor mailing list