Bug 92426 - minor bug in /etc/rc.d/rc with subsystems with a number greater than 99
minor bug in /etc/rc.d/rc with subsystems with a number greater than 99
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
8.0
All Linux
low Severity low
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-06-05 20:00 EDT by Need Real Name
Modified: 2014-03-16 22:36 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-06-05 20:58:52 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2003-06-05 20:00:44 EDT
Description of problem:
if a subsystem in /etc/rc.d/rc*.d/ has a number greater than 99, the file
/etc/rc.d/rc will incorrectly parse the filename.


Version-Release number of selected component (if applicable):
8.0, current?


How reproducible:
trivial


Steps to Reproduce:
1. create a subsystem file called /etc/rc.d/init.d/postfix and link it to
/etc/rc.d/rc*.d/K350postfix
2. make the file executable and of the same general form as all files in
/etc/rc.d/init.d/
3. reboot the machine
    
Actual results:

Starting 0postfix:                [OK]


Expected results:

Starting postfix:                  [OK]


Additional info:
Comment 1 Bill Nottingham 2003-06-05 20:52:07 EDT
I'm fairly sure that the standard is defined for only 2 numbers. Hence, that
parses as a '0postfix' service that starts at position 35.

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