|Summary:||Tries to run scripts it shouldn't|
|Product:||[Retired] Red Hat Linux||Reporter:||Riley H Williams <rhw>|
|Component:||initscripts||Assignee:||Bill Nottingham <notting>|
|Status:||CLOSED CURRENTRELEASE||QA Contact:|
|Fixed In Version:||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
|Last Closed:||1999-11-11 16:09:07 UTC||Type:||---|
|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.