diff --git a/lxd/apparmor/instance_qemu.go b/lxd/apparmor/instance_qemu.go index bab4603ac406..5f00c1e2e190 100644 --- a/lxd/apparmor/instance_qemu.go +++ b/lxd/apparmor/instance_qemu.go @@ -41,8 +41,8 @@ profile "{{ .name }}" flags=(attach_disconnected,mediate_deleted) { /{,usr/}bin/qemu-system-* mrix, /usr/share/qemu/** kr, /usr/share/seabios/** kr, - owner @{PROC}/@{pid}/cpuset r, - owner @{PROC}/@{pid}/task/@{tid}/comm rw, + @{PROC}/@{pid}/cpuset r, + @{PROC}/@{pid}/task/@{tid}/comm rw, {{ .rootPath }}/etc/nsswitch.conf r, {{ .rootPath }}/etc/passwd r, {{ .rootPath }}/etc/group r,