Bug 31503

Summary: pam module crashes after conversation finishes
Product: libfprint Reporter: Ray Strode <halfline>
Component: fprintdAssignee: libfprint-bugs
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: prevent unloads

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.