Bug 1249908
Summary: | No validation check for the value for nsslapd-db-locks. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Amita Sharma <amsharma> |
Component: | 389-ds-base | Assignee: | Noriko Hosoi <nhosoi> |
Status: | CLOSED ERRATA | QA Contact: | Viktor Ashirov <vashirov> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.2 | CC: | nkinder, rmeggins, spichugi |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 389-ds-base-1.3.5.2-1.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-11-03 20:35:33 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Amita Sharma
2015-08-04 06:45:23 UTC
Upstream ticket: https://fedorahosted.org/389/ticket/48244 One correction in the step 2 to reproduce the problem. 2. Modify value for nsslapd-db-configured-locks and set as 0 "nsslapd-db-configured-locks" is not a valid db config param. It is suppsoed to be "nsslapd-db-locks". Please note that cn=config,cn=ldbm database,cn=plugins,cn=config is an extensible object, there is no way to reject a garbage param, which is just ignored. This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions Build tested: 389-ds-base-1.3.5.4-1.el7.x86_64 Verification steps: 1. Install a directory server instance. 2. Stop the server. [0 root@host ~]# stop-dirsrv Stopping instance "host" 3. Modify value for nsslapd-db-locks and set as 10 [0 root@host ~]# sed -i "s/nsslapd-db-locks: 10000/nsslapd-db-locks: 10/g" /etc/dirsrv/slapd-qeos-165/dse.ldif 4. Start the server [0 root@host ~]# start-dirsrv Starting instance "host" 5. Check error log for reset message: [0 root@host ~]# cat /var/log/dirsrv/slapd-host/errors | grep "New max db lock count is too small. Resetting it to the default value 10000" [14/Jun/2016:11:32:52.265773093 -0400] New max db lock count is too small. Resetting it to the default value 10000. 6. Restart server and check dse.ldif for reseted value: [0 root@host ~]# restart-dirsrv Restarting instance "host" [0 root@host ~]# cat /etc/dirsrv/slapd-host/dse.ldif | grep nsslapd-db-locks nsslapd-db-locks: 10000 Marking as verified. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2016-2594.html |