It looks like, do to a recent update in how libvirt handles /run/libvirt/qemu/swtpm/*.pid, swtpm blocks it. I created a PPA for 22.10 that updates the apparmor profile, located here: https://launchpad.net/~lvoytek/+archive/ubuntu/swtpm-fix-apparmor-libvirt
If you would like to test it you can run the following:
$ sudo add-apt-repository ppa:lvoytek/swtpm-fix-apparmor-libvirt $ sudo apt update $ sudo apt upgrade
Alternatively you can add the following line to /etc/apparmor.d/local/usr.bin.swtpm:
/run/libvirt/qemu/swtpm/*.pid rwk,
Let me know if this fixes it. Thanks!
It looks like, do to a recent update in how libvirt handles /run/libvirt/ qemu/swtpm/ *.pid, swtpm blocks it. I created a PPA for 22.10 that updates the apparmor profile, located here: https:/ /launchpad. net/~lvoytek/ +archive/ ubuntu/ swtpm-fix- apparmor- libvirt
If you would like to test it you can run the following:
$ sudo add-apt-repository ppa:lvoytek/ swtpm-fix- apparmor- libvirt
$ sudo apt update
$ sudo apt upgrade
Alternatively you can add the following line to /etc/apparmor. d/local/ usr.bin. swtpm:
/run/libvirt/ qemu/swtpm/ *.pid rwk,
Let me know if this fixes it.
Thanks!