Red Hat Bugzilla – Bug 4936
not a bug perse....
Last modified: 2014-03-16 22:09:57 EDT
I have a suggestion for modifications to the scripts in
/etc/rc.d/init.d... Most scripts check to see if the binary
exists before continuing:
[ -f /path/to/binary ] || exit 0
I suggest changing the behavior to instead check to see if
the file is executable before continuing:
[ -x /path/to/binary ] || exit 0
this way if the file doesn't have the right permissions, or
if there are libraries missing that would keep the binary
from executing, the script will stop.
We'll look at this for future releases.