Bug 6923 - Tries to run scripts it shouldn't
Summary: Tries to run scripts it shouldn't
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts
Version: 6.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL: http://www.memalpha.cx/Linux/initscri...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-11-11 13:24 UTC by Riley H Williams
Modified: 2014-03-17 02:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 1999-11-11 16:09:07 UTC
Embargoed:


Attachments (Terms of Use)

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.


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