Bug 1045775

Summary: pksconf need various directory to be created in order to work
Product: [Fedora] Fedora Reporter: Michael S. <misc>
Component: openCryptokiAssignee: Dan Horák <dan>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dan, hannsj_uhl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: opencryptoki-3.0-8.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-31 04:27:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.