Hello all,
On CentOS 7.1, I activated the tcsd service. When I did it manually, it worked without problem, however, on reboot, I noted it was failed. I restarted it, and it worked immediately. But more reboots confirmed that it's always failing when the system starts. It seems the service is started too early, before the device it uses is created.
Here's the logs:
# journalctl -u tcsd -- Logs begin at Mon 2015-04-06 10:20:59 CEST, end at Tue 2015-04-07 10:11:37 CEST. -- Apr 06 10:21:38 server systemd[1]: Starting TCG Core Services Daemon... Apr 06 10:21:38 server systemd[1]: tcsd.service: control process exited, code=exited status=137 Apr 06 10:21:38 server systemd[1]: Failed to start TCG Core Services Daemon. Apr 06 10:21:38 server systemd[1]: Unit tcsd.service entered failed state.
In syslog: Apr 6 10:21:38 server journal: TCSD TDDL[2557]: TrouSerS ERROR: Could not find a device to open!
The device appears at about the same time, it must be a matter of seconds: crw------- 1 root root 10, 224 Apr 6 10:21 /dev/tpm0
Is that a bug of the service or something I can fix?
Thanks!
Laurent