Bug 656430

Summary: Unconfigure plugin opperations are being called.
Product: [Retired] 389 Reporter: Simo Sorce <ssorce>
Component: Directory ServerAssignee: Rich Megginson <rmeggins>
Status: CLOSED CURRENTRELEASE QA Contact: Viktor Ashirov <vashirov>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.2.7CC: amsharma, jgalipea, nhosoi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 781530 (view as bug list) Environment:
Last Closed: 2015-12-07 17:04:00 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:
Bug Depends On:    
Bug Blocks: 512820, 690319, 781530    

Description Simo Sorce 2010-11-23 17:54:22 UTC
Apparently postop operation of the retrocl plugin are being called even though the plugin is not enabled in cn=config.

See also bug #656392 for the context in which this was determined.

Comment 1 Simo Sorce 2010-11-23 18:16:09 UTC
This is the actual retrocl plugin configuration in my dse.ldif file:

dn: cn=Retro Changelog Plugin,cn=plugins,cn=config
objectClass: top
objectClass: nsSlapdPlugin
objectClass: extensibleObject
cn: Retro Changelog Plugin
nsslapd-pluginPath: libretrocl-plugin
nsslapd-pluginInitfunc: retrocl_plugin_init
nsslapd-pluginType: object
nsslapd-pluginEnabled: off
nsslapd-pluginprecedence: 25
nsslapd-plugin-depends-on-type: database
nsslapd-plugin-depends-on-named: Class of Service
nsslapd-pluginId: retrocl
nsslapd-pluginVersion: 1.2.7
nsslapd-pluginVendor: 389 Project
nsslapd-pluginDescription: Retrocl Plugin

Comment 3 Martin Kosek 2012-01-04 13:29:51 UTC
Upstream ticket:
https://fedorahosted.org/389/ticket/75

Comment 4 Noriko Hosoi 2012-01-18 18:54:05 UTC
Fixed.

See https://fedorahosted.org/389/ticket/75#comment:7 for the steps to verify.

Comment 5 Amita Sharma 2012-04-25 11:53:22 UTC
dn: cn=USN,cn=plugins,cn=config
objectClass: top
objectClass: nsSlapdPlugin
objectClass: extensibleObject
cn: USN
nsslapd-pluginPath: libusn-plugin
nsslapd-pluginInitfunc: usn_init
nsslapd-pluginType: object
nsslapd-pluginEnabled: off



[root@dhcp201-174 ~]# ldapmodify -x -h localhost -p 13070 -D "cn=directory manager" -w Secret123 <<EOF
> dn: cn=config
> changetype: modify
> replace: nsslapd-errorlog-level
> nsslapd-errorlog-level: 1
> EOF
modifying entry "cn=config"

After add/delete
[root@dhcp201-174 ~]# cat /var/log/dirsrv/slapd-M1/errors | grep -i usn
[root@dhcp201-174 ~]# cat /var/log/dirsrv/slapd-M1/errors | grep -i "usn_"
[root@dhcp201-174 ~]# 

Hence VERIFIED