diff --git a/apparmor.d/groups/apt/dpkg-status b/apparmor.d/groups/apt/needrestart-dpkg-status similarity index 81% rename from apparmor.d/groups/apt/dpkg-status rename to apparmor.d/groups/apt/needrestart-dpkg-status index a38119ef..396ac8a9 100644 --- a/apparmor.d/groups/apt/dpkg-status +++ b/apparmor.d/groups/apt/needrestart-dpkg-status @@ -7,7 +7,7 @@ abi , include @{exec_path} = /{usr/,}lib/needrestart/dpkg-status -profile dpkg-status @{exec_path} { +profile needrestart-dpkg-status @{exec_path} { include include @@ -19,5 +19,5 @@ profile dpkg-status @{exec_path} { @{run}/needrestart/{,**} rw, - include if exists + include if exists } \ No newline at end of file