Bug 656430 - Unconfigure plugin opperations are being called.
Summary: Unconfigure plugin opperations are being called.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: 389
Classification: Retired
Component: Directory Server
Version: 1.2.7
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Rich Megginson
QA Contact: Viktor Ashirov
URL:
Whiteboard:
Depends On:
Blocks: 512820 690319 781530
TreeView+ depends on / blocked
 
Reported: 2010-11-23 17:54 UTC by Simo Sorce
Modified: 2015-12-07 17:04 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 781530 (view as bug list)
Environment:
Last Closed: 2015-12-07 17:04:00 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.