Public bug reported:
Summary
=======
Ubuntu 18.04 ( 4.15.0-24-generic )
Opencryptoki 3.9.0 does not show tokens
The problem is reproducible and happens immediately.
The opencryptoki log facility is also broken.
Details
=======
After installing the opencryptoki 3.9.0 package and start of the pkcsslotd
daemon
from /usr/sbin/pkcsslotd by running 'systemctl start pkcsslotd.service'
only an error message is shown.
We tried to get more debug data from the situation by setting
export OPENCRYPTOKI_TRACE_LEVEL=4
but no files had been written to /var/log/opencryptoki/ directory (not
expected).
The acting user was root, being member of the pkcs11 group. The directory
permissions
are as expected:
# id
uid=0(root) gid=0(root) groups=0(root),114(pkcs11)
# ll /var/log/opencryptoki/
total 8
drwxrwx--- 2 root pkcs11 4096 Apr 3 14:03 ./
drwxrwxr-x 8 root syslog 4096 Jul 3 06:25 ../
The problem investigation does only require an IBM Z LPAR or z/VM Guest system,
IBM Crypto Cards may be available but are not required.
Syslog contents related to the error
====================================
Jul 03 14:20:54 s3514006 pkcsconf[869]: api_interface.c C_Initialize: Module
failed to create a socket. Verify that the slot management daemon is running
Jul 03 14:20:54 s3514006 pkcsconf[869]: socket_client.c init_socket_data: read
returned with eof but we still
expect 1321488 bytes from daemon
Steps to reproduce
==============
1.) apt-get install opencryptoki libopencryptoki
2.) Re-login for the pkcs11 group membership to become effective if newly
installed
3.) systemctl start pkcsslotd.service ; ps aux|grep pkcs
4.) pkcsconf -t
5.) journalctl -r
6.) export OPENCRYPTOKI_TRACE_LEVEL=4
7.) pkcsconf -t
7.) ls -l /var/log/opencryptoki/
** Affects: opencryptoki (Ubuntu)
Importance: Undecided
Assignee: Skipper Bug Screeners (skipper-screen-team)
Status: New
** Tags: architecture-s39064 bugnameltc-169431 severity-critical
targetmilestone-inin1804
** Tags added: architecture-s39064 bugnameltc-169431 severity-critical
targetmilestone-inin1804
** Changed in: ubuntu
Assignee: (unassigned) => Skipper Bug Screeners (skipper-screen-team)
** Package changed: ubuntu => opencryptoki (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1779865
Title:
pkcsconf -t failure in syslog: Module failed to create a socket.
Verify that the slot management daemon is running
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/opencryptoki/+bug/1779865/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs