Attached is an initial patch for IPA to allows the use of dynamic plugins. However, during the install of IPA (the LDAP update phase where plugins are configured) the DS crashes. Valgrind reports different results with each crash - making it difficult to narrow down the true root cause.
What does "appear" to be happening is that during the IPA install, it incorrectly configures a plugin that causes DS to try and revert to the original plugin entry(which also fails). This appears to corrupt the global plugin list, with a deleted/freed plugin entry, but I have not been able to reproduce the crash outside of the IPA install, so this is just a theory.
patch for FreeIPA ipa-dynamic-plugins.diff
audit log from IPA (successful install) audit.ipa
Per triage, push the target milestone to 1.3.6.
Metadata Update from @nhosoi: - Issue set to the milestone: 1.3.6.0
I have found that there is a set of race and use after free issues in this system that is very difficult to resolve. There may be a solution in 1.3.7 or later however.
Metadata Update from @firstyear: - Custom field reviewstatus adjusted to review - Issue close_status updated to: None
Metadata Update from @firstyear: - Issue assigned to firstyear
Metadata Update from @firstyear: - Custom field reviewstatus reset
Metadata Update from @mreynolds: - Issue set to the milestone: 1.4 backlog (was: 1.3.6.0)
Metadata Update from @mreynolds: - Custom field reviewstatus adjusted to None - Issue close_status updated to: wontfix - Issue status updated to: Closed (was: Open)
389-ds-base is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in 389-ds-base's github repository.
This issue has been cloned to Github and is available here: - https://github.com/389ds/389-ds-base/issues/1540
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.