Red Hat Bugzilla – Bug 836476
Provide native systemd service
Last modified: 2012-09-17 18:19:10 EDT
Created attachment 595228 [details]
Description of problem:
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.
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
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:
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.
* 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:
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.