Red Hat Bugzilla – Bug 1013017
pkcsconf: C_GetSlotList returned 0 slots
Last modified: 2014-01-20 08:21:02 EST
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):
Steps to Reproduce:
1. install aforementioned packages
2. start up pkcsslotd (if it's not running)
3. run ie. pkcsconf -t
pkcsconf -t outputs an error message
pkcsconf -t outputs info about tokens available (ie. soft token), like on RHEL6
There's a problem with initialization of new software token. pkcs11_startup from older release can be used as temporary workaround.
sounds bug #1045775 outlines a solution
*** This bug has been marked as a duplicate of bug 1054442 ***