Red Hat Bugzilla – Bug 161260
chkconfig now outputs usage with unknown service
Last modified: 2014-03-16 22:54:37 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):
Steps to Reproduce:
1. Run chkconfig with unknown service
This was an intentional bug fix; see bug 147393.