From d6ebf87d2b849ee367fa4f847cdee1cbf6e0846a Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Fri, 30 Nov 2018 14:22:58 +0100 Subject: [PATCH] postfix.master: Change path of child processes (cherry picked from commit f4bfd7816425cd09e75b77e92abd431fbc65f731) --- .../apparmor/profiles/extras/postfix.master | 33 +++++++++---------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/profiles/apparmor/profiles/extras/postfix.master b/profiles/apparmor/profiles/extras/postfix.master index c447fba56..5e16409b8 100644 --- a/profiles/apparmor/profiles/extras/postfix.master +++ b/profiles/apparmor/profiles/extras/postfix.master @@ -33,22 +33,21 @@ profile postfix-master /usr/lib/postfix/{sbin/,}master { /{var/spool/postfix/,}private/tlsmgr rwl, /{var/spool/postfix/,}public/{cleanup,flush,pickup,qmgr,showq,tlsmgr} rwl, - /usr/lib/postfix/anvil Px, - /usr/lib/postfix/bounce Px, - /usr/lib/postfix/cleanup Px, - /usr/lib/postfix/flush Px, - /usr/lib/postfix/local Px, + /usr/lib/postfix/{sbin/,}anvil Px, + /usr/lib/postfix/{sbin/,}bounce Px, + /usr/lib/postfix/{sbin/,}cleanup Px, + /usr/lib/postfix/{sbin/,}flush Px, + /usr/lib/postfix/{sbin/,}local Px, /usr/lib/postfix/{sbin/,}master rmix, - /usr/lib/postfix/nqmgr Px, - /usr/lib/postfix/proxymap Px, - /usr/lib/postfix/pickup Px, - /usr/lib/postfix/pipe Px, - /usr/lib/postfix/qmgr Px, - /usr/lib/postfix/scache Px, - /usr/lib/postfix/showq Px, - /usr/lib/postfix/smtp Px, - /usr/lib/postfix/smtpd Px, - /usr/lib/postfix/tlsmgr Px, - /usr/lib/postfix/trivial-rewrite Px, - /usr/lib/postfix/master rmix, + /usr/lib/postfix/{sbin/,}nqmgr Px, + /usr/lib/postfix/{sbin/,}proxymap Px, + /usr/lib/postfix/{sbin/,}pickup Px, + /usr/lib/postfix/{sbin/,}pipe Px, + /usr/lib/postfix/{sbin/,}qmgr Px, + /usr/lib/postfix/{sbin/,}scache Px, + /usr/lib/postfix/{sbin/,}showq Px, + /usr/lib/postfix/{sbin/,}smtp Px, + /usr/lib/postfix/{sbin/,}smtpd Px, + /usr/lib/postfix/{sbin/,}tlsmgr Px, + /usr/lib/postfix/{sbin/,}trivial-rewrite Px, }