Red Hat Bugzilla – Bug 237775
Wrong init script
Last modified: 2014-11-09 17:30:39 EST
Description of problem:
In several occasions, the script may end with return code 0 even when the
service does not start correctly. For example
if [ ! -x /sbin/arptables ]; then
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. change access rights such that /sbin/arptables is not executable
2. service arptables_jf start
3. echo $?
Non-zero exit code with respect to our guidelines.
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:
Quality Engineering Management has reviewed and declined this request. You may
appeal this decision by reopening this request.