Merge Allow to read icu *.dat files in postfix-related profiles

This is needed for postdrop, postmap, postqueue and sendmail

Seen on openSUSE Tumbleweed.

MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/546
Acked-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
John Johansen 2020-05-26 07:38:41 +00:00
commit 1aa80fd14d
4 changed files with 4 additions and 0 deletions

View file

@ -26,6 +26,7 @@
/etc/postfix/postfix-script mixr,
@{PROC}/net/if_inet6 r,
/usr/sbin/postdrop rmix,
/usr/share/icu/[0-9]*.[0-9]*/*.dat r,
/var/spool/postfix r,
/var/spool/postfix/maildrop r,
/var/spool/postfix/maildrop/* rwl,

View file

@ -21,5 +21,6 @@
/etc/postfix/* r,
/etc/postfix/*.db rwlk,
@{PROC}/net/if_inet6 r,
/usr/share/icu/[0-9]*.[0-9]*/*.dat r,
/usr/sbin/postmap rmix,
}

View file

@ -23,6 +23,7 @@
/etc/postfix r,
/usr/sbin/postqueue rmix,
/usr/lib/postfix/{bin/,sbin/,}showq Px,
/usr/share/icu/[0-9]*.[0-9]*/*.dat r,
/var/spool/postfix r,
/var/spool/postfix/maildrop r,
/var/spool/postfix/maildrop/* rwl,

View file

@ -60,6 +60,7 @@
/usr/sbin/sendmail rmix,
/usr/sbin/sendmail.postfix rmix,
/usr/sbin/sendmail.sendmail rmix,
/usr/share/icu/[0-9]*.[0-9]*/*.dat r,
/var/lib/sendmail/statistics rwl,
/{,var/}run/sendmail.pid rwl,
/{,var/}run/sendmail/control rw,