Skip to content

Commit

Permalink
incusd/apparmor/lxc: Fix rule syntax
Browse files Browse the repository at this point in the history
Closes #886

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
  • Loading branch information
stgraber committed May 23, 2024
1 parent 7391420 commit d2c13e3
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions internal/server/apparmor/instance_lxc.go
Original file line number Diff line number Diff line change
Expand Up @@ -510,14 +510,14 @@ profile "{{ .name }}" flags=(attach_disconnected,mediate_deleted) {
pivot_root,
# Allow modifying mount propagation
mount options=(rw,slave) -> **,
mount options=(rw,rslave) -> **,
mount options=(rw,shared) -> **,
mount options=(rw,rshared) -> **,
mount options=(rw,private) -> **,
mount options=(rw,rprivate) -> **,
mount options=(rw,unbindable) -> **,
mount options=(rw,runbindable) -> **,
mount options=(rw,slave) -> /**,
mount options=(rw,rslave) -> /**,
mount options=(rw,shared) -> /**,
mount options=(rw,rshared) -> /**,
mount options=(rw,private) -> /**,
mount options=(rw,rprivate) -> /**,
mount options=(rw,unbindable) -> /**,
mount options=(rw,runbindable) -> /**,
# Allow all bind-mounts.
mount options=(rw,bind) -> /**,
Expand Down

0 comments on commit d2c13e3

Please sign in to comment.