Bug 94 - script 'rc' glob is too general
Summary: script 'rc' glob is too general
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts   
(Show other bugs)
Version: 5.0
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL:
Whiteboard:
Keywords: Reopened
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1998-11-16 17:18 UTC by saint
Modified: 2017-05-04 14:52 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-05-04 14:52:10 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description saint 1998-11-16 17:18:25 UTC
If the convention is Snn and Knn as a prefix to script names
in the various run level folders, then shouldn't the glob
be more specific in the script /etc/rc.d/rc?

It could be:
    for i in /etc/rc.d/rc$runlevel.d/K[0-9][0-9]*; do
        ...
    done
and
    for i in /etc/rc.d/rc$runlevel.d/S[0-9][0-9]*; do
        ...
    done

It is:
    for i in /etc/rc.d/rc$runlevel.d/K*; do
        ...
    done
and
    for i in /etc/rc.d/rc$runlevel.d/S*; do
        ...
    done

Comment 1 Preston Brown 1998-11-17 15:49:59 UTC
changed priority, but he does have a point.  Seems reasonable.

Comment 2 Jeff Johnson 1998-11-22 16:09:59 UTC
The current implementation (using K* rather than K[0-9][0-9]*) is
identical to that implemented in SVR4 from which the entire
convention has been borrowed. Adding a more restrictive glob
solves no purpose that I can fathom (other than the obvious
non-problem).

Comment 3 Fedora Update System 2017-04-06 00:24:36 UTC
mote-0.6.1-4.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-47926d2699

Comment 4 Fedora Update System 2017-04-06 19:20:47 UTC
mote-0.6.1-4.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-47926d2699

Comment 5 Fedora Update System 2017-05-04 14:52:10 UTC
mote-0.6.1-4.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.


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