[Opendnssec-user] SoftHSM is blocking

Rickard Bondesson rickard.bondesson at iis.se
Tue Aug 4 10:11:39 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

> I was able to compile all parts of OpenDNSSEC on Ubuntu Linux 9.04.
> 
> then, when I try to initialize the SoftHSM token with
> softhsm --init-token --slot 0 --label "OpenDNSSEC"
> 
> I can enter the SO PIN and user PIN, but then the softhsm 
> process "hangs". I have compiled OpenDNSSEC with loglevel=4 
> and see the following log messages from SoftHSM:
> 
> Aug  2 19:11:58 csmobile2 softhsm: SoftHSM: C_Initialize: Calling
> Aug  2 19:11:58 csmobile2 softhsm: SoftHSM: C_Initialize: OK
> Aug  2 19:12:01 csmobile2 softhsm: SoftHSM: C_InitToken: Calling
> Aug  2 19:12:03 csmobile2 softhsm: SoftHSM: C_OpenSession: Calling
> 
> Any ideas where I can look for the cause of this issue?

We have also got a report from a user with Fedora 11 and a similar problem. Will have a look into this.

There should also be a line saying: "SoftHSM: C_InitToken: OK", right?

Could you run "strace softhsm --init-token --slot 0 --label 'OpenDNSSEC'" and give my the last page of lines before it hangs?

// Rickard
-----BEGIN PGP SIGNATURE-----
Version: 9.8.3 (Build 4028)
Charset: utf-8

wsBVAwUBSngJW+CjgaNTdVjaAQjjVwf+O7elT0cgghYXA9uoLzo2qmts6zGy+Jix
0VCNFYFeI070Gz2Ircz9NqLVAS+TF3wykS61XMbNpyvsFiISQgxLHuBN8zVPm4Av
j67miTEzrN3ACyXdvp4qGB0OLn4KYOaFjeO5eUbpKgK7LLQElRDapA2jpUu85INQ
MhTarRw3I003laRKOh6fEu5zz/ORomU6M5EOW5xvy8tE0ysvQ/CbXnNQX+5PYoNR
7Gbji1ofjCcGw2zZUnsowIBw3TvBs8VVmpeB6bh9h8RmI4B/PVpdhJeOmKm8rn0h
gRTDafpH0mAhj0aCK+zKjDBkCU8kepmG2WDq0JzTV+bhz/4JxW5gkQ==
=Zv7W
-----END PGP SIGNATURE-----



More information about the Opendnssec-user mailing list