fix(profiles): ensure entry points for snap work.
This commit is contained in:
parent
2242fc3f47
commit
e169ea5ccf
6 changed files with 36 additions and 23 deletions
|
|
@ -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,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue