Bug 698770

Summary: server should not call a plugin after the plugin close function is called
Product: [Retired] 389 Reporter: Rich Megginson <rmeggins>
Component: Server - PluginsAssignee: Rich Megginson <rmeggins>
Status: CLOSED UPSTREAM QA Contact: Chandrasekar Kannan <ckannan>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.2.8CC: benl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 389-ds-base-1.2.10.a7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 781532 (view as bug list) Environment:
Last Closed: 2012-02-07 16:14:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 690319, 781532    

Description Rich Megginson 2011-04-21 17:57:52 UTC
The directory server crashes if it is shutdown before a long running task can complete

https://bugzilla.redhat.com/show_bug.cgi?id=698421

the reason is that a plugin postop function is being called after the plugin close function has been called.  Once the server calls the plugin close function, the plugin should be removed from the list of active plugins, and plugin_free should be called on that plugin.

Comment 3 Martin Kosek 2012-01-04 13:24:05 UTC
Upstream ticket:
https://fedorahosted.org/389/ticket/50

Comment 4 Rich Megginson 2012-02-07 16:14:53 UTC
Fixed in version 1.2.10.a7