Bug 6923

Summary: Tries to run scripts it shouldn't
Product: [Retired] Red Hat Linux Reporter: Riley H Williams <rhw>
Component: initscriptsAssignee: Bill Nottingham <notting>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://www.memalpha.cx/Linux/initscripts.diff
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-11-11 16:09:07 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 Riley H Williams 1999-11-11 13:24:59 UTC
There are TWO bugs in the main init script /etc/rc.d/rc
present on RedHat 5.1, 6.0 and 6.1 versions of this script,
as follows:

 1. The current script is set up to ignore any of the
    *.rpmsave and *.rpmorig scripts that RPM throws up,
    but it fails to ignore the *.rpmnew scripts that
    RPM occasionally throws up. I recently got hit by
    this bug.

 2. It also sometimes tries to execute scripts that do
    not have execute listed in their mode. This results
    in unnecessary error messages being displayed.

I have put the required patch online at the URL above (which
is NOT linked into the tree there), and would ask that this
be applied.

Comment 1 Bill Nottingham 1999-11-11 16:09:59 UTC
The rpmnew thing is fixed in the initscripts that ship with 6.1.
Will look at testing -x instead of -f.

Comment 2 Riley H Williams 1999-11-24 13:21:59 UTC
Has any decision been reached on "testing -x" ???

I will add that I use -x here, and this allows me to disable subsystems by doing
`chmod a-x /etc/rc.d/init.d/dhcpd` for example, and not see unwanted error
messages appear on the screen during system boot.