Bug 92426 - minor bug in /etc/rc.d/rc with subsystems with a number greater than 99
Summary: minor bug in /etc/rc.d/rc with subsystems with a number greater than 99
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts   
(Show other bugs)
Version: 8.0
Hardware: All Linux
low
low
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-06-06 00:00 UTC by Need Real Name
Modified: 2014-03-17 02:36 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-06-06 00:58:52 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 Need Real Name 2003-06-06 00:00:44 UTC
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-06 00:52:07 UTC
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.