Bug 4936 - not a bug perse....
not a bug perse....
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Bill Nottingham
Depends On:
  Show dependency treegraph
Reported: 1999-09-06 00:59 EDT by ken
Modified: 2014-03-16 22:09 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-10-27 16:07:35 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description ken 1999-09-06 00:59:37 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.
Comment 1 Bill Nottingham 1999-10-27 16:07:59 EDT
We'll look at this for future releases.

Note You need to log in before you can comment on or make changes to this bug.