From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Description of problem:
On boot I get "Checking configuration files for : config file testing
succeeded" if I set ldap to run at startup.
All the other servives only warn me if my configuration is incorrect -
httpd for instance, and just display the [ok] or [failed] messages.
There are two errors in /etc/init.d/ldap:
1. $prog isn't defined high enough in the file (line 57) - logically
the existing script should print out:
"Checking configuration files for slapd: config file testing succeeded"
not "Checking configuration files for : config file testing succeeded"
2. The message shouldn't be displayed at all - unless there is a
error, like httpd does.
Redirecting the error, and grep'ing for "error" can give us a
not-empty check for error condition, so normal bootup just displays [ok]
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. set up a correct database
2. set ldap to start on boot
3. see extra line on bootup.
Actual Results: Checking configuration files for : config file
Expected Results: -no screen display UNLESS my config is wrong-
Created attachment 109106 [details]
Fixes the above issues, only printing error if database is incorrect.
Fedora Core 3 is now maintained by the Fedora Legacy project for security
updates only. If this problem is a security issue, please reopen and
reassign to the Fedora Legacy product. If it is not a security issue and
hasn't been resolved in the current FC5 updates or in the FC6 test
release, reopen and change the version to match.
Init scripts in openldap-servers-2_3_34-2_fc7 should be quiet unless some error/
warning is reported.