Swtpm Permission Denied

I can confirm it also happened on my Bluefin that rebased to :latest (with Fedora 40).

Well, my initial problem was that libvirt didn’t have permissions to create a log on /var/log/libvirt, and after fixing that, the swtpm error appeared.

I had to use these commands to fix the permissions for SELinux when trying to use VMM (or any virtual machine at all).

sudo restorecon -rv /var/log/libvirt/
systemctl restart swtpm-workaround.service

The swtpm-workaround.service was enabled and running, but for some reason the problem persisted until I restarted it with restart.