Created attachment 595228 [details] tcsd.service Description of problem: http://fedoraproject.org/wiki/Features/SysVtoSystemd https://fedoraproject.org/wiki/Packaging:Guidelines:Systemd https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd Please ship attached unit file and drop SysV init script. Systemd unit does not load modules - this belongs to kernel's autoloading mechanism.
trousers-0.3.9-3.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/trousers-0.3.9-3.fc18
Thanks for taking unit, two notes: 1) in F18 you can utilize systemd macros in .spec file - http://cgit.freedesktop.org/systemd/systemd/tree/src/core/macros.systemd.in and http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Macroized_scriptlets_.28Fedora_18.2B.29 2) kernel modules. SYSV scripts explicitly loads tpm modules. This should be auto-loaded by kernel, but I'm not 100% sure if kernel does that. If not, then until kernel is fixed, you would have to ship /etc/modules-load.d/tpm.conf file containing: tpm tpm_bios tpm_tis tpm_atmel tpm_infineon tpm_nsc i.e. all tpm kernel modules shipped with fedora.
I'll update the macros next time. I was thinking I would be doing builds on F17, but I guess i can't. All systems I've see with a tpm chip create a /dev/tpm0 during boot. The init script haven't been changed since originally written other than some reformatting. In that time I think things have changed. I also have bug reports saying it couldn't load a module.So, for now I want to see if the kernel loads everything and then add stuff as its determined its needed.
Package trousers-0.3.9-3.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing trousers-0.3.9-3.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-12846/trousers-0.3.9-3.fc18 then log in and leave karma (feedback).
*** Bug 820163 has been marked as a duplicate of this bug. ***
trousers-0.3.9-3.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.