I think I found the problem.

In the lucid version of libopencryptoki0, there's an /etc/ld.so.conf.d
/opencryptoki-x86_64.conf that includes /usr/lib/opencryptoki/stdll.
That's how the lucid version was able to find the backend modules.

This was removed in 2.3.1+dfsg-1.  From the changelog:

  * debian/rules:
   - Do no install /etc/ld.so.conf.d/opencryptoki-i486.conf
   - Creating instead soft-links in /usr/lib

The rules file does in fact create symlinks in /usr/lib.  However, it
creates symlinks for *.so.*, but pkcs11_startup creates configuration
files that reference *.so.  (Note the missing version in the filenames.)

A simple fix would be to make symlinks for *.so* in /usr/lib.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/926305

Title:
  fails to load modules for pkcs11 backends

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/opencryptoki/+bug/926305/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to