Bug 1625647 - TPM2TOOLS_DEVICE_FILE not honored
Summary: TPM2TOOLS_DEVICE_FILE not honored
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: tpm2-tools
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Yunying Sun
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-05 12:45 UTC by Harald Hoyer
Modified: 2018-10-30 17:15 UTC (History)
3 users (show)

Fixed In Version: tpm2-tools-3.1.2-1.fc29
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-30 17:15:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Harald Hoyer 2018-09-05 12:45:10 UTC
Stracing tpm2_createprimary, tpm2_load and tpm2_unseal with only
/usr/lib64/libtss2-tcti-device.so.0.0.0 on the system, I can see them opening /dev/tpm0, despite 

            export TPM2TOOLS_TCTI_NAME=device
            export TPM2TOOLS_DEVICE_FILE=/dev/tpmrm0

being set.
Adding "-T device:/dev/tpmrm0" to the options works.

Comment 1 Harald Hoyer 2018-09-05 12:45:21 UTC
$ rpm -q tpm2-tss
tpm2-tss-2.0.0-3.fc29.x86_64

Comment 3 Fedora Update System 2018-09-12 23:27:38 UTC
tpm2-tools-3.1.2-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-3f2d89dd76

Comment 4 Fedora Update System 2018-09-13 05:36:49 UTC
tpm2-tools-3.1.2-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-3f2d89dd76

Comment 5 Yunying Sun 2018-10-26 02:24:05 UTC
This issue has been verified on Fedora 29 according to comment in:
https://bodhi.fedoraproject.org/updates/tpm2-tools-3.1.2-1.fc29

Is this enough to move status of this issue to "verified" and "closed"?

Comment 6 Fedora Update System 2018-10-30 17:15:39 UTC
tpm2-tools-3.1.2-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.