Bug 528124
| Summary: | openldap slapd init script does not wait for database shutdown | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Ingvar Hagelund <ingvar> | ||||
| Component: | openldap | Assignee: | Jan Zeleny <jzeleny> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | qe-baseos-daemons | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 5.4 | CC: | jplans, matteo.scaramuccia | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| URL: | http://www.openldap.org/lists/openldap-software/200910/msg00013.html | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2009-10-19 09:01:01 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Ingvar Hagelund
2009-10-09 09:20:17 UTC
After some walk through bugzilla, I found another bug describing this solution, closing this one as duplicate. *** This bug has been marked as a duplicate of bug 452064 *** Please keep me updated about the resolution through this bug, if possible, since I cannot access to the source for this duplication, #452064 (Access Denied. You are not authorized to access bug #452064.). TIA. I'm hoping to get the bug approved for fix in RHEL 5.5. If it happens, updates will be available through RHN.
For now, this is basically the patch I will be applying:
--- ldap_real_orig/ldap.init 2008-04-03 08:43:46.000000000 +0100
+++ ldap/ldap.init 2008-04-03 08:37:30.000000000 +0100
@@ -180,7 +180,7 @@ function stop() {
# Stop daemons.
prog=`basename ${slapd}`
echo -n $"Stopping $prog: "
- killproc ${slapd}
+ killproc -d $STOP_DELAY ${slapd}
RETVAL=$?
echo
if [ $RETVAL -eq 0 ]; then
|