From cf0fcc51746c7e280ada377d37cdab318fd231e9 Mon Sep 17 00:00:00 2001 From: Nathan Kinder Date: Tue, 15 Dec 2009 14:16:04 -0800 Subject: Bug 518084 - Fix out of order retro changelog entries When using the retro changelog plugin, post-op plugins that perform internal operations (such as memberOf) can result in the internal operation preceeding the original operation in the changelog. The fix is to give the retro changelog a higher precedence than the other post-op plugins. This required some core server changes to be made around the plugin precedence to allow an object plugin to pass it's precedence into it's calls to slapi_register_plugin() when it registers other plugin types. I added an update LDIF to set the plugin precedence when running "setup-ds.pl -u". I also noticed an AVC when restarting after the update due to the schema.bak directory that is created. I've adjusted the dirsrv SELinux policy to deal with this AVC. --- ldap/admin/src/scripts/50retroclprecedence.ldif | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 ldap/admin/src/scripts/50retroclprecedence.ldif (limited to 'ldap/admin/src/scripts') diff --git a/ldap/admin/src/scripts/50retroclprecedence.ldif b/ldap/admin/src/scripts/50retroclprecedence.ldif new file mode 100644 index 00000000..2faf329d --- /dev/null +++ b/ldap/admin/src/scripts/50retroclprecedence.ldif @@ -0,0 +1,4 @@ +dn: cn=Retro Changelog Plugin,cn=plugins,cn=config +changetype: modify +replace: nsslapd-pluginPrecedence +nsslapd-pluginPrecedence: 25 -- cgit