Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 161260 - chkconfig now outputs usage with unknown service
Summary: chkconfig now outputs usage with unknown service
Alias: None
Product: Fedora
Classification: Fedora
Component: chkconfig
Version: 4
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Ben Levenson
Depends On:
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:
Last Closed: 2005-06-21 20:19:14 UTC

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):

How reproducible:

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.