Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 4936

Summary: not a bug perse....
Product: [Retired] Red Hat Linux Reporter: ken
Component: initscriptsAssignee: Bill Nottingham <notting>
Severity: low Docs Contact:
Priority: medium    
Version: 6.0CC: ken, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-10-27 20:07:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description ken 1999-09-06 04:59:37 UTC
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.

Comment 1 Bill Nottingham 1999-10-27 20:07:59 UTC
We'll look at this for future releases.