Skip to content

Commit

Permalink
Merge pull request #953 from stgraber/main
Browse files Browse the repository at this point in the history
incusd/apparmor: Allow /dev/shm in forkproxy
  • Loading branch information
tych0 authored Jun 24, 2024
2 parents a25ec96 + 7ed8424 commit 2872d32
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/server/apparmor/instance_forkproxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ profile "{{ .name }}" flags=(attach_disconnected,mediate_deleted) {
/run/{resolvconf,NetworkManager,systemd/resolve,connman,netconfig}/resolv.conf r,
/usr/lib/systemd/resolv.conf r,
# Allow /dev/shm access (for Wayland)
/dev/shm/** rwkl,
# Needed for the fork sub-commands
{{ .exePath }} mr,
@{PROC}/@{pid}/cmdline r,
Expand Down

0 comments on commit 2872d32

Please sign in to comment.