diff --git a/profiles/apparmor/profiles/extras/usr.lib.postfix.master b/profiles/apparmor/profiles/extras/postfix.master similarity index 92% rename from profiles/apparmor/profiles/extras/usr.lib.postfix.master rename to profiles/apparmor/profiles/extras/postfix.master index c0f9c5490..377e772fb 100644 --- a/profiles/apparmor/profiles/extras/usr.lib.postfix.master +++ b/profiles/apparmor/profiles/extras/postfix.master @@ -1,6 +1,7 @@ # ------------------------------------------------------------------ # # Copyright (C) 2002-2006 Novell/SUSE +# Copyright (C) 2018 Canonical, Ltd. # # This program is free software; you can redistribute it and/or # modify it under the terms of version 2 of the GNU General Public @@ -10,7 +11,7 @@ #include -/usr/lib/postfix/master { +profile postfix-master /usr/lib/postfix/{sbin/,}master { #include #include #include @@ -30,7 +31,7 @@ /usr/lib/postfix/cleanup Px, /usr/lib/postfix/flush Px, /usr/lib/postfix/local Px, - /usr/lib/postfix/master rmix, + /usr/lib/postfix/{sbin/,}master rmix, /usr/lib/postfix/nqmgr Px, /usr/lib/postfix/proxymap Px, /usr/lib/postfix/pickup Px,