Bug 772320
Summary: | gnome-keyring/p11-kit abuses pthread_atfork in a way that breaks libvirt's unit tests | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Eric Blake <eblake> |
Component: | gnome-keyring | Assignee: | Tomáš Bžatek <tbzatek> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | ajia, mclasen, tbzatek, tsmetana, walters |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-02-14 02:31:59 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Eric Blake
2012-01-06 19:57:20 UTC
Note that the WARNING message printed during the pthread_atfork was a result of libvirt's test pulling out the rug from under gnome-keyring, by calling close on an fd that gnome-keyring was expecting to be present in the pthread_atfork handler. Libvirt has since fixed the testsuite flaw: http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=74ff57506c76 That said, there's still a bug in the gnome-keyring code, and I suspect it should be possible to construct a case where one thread is in the middle of code that holds the mutex while another thread calls fork() and deadlocks because of gnome-manager trying to obtain an impossible lock. pthread_atfork usage has been removed in p11-kit 0.11 |