opencryptoki does not create logging directories
Bug #1594386 reported by
bugproxy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
Medium
|
Unassigned | ||
opencryptoki (Ubuntu) |
Fix Released
|
Undecided
|
Dimitri John Ledkov | ||
Xenial |
Fix Released
|
Undecided
|
Dimitri John Ledkov | ||
Yakkety |
Fix Released
|
Undecided
|
Dimitri John Ledkov |
Bug Description
== Comment: #0 - Benedikt Klotz <email address hidden> - 2016-06-17 09:37:07 ==
The logging directory is not created by opencryptoki by default. This makes it difficult to debug opencryptoki errors.
A patch is at https:/
The patch adds also some more directories (locking and Token object directories) when they are missing and adds sanity checks for access rights.
Could you please include this patch into 16.04.
tags: | added: architecture-s39064 bugnameltc-142778 severity-medium targetmilestone-inin1604 |
Changed in ubuntu: | |
assignee: | nobody → Skipper Bug Screeners (skipper-screen-team) |
affects: | ubuntu → opencryptoki (Ubuntu) |
tags: |
added: targetmilestone-inin16041 removed: targetmilestone-inin1604 |
Changed in ubuntu-z-systems: | |
status: | New → Confirmed |
status: | Confirmed → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Dimitri John Ledkov (xnox) |
Changed in opencryptoki (Ubuntu Xenial): | |
assignee: | nobody → Dimitri John Ledkov (xnox) |
Changed in opencryptoki (Ubuntu Yakkety): | |
assignee: | Skipper Bug Screeners (skipper-screen-team) → Dimitri John Ledkov (xnox) |
Changed in ubuntu-z-systems: | |
assignee: | Dimitri John Ledkov (xnox) → nobody |
Changed in opencryptoki (Ubuntu Yakkety): | |
status: | New → In Progress |
no longer affects: | opencryptoki |
Changed in opencryptoki (Ubuntu Xenial): | |
status: | New → In Progress |
tags: | removed: bugnameltc-142778 severity-medium |
Changed in ubuntu-z-systems: | |
status: | Triaged → Fix Committed |
tags: |
added: verification-done removed: verification-needed |
Changed in ubuntu-z-systems: | |
status: | Fix Committed → Fix Released |
tags: |
added: bugnameltc-142778 severity-medium removed: verification-done |
To post a comment you must log in.
------- Comment From <email address hidden> 2016-07-19 09:40 EDT------- NOT_PRESENT" . The issue is fixed with the following commit upstream.
We found an issue in the above patch in that the lock directory for tpm token is not created when it is missing. This causes the "pkcsconf -t" to fail with an error "CKR_TOKEN_
https:/ /sourceforge. net/p/opencrypt oki/opencryptok i/ci/aeea198cb8 ea640cd37735365 ee51a03aca67036 /
"create missing tpm lock directory from tpm stdll."
Please include this patch too on top of the first patch for a complete working solution.