Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#132 systemd needs tmpfiles.d/opencryptoki.conf to keep lock dirs

Improvement
open
nobody
5
2015-03-13
2013-02-06
Joy Latten
No

See "man tmpfiles.d". When using systemd, volatile files in /run or cleaned up.
In fedora 17, /run is linked to /var/lock where ock locks are. Fedora has a /usr/lib/tmpfiles.d/opencryptoki.conf with
D /var/lock/opencryptoki 0770 root pkcs11 -

but this was wiping out the subdirs on reboot and not adding them back.
Need to perhaps create a file in tmpfiles.d and includeD /var/lock/opencryptoki 0770 root pkcs11 -
d /var/lock/opencryptoki/ccatok 0770 root pkcs11 -
d /var/lock/opencryptoki/swtok 0770 root pkcs11 -
d /var/lock/opencryptoki/lite 0770 root pkcs11 -

Need to dtermine best way to approach this....

Discussion

  • Joy Latten
    Joy Latten
    2015-03-13

    • labels: PKCS#11 build / install --> opencryptoki
    • assigned_to: Joy Latten --> nobody
    • Group: Enhancement --> Improvement
    • Priority: 7 --> 5