Red Hat Bugzilla – Bug 237783
Wrong init script
Last modified: 2014-02-10 18:01:57 EST
+++ This bug was initially created as a clone of Bug #237782 +++
Description of problem:
The script ends with error code 0 even if the daemon is not run. It also does
not correctly invoke the status command. Problem is in following part:
test -x /usr/sbin/atd || exit 0
There are also several errors in return codes.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Remove executable permissions from binary
2. service atd start/service atd status
exit code 0/exit code 0
non-zero exit code defined in our guidelines/current status of the service
When fixing this bug, please obbey our init script guidelines and be sure that
status command is run correctly.
Our guidelines are on following two pages:
For an example of the script that returns the error codes correctly and always
runs status see:
This won't be fixed in existing releases.