Bug 176184 - Make chkconfig without arguments the same as --list
Summary: Make chkconfig without arguments the same as --list
Keywords:
Status: CLOSED DUPLICATE of bug 290241
Alias: None
Product: Fedora
Classification: Fedora
Component: chkconfig
Version: rawhide
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-12-19 21:02 UTC by Brad Ritchie
Modified: 2014-03-17 02:57 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-11-08 21:51:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Brad Ritchie 2005-12-19 21:02:05 UTC
Description of problem:
=======================
The --list option to chkconfig is cumbersome to use from the shell when
constantly making changes and verifying the status of services.  It would be
nice if chkconfig listed the service by default when no arguments (on|off|reset)
were given.  Currently, chkconfig without any options is the same as "chkconfig
--help".  This change would make chkconfig without any arguments behave the same
as "chkconfig --list".  Users would be required to explicitly enter "chkconfig
--help" to get usage info, but this is consistent with current conventions.

Ideally, this would work for individual services as well (eg. "chkconfig sshd"
would list the status for the sshd service), but this form is currently used as
a test to see if a service is enabled or not, based on it's return value.

In addition, it would convenient if all options (--list, --add, --del, --level)
allowed a single-letter short form. (eg. -l, -a, -d, -L).  These are just
suggestions... they're not necessarily intuitive (-d could be confused for
"debug") but they make command-line editing easier in the case of --list, they
follow the standard (old-school) convention and are supported by the popt library.


Version-Release number of selected component (if applicable):
=============================================================
chkconfig version 1.3.23 - Copyright (C) 1997-2000 Red Hat, Inc.

Comment 1 Bill Nottingham 2007-11-08 21:51:53 UTC
Will be in 1.3.37-1.

*** This bug has been marked as a duplicate of 290241 ***


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