Has anyone managed to run the swtpm emulator successfully under FreeBSD?
I keep getting this error in the swtpm.log after running the program
# swtpm socket --server type=unixio,path=swtpm.sock --tpm2 --tpmstate dir="/root/test/" --pid file=swtpm.pid --log file=swtpm.log,level=7 --ctrl type=unixio,path=ctrl.sock,terminate --chroot="/root/test/" --daemon --flags startup-clear
NWTPM_NVRAM_Lock_Dir: Could not open lockfile: No such file or directory
IsEnEnabled(0x140 = 'SetCommandCodeAuditStatus'): 1
SWTPM_NVRAM_StoreData: Error (fatal) opening /root/test//TMP2-00.permall for write failed, No such file or directory
SWTPM_NVRAM_Lock_Dir: Could not open lockfile: No such file or directory
I've tried to create the TMP2-00.permall file manually, change RW access, but no success.


