From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) Description of problem: Service script for OpenLDAP doesn't propagate status return codes, and always return 0, even if openldap is not running. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.service ldap stop 2.service ldap status ; echo $? 3. Actual Results: [root@iride root]# service ldap stop [root@iride root]# service ldap status ; echo $? slapd is stopped 0 Expected Results: [root@iride root]# service ldap stop [root@iride root]# service ldap status ; echo $? slapd is stopped 3 Additional info: It is important to propagate the return code in order to use service script with Cluster Manager
Still current; init script just needs a RETVAL=$? after the status call.
Just want to confirm that as of 2006-04-07 this bug is still present in Fedora Core 5.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
*** This bug has been marked as a duplicate of 242666 ***