Bug 1045775 - pksconf need various directory to be created in order to work
Summary: pksconf need various directory to be created in order to work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: openCryptoki
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dan Horák
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-21 22:44 UTC by Michael S.
Modified: 2014-01-31 04:27 UTC (History)
2 users (show)

Fixed In Version: opencryptoki-3.0-8.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-31 04:27:23 UTC
Type: Bug


Attachments (Terms of Use)

Description Michael S. 2013-12-21 22:44:34 UTC
Trying to play with smartcard and associated technology, I stumbled on opencrypto.

After searching for a while, i found that the swtoken do not work unless there is a few directory created :

We need a /var/lib/opencryptoki/swtok ( with proper permission for the group pkcs11 ), and /var/lock/opencryptoki/swtok 

The same likely apply for tpm subdirectory.

Could they be created as part of the rpm, so users do not have to look after, especially since the error message are not that obvious.

Comment 1 Michael S. 2013-12-21 23:23:28 UTC
And that's the same for tpm, I need to have /var/lib/opencryptoki/tpm/ being created.

Comment 2 Dan Horák 2014-01-13 10:03:20 UTC
Michael, do you see bug #1013017 as the non-obvious error message?

Comment 3 Michael S. 2014-01-13 10:40:17 UTC
To be honest, it could be that, but it was before christmas so lots of stuff happened and I forgot the details. Sorry for not being more detailed on the reproducer, let me try to get again a more detailed view on how to reproduce and how to test.

Comment 4 Fedora Update System 2014-01-22 16:57:52 UTC
opencryptoki-3.0-8.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/opencryptoki-3.0-8.fc20

Comment 5 Fedora Update System 2014-01-23 11:16:03 UTC
Package opencryptoki-3.0-8.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing opencryptoki-3.0-8.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-1398/opencryptoki-3.0-8.fc20
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2014-01-31 04:27:23 UTC
opencryptoki-3.0-8.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.