Public bug reported:
It happens above libpcsclite1_1.4.102
Any process using libaetpkss.so as a pkcs#11 provider hangs at the end of smart
card session.
It is caused by the pcsclite library (I don't know if it is called in the
correct way, as the Safesign pkcs#11 library is closed source).
The cause of it is an open on a fifo which hangs as no one at the other
end.
Patch (please notify upstream as well):
--- pcsc-lite-1.5.3.orig/src/utils.c
+++ pcsc-lite-1.5.3/src/utils.c
@@ -170,7 +170,7 @@
(void)snprintf(filename, sizeof(filename), "%s/event.%d.%ld",
PCSCLITE_EVENTS_DIR, SYS_GetPID(), hContext);
(void)mkfifo(filename, 0644);
- fd = SYS_OpenFile(filename, O_WRONLY, 0);
+ fd = SYS_OpenFile(filename, O_WRONLY|O_NONBLOCK, 0);
if (fstat(fd, &fstat_buf))
{
** Affects: pcsc-lite (Ubuntu)
Importance: Undecided
Status: New
--
safesign (libaetpkss.so) hangs the process which uses it
https://bugs.launchpad.net/bugs/647545
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs