ncalad
ncalad
Yes, that directory exists and contains this file: -rw-rw-r-- 1 xxx xxxx 0 oct 8 09:09 TMP2-00.permall, although the file is not recreated if I deleted it and re-run swtpm
These are the steps that I followed before the error occurred: sudo apt-get install update sudo apt-get install swtpm mkdir ./tpmstatedir swtpm socket --tpm2 --ctrl type=unixio,path=/tmp/swtpm-sock --tpmstate dir=./tpmstatedir qemu-system-x86_64 -enable-kvm...
I tried disabling apparmor but I still have the same problem. sudo systemctl stop apparmor I also tried building from source. That gives me version 0.8.0 of swtpm, but I...
If I run it under gdb, then it works.
Yes, adding that line to /etc/apparmor.d/local/usr.bin.swtpm which was an empty file, and restarting apparmor fixed the problem for me. Thank you.