I can reproduce the issue with this domain definition on Resolute
$ cat vm.xml
<domain type='qemu'>
<name>min-vm</name>
<memory unit='MiB'>512</memory>
<os>
<type>hvm</type>
</os>
<devices>
<interface type='user'>
<backend type='passt'/>
</interface>
</devices>
</domain>
$ virsh define vm.xml
$ virsh start min-vm
error: Failed to start domain 'min-vm'
error: internal error: Child process (passt --one-off --socket
/run/libvirt/qemu/passt/2-min-vm-net0.socket --pid
/run/libvirt/qemu/passt/2-min-vm-net0-passt.pid) unexpected fatal signal 11
$ dmesg
...
[10861.676350] audit: type=1400 audit(1794317109.694:305): apparmor="DENIED"
operation="file_mmap" class="file"
profile="libvirt-16e81331-1e50-4768-8d49-ac85fd242ed4" name="/usr/bin/passt"
pid=32017 comm="passt" requested_mask="rm" denied_mask="rm" fsuid=64055 ouid=0
...
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2173698
Title:
libvirt system-mode VM with passt backend fails to start: AppArmor
denies file_mmap of /usr/bin/passt (passt not transitioning to //passt
subprofile)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/2173698/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs