Closed joshuagl closed 6 years ago
@joshuagl I think that's a known issue caused by SELinux, you can either set to permissive mode or install the SELinux policy module that's in the tpm2-abrmd repo.
I've been trying for at least 6 months now to get my package that ships the SELinux module approved in Fedora but didn't succeed so far...
The crash can't be reproduced when using the session bus, as below:
$ /usr/local/sbin/tpm2-abrmd --allow-root --session --dbus-name=com.intel.tss2.Tabrmd.device --tcti=mssim
$ export TPM2TOOLS_TCTI="abrmd:bus_type=session,bus_name=com.intel.tss2.Tabrmd.device"
$ ./tools/tpm2_pcrlist sha1: 0 : 0x0000000000000000000000000000000000000003 1 : 0x0000000000000000000000000000000000000000
@joshuagl yes, I think it's the same issue. Did you try without SELinux in enforcing mode?
@martinezjavier timely knowledge, thanks. I'll try installing the SELinux policy. I probably did have SELinux in a non-enforcing mode on my previous install, which would explain why I haven't seen this before.
I'll work on a patch for INSTALL.md that mentions SELinux
Running master of tpm2-tss (), tpm2-abrmd () and tpm2-tools () on Fedora 28.
Running the RM on the D-Bus system bus with the simulator TCTI, started as:
the RM crashes when tools try to connect:
The journal records the following information about the crash: