Bug 94 - script 'rc' glob is too general
script 'rc' glob is too general
Status: ON_QA
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
5.0
All Linux
low Severity low
: ---
: ---
Assigned To: Bill Nottingham
: Reopened
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1998-11-16 12:18 EST by saint
Modified: 2017-04-06 15:20 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1998-11-22 11:11:49 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description saint 1998-11-16 12:18:25 EST
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 10:49:59 EST
changed priority, but he does have a point.  Seems reasonable.
Comment 2 Jeff Johnson 1998-11-22 11:09:59 EST
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-05 20:24:36 EDT
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 15:20:47 EDT
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

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