Bug 161260 - chkconfig now outputs usage with unknown service
Summary: chkconfig now outputs usage with unknown service
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: chkconfig
Version: 4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-06-21 20:08 UTC by Orion Poplawski
Modified: 2014-03-17 02:54 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-06-21 20:19:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Orion Poplawski 2005-06-21 20:08:30 UTC
Description of problem:

With mysql not installed:

# chkconfig mysql
chkconfig version 1.3.20 - Copyright (C) 1997-2000 Red Hat, Inc.
This may be freely redistributed under the terms of the GNU Public License.

usage:   chkconfig --list [name]
         chkconfig --add <name>
         chkconfig --del <name>
         chkconfig [--level <levels>] <name> <on|off|reset>

Before this would be silent.  This causes problems with my cfengine scripts
where I run chkconfig on many systems that may or may not have certain services
installed.  At the very least, a quiet option would be useful.  I can redirect
stderr, but this will loose any real errors (whatever they might be?).

Version-Release number of selected component (if applicable):
chkconfig-1.3.20-1

How reproducible:
everytime

Steps to Reproduce:
1. Run chkconfig with unknown service
  
Actual results:
usage output

Expected results:
no output

Comment 1 Bill Nottingham 2005-06-21 20:19:14 UTC
This was an intentional bug fix; see bug 147393.


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