opencryptoki.service fails to start

Bug #1503681 reported by Simon Eisenmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snappy
New
Undecided
Unassigned

Bug Description

A new snappy install (ubuntu-core 6 / 15.04/stable) includes as service named opencryptoki.service - LSB: starts pkcsslotd which fails to start, leading to a degraded system.

This is because opencryptoki is installed in ubuntu-core

ii libopencryptoki0 2.3.1+dfsg-3ubuntu5 armhf PKCS#11 implementation (library)
ii opencryptoki 2.3.1+dfsg-3ubuntu5 armhf PKCS#11 implementation (daemon)

Should be removed, or at the very last the service should be disabled.

Details:
(ODROIDC)root@odroid:~# systemctl status opencryptoki.service -l
● opencryptoki.service - LSB: starts pkcsslotd
   Loaded: loaded (/etc/init.d/opencryptoki)
   Active: failed (Result: exit-code) since Wed 2015-10-07 10:20:38 UTC; 2h 35min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 654 ExecStart=/etc/init.d/opencryptoki start (code=exited, status=1/FAILURE)

Oct 07 10:20:37 odroid opencryptoki[654]: chgrp: cannot access ‘/var/lib/opencryptoki/swtok/TOK_OBJ’: No such file or directory
Oct 07 10:20:37 odroid opencryptoki[654]: /usr/sbin/pkcs_slot: line 496: /var/lib/opencryptoki/pk_config_data: Read-only file system
Oct 07 10:20:38 odroid opencryptoki[654]: chmod: changing permissions of ‘.’: Read-only file system
Oct 07 10:20:38 odroid opencryptoki[654]: Cannot open file /var/lib/opencryptoki/pk_config_data
Oct 07 10:20:38 odroid opencryptoki[654]: Please run /usr/sbin/pkcs11_startup
Oct 07 10:20:38 odroid opencryptoki[654]: ERROR pkcsslotd[712.-1225469952]: Failed to read slot database.
Oct 07 10:20:38 odroid systemd[1]: opencryptoki.service: control process exited, code=exited status=1
Oct 07 10:20:38 odroid systemd[1]: Failed to start LSB: starts pkcsslotd.
Oct 07 10:20:38 odroid systemd[1]: Unit opencryptoki.service entered failed state.
Oct 07 10:20:38 odroid systemd[1]: opencryptoki.service failed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.