Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get rid of the "Could not initialize TCTI file: libtss2-tcti" message in the initrd on secure boot systems #3144

Open
mtoman opened this issue May 29, 2023 · 0 comments

Comments

@mtoman
Copy link
Contributor

mtoman commented May 29, 2023

When the cryptsetup initrd script decrypts the LUKS passphrase using the TPM, it spits out error messages, e.g.

ERROR:tcti:../tpm2-tss-3.2.0/src/tss2-tcti/tctildr-dl.c:154:tcti_from_file() Could not initialize TCTI file: libtss2-tcti

This is harmless, it just does not look good - there are multiple backends that tpm2-tools use to talk to the TPM (directly via /dev/tpmXXX, via abrmd, via libtss). We only support the first option but tpm2-tools will iterate through all of them and use the first one that works. Some ideas to get rid of the message are:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant