fix(profiles): ensure entry points for snap work.

This commit is contained in:
Alexandre Pujol 2023-09-05 13:59:37 +01:00
parent 2242fc3f47
commit e169ea5ccf
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
6 changed files with 36 additions and 23 deletions

View file

@ -6,14 +6,17 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{lib}/snapd/snap-failure /snap/snapd/@{int}@{lib}/snapd/snap-failure
@{lib_dirs} = @{lib}/ /snap/snapd/@{int}@{lib}/
@{exec_path} = @{lib_dirs}/snapd/snap-failure
profile snap-failure @{exec_path} {
include <abstractions/base>
@{exec_path} mr,
@{bin}/systemctl rCx -> child-systemctl,
/snap/snapd/@{int}@{lib}/snapd/snapd rPx,
@{bin}/systemctl rPx -> child-systemctl,
@{lib_dirs}/snapd/snapd rPx,
/var/lib/snapd/sequence/snapd.json r,