Red Hat Bugzilla – Bug 1283558
tcsd fails to start if there is no tpm_* module in lsmod's output or insmod fails in loading tpm_* modules
Last modified: 2017-12-06 06:36:48 EST
Description of problem:
tcsd fails to start if there is no tpm_* module in lsmod's output or insmod fails in loading tpm_* modules. The issue is in the initscript in function start(). There is this code
check_drivers || load_drivers || exit 1
Function check_drivers() does lsmod and checks if there is tpm_* module in the output. This is wrong because tpm module can be built-in and in this case it will not be in lsmod's output. In my case, I use tpm-emulator. tpm-emulator does not have tpm_* module (It has tpmd_dev module), but it creates /dev/tpm device so trousers works as it's expected. This is not problem on x86_64/i386. There is tpm_infineon module which is always loaded not matter there is or is not tpm device on the system. The problem is only on ppc64 and s390x.
The better way is to check existence of /dev/tpm instead of exitence of tpm_* kernel module, but it does tcsd itself.
There are no such limitations on rhel-7, so I suggest to remove check from the initscript.
Version-Release number of selected component (if applicable):
tcsd does not start if there is no tpm_* module in the system.
tcsd start if there is /dev/tpm device.
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.
The official life cycle policy can be reviewed here:
This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL: