diff --git a/apparmor.d/profiles-s-z/snap b/apparmor.d/profiles-s-z/snap index 456c899e..a882e547 100644 --- a/apparmor.d/profiles-s-z/snap +++ b/apparmor.d/profiles-s-z/snap @@ -6,7 +6,7 @@ abi , include -@{exec_path} = /{snap/snapd/@{int}/,}{usr/,}bin/snap +@{exec_path} = @{bin}/snap /snap/snapd/@{int}@{bin}/snap profile snap @{exec_path} { include include diff --git a/apparmor.d/profiles-s-z/snap-discard-ns b/apparmor.d/profiles-s-z/snap-discard-ns index 278faabf..c22141a7 100644 --- a/apparmor.d/profiles-s-z/snap-discard-ns +++ b/apparmor.d/profiles-s-z/snap-discard-ns @@ -6,7 +6,7 @@ abi , include -@{exec_path} = /{snap/snapd/@{int}/,}{usr/,}lib/snapd/snap-discard-ns +@{exec_path} = @{lib}/snapd/snap-discard-ns /snap/snapd/@{int}@{lib}/snapd/snap-discard-ns profile snap-discard-ns @{exec_path} { include diff --git a/apparmor.d/profiles-s-z/snap-failure b/apparmor.d/profiles-s-z/snap-failure index 3ce23d70..511dc8c2 100644 --- a/apparmor.d/profiles-s-z/snap-failure +++ b/apparmor.d/profiles-s-z/snap-failure @@ -6,7 +6,7 @@ abi , include -@{exec_path} = /{snap/snapd/@{int}/,}{usr/,}lib/snapd/snap-failure +@{exec_path} = @{lib}/snapd/snap-failure /snap/snapd/@{int}@{lib}/snapd/snap-failure profile snap-failure @{exec_path} { include diff --git a/apparmor.d/profiles-s-z/snap-seccomp b/apparmor.d/profiles-s-z/snap-seccomp index a1e69f44..1be17540 100644 --- a/apparmor.d/profiles-s-z/snap-seccomp +++ b/apparmor.d/profiles-s-z/snap-seccomp @@ -6,7 +6,7 @@ abi , include -@{exec_path} = /{snap/snapd/@{int}/,}{usr/,}lib/snapd/snap-seccomp +@{exec_path} = @{lib}/snapd/snap-seccomp /snap/snapd/@{int}@{lib}/snapd/snap-seccomp profile snap-seccomp @{exec_path} { include include diff --git a/apparmor.d/profiles-s-z/snap-update-ns b/apparmor.d/profiles-s-z/snap-update-ns index 61f3b815..eba22e2c 100644 --- a/apparmor.d/profiles-s-z/snap-update-ns +++ b/apparmor.d/profiles-s-z/snap-update-ns @@ -6,7 +6,7 @@ abi , include -@{exec_path} = /{snap/snapd/@{int}/,}{usr/,}lib/snapd/snap-update-ns +@{exec_path} = @{lib}/snapd/snap-update-ns /snap/snapd/@{int}@{lib}/snapd/snap-update-ns profile snap-update-ns @{exec_path} { include diff --git a/apparmor.d/profiles-s-z/snapd b/apparmor.d/profiles-s-z/snapd index 46813dac..97299bc3 100644 --- a/apparmor.d/profiles-s-z/snapd +++ b/apparmor.d/profiles-s-z/snapd @@ -6,7 +6,7 @@ abi , include -@{exec_path} = @{lib}/snapd/snapd /snap/snapd@{lib}/snapd/snapd +@{exec_path} = @{lib}/snapd/snapd /snap/snapd/@{int}@{lib}/snapd/snapd profile snapd @{exec_path} { include include