From testing it seems this shows up due to swtpm_setup using the openssl config for key setup information. I managed to fix the issue by adding
#include <abstractions/openssl> to the TEMPLATE.qemu file in the apparmor directory. I tested with the ppa: ppa:lvoytek/libvirt-allow-openssl-qemu-jammy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968187 Title: apparmor denial when using swtpm To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1968187/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs