fork and reinit

Stef Walter stefw at gnome.org
Mon Jan 23 00:24:32 PST 2012


I agree. That has been ripe for removal.

Attached is a patch and in the commit message I outline the various
issues in favor of this removal.

Does the patch do the trick for you?

Cheers,

Stef

On 2012-01-22 17:49, Nikos Mavrogiannopoulos wrote:
> Hi,
>  It seems the automatic reinitialization on fork is problematic in
> general. Once I add opensc in the PKCS #11 modules to load, gnutls hangs
> once a fork occurs. I don't know if it is the same issue with the pcsc
> daemon calling fork() again, but that procedure leads to hard to debug
> issues. Moreover I noticed that debian now adds
> /etc/pkcs11/gnome-keyring, if that would have been opensc, gnutls would
> have suddently stopped working in the combination of applications that
> call fork in systems that have opensc installed. This is quite obscure
> to correlate and is also not easy to correlate it with PKCS #1 because
> no pkcs11 operation was taking place.
> 
> Would it be a good idea to ignore the pkcs11 requirement for
> reinitialization on fork until some subsystem that allows
> reinitialization on demand exists?
> 
> regards,
> Nikos
> 
> 
> 
> _______________________________________________
> p11-glue mailing list
> p11-glue at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/p11-glue



More information about the p11-glue mailing list