Description: Fix various failures in plugins test suite.
Fixes https://pagure.io/389-ds-base/issue/49761
Reviewed by: ???
rebased onto 4e0a92db86efc3887efa5288e950ba8985022713
rebased onto 00306b92b3c9f6ea8949a09a151fdb53812affaf
1 new commit added
Fix import regression test
Test with password history set to 0 only on 1.4.1.2+
Run fdlimits test only 1.4.1.2+
The test fails here with ldap.UNWILLING_TO_PERFORM: {'desc': 'Server is unwilling to perform', 'info': 'Invalid plugin path /var/lib/dirsrv/slapd-standalone1/bak/libwhoami-plugin.so - failed to open library'}.
ldap.UNWILLING_TO_PERFORM: {'desc': 'Server is unwilling to perform', 'info': 'Invalid plugin path /var/lib/dirsrv/slapd-standalone1/bak/libwhoami-plugin.so - failed to open library'}
Take care of SELinux edge cases
rebased onto 00de25fee69ddee19eb67c873aeda84ec0f34e3d
Right, it fails because SELinux rightfully denies:
---- type=AVC msg=audit(15/05/19 16:36:58.928:420) : avc: denied { execute } for pid=20581 comm=ns-slapd path=/var/lib/dirsrv/slapd-standalone1/bak/libwhoami-plugin.so dev="vda1" ino=401178 scontext=system_u:system_r:dirsrv_t:s0 tcontext=unconfined_u:object_r:dirsrv_var_lib_t:s0 tclass=file permissive=0
We need to label .so file properly, so that SELinux will allow to exec it. I've added a check for SELinux. If it's present and enabled, then: 1. expect it to fail with the default label 2. relabel and try again, this time it should succeed.
rebased onto 76e1ff1c92f4abe45c2060d28403fd774d95098a
rebased onto 750bc01b5860515b96e4723b24c966f6c2d3da9b
2 new commits added
Use default ldif directory instead of /tmp
Do some checks for dsreplcheck only on 1.4.1.2+
rebased onto b419f1d80e7c830592d58ccfbbeed3684f09b763
LGTM! Ack
rebased onto a9e4ce005d0f076a714be0fad848f0980f32a253
Pull-Request has been merged by vashirov
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 pull request has been cloned to Github as issue and is available here: - https://github.com/389ds/389-ds-base/issues/3434
If you want to continue to work on the PR, please navigate to the github issue, download the patch from the attachments and file a new pull request.
Thank you for understanding. We apologize for all inconvenience.
Pull-Request has been closed by spichugi
Description:
Fix various failures in plugins test suite.
Fixes https://pagure.io/389-ds-base/issue/49761
Reviewed by: ???