RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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:
Embargoed:


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.