Bug 161260 - chkconfig now outputs usage with unknown service
chkconfig now outputs usage with unknown service
Status: CLOSED WONTFIX
Product: Fedora
Classification: Fedora
Component: chkconfig (Show other bugs)
4
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-21 16:08 EDT by Orion Poplawski
Modified: 2014-03-16 22:54 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-06-21 16:19:14 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Orion Poplawski 2005-06-21 16:08:30 EDT
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 16:19:14 EDT
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.