+++ This bug was initially created as a clone of Bug #237775 +++
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:
Created attachment 153448 [details]
Patch correcting init script
Take a look at this patch please. I suggest to use it.
Fixed in arptables_jf-0.0.8-11.fc9