Bug 1013017 - pkcsconf: C_GetSlotList returned 0 slots
Summary: pkcsconf: C_GetSlotList returned 0 slots
Keywords:
Status: CLOSED DUPLICATE of bug 1054442
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: opencryptoki
Version: 7.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Dan Horák
QA Contact: Jiri Jaburek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-27 15:22 UTC by Jiri Jaburek
Modified: 2019-03-06 01:06 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-20 13:21:02 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Jiri Jaburek 2013-09-27 15:22:43 UTC
Description of problem:

Any pkcsconf operation returns the following error:

C_GetSlotList returned 0 slots. Check that your tokens are installed correctly.

The opencryptoki-swtok package is installed, pkcsslotd is running without any apparent errors/warnings.

Copying RHEL6 binaries pkcs11_startup and pkcs_slot to this RHEL7 machine and run pkcs11_startup doesn't help, the error still appears.


Version-Release number of selected component (if applicable):
opencryptoki-swtok-3.0-4.el7.x86_64
opencryptoki-3.0-4.el7.x86_64
opencryptoki-libs-3.0-4.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1. install aforementioned packages
2. start up pkcsslotd (if it's not running)
3. run ie. pkcsconf -t

Actual results:
pkcsconf -t outputs an error message

Expected results:
pkcsconf -t outputs info about tokens available (ie. soft token), like on RHEL6

Additional info:

Comment 1 Petr Lautrbach 2013-09-27 15:25:44 UTC
There's a problem with initialization of new software token. pkcs11_startup from older release can be used as temporary workaround.

Comment 4 Dan Horák 2014-01-13 10:03:41 UTC
sounds bug #1045775 outlines a solution

Comment 5 Dan Horák 2014-01-20 13:21:02 UTC

*** This bug has been marked as a duplicate of bug 1054442 ***


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