Bug 147393 - chkconfig fails to display usage message when passed bad arguments
Summary: chkconfig fails to display usage message when passed bad arguments
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: chkconfig
Version: 3.0
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-02-07 20:50 UTC by Steve Bonneville
Modified: 2014-03-17 02:52 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-02-07 21:09:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Steve Bonneville 2005-02-07 20:50:38 UTC
Description of problem:

The chkconfig utility does not properly report an error or the
usage message when it is passed incorrect command-line arguments.

Example incorrect commands affected include:
  chkconfig --level 4
  chkconfig --level 4 on
  chkconfig on

I suppose you can argue that 'on' might be a service name for the 
last two commands, but it's potentially confusing.

Version-Release number of selected component (if applicable):
  chkconfig-1.3.11-0.3

Comment 1 Bill Nottingham 2005-02-07 21:09:39 UTC
Fixed in 1.3.15-1, currently not scheduled for release in RHEL until
RHEL 5.


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