Bug 31503 - pam module crashes after conversation finishes
Summary: pam module crashes after conversation finishes
Status: RESOLVED FIXED
Alias: None
Product: libfprint
Classification: Unclassified
Component: fprintd (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: libfprint-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-09 08:16 UTC by Ray Strode
Modified: 2010-11-09 08:58 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
prevent unloads (719 bytes, patch)
2010-11-09 08:16 UTC, Ray Strode
Details | Splinter Review

Description Ray Strode 2010-11-09 08:16:15 UTC
Created attachment 40153 [details] [review]
prevent unloads

pam_fprintd uses dbus-glib which registers global state that can not be unregistered.  We probably shouldn't allow the pam module to get unloaded, since after it gets unloaded that state is invalid.
Comment 1 Ray Strode 2010-11-09 08:58:12 UTC
pushed, http://cgit.freedesktop.org/libfprint/fprintd/commit/?id=00ac488cde0f9b916d58af2c1d4f1ae9e05293d0 :


Don't every allow pam module to get unloaded
The PAM module uses dbus-glib, static gobject types, etc, so it really can't get unloaded. This commit adds some linker-fu to keep it resident even after the pam module closes.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.