Bug 290241 - Enhancement to chkconfig - imply list when no action specified
Enhancement to chkconfig - imply list when no action specified
Status: CLOSED NEXTRELEASE
Product: Fedora
Classification: Fedora
Component: chkconfig (Show other bugs)
6
All Linux
medium Severity low
: ---
: ---
Assigned To: Bill Nottingham
Fedora Extras Quality Assurance
:
: 176184 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-09-13 19:01 EDT by Mark D. Foster
Modified: 2014-03-16 23:08 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-11-08 16:51:31 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
patch against chkconfig-1.3.30.1 (3.84 KB, patch)
2007-09-13 19:01 EDT, Mark D. Foster
no flags Details | Diff
patch for this (2.45 KB, patch)
2007-11-08 16:37 EST, Bill Nottingham
no flags Details | Diff

  None (edit)
Description Mark D. Foster 2007-09-13 19:01:37 EDT
Description of problem:
This patch enables chkconfig to act more like the IRIX version it is said to be
based on. If none of --list, --add or --del are passed, --list is implied.

Version-Release number of selected component (if applicable):
1.3.30.2

How reproducible:
Apply patch (attached)

Actual results:
# /sbin/chkconfig  ntpd                                            ntpd        
   0:off   1:off   2:on    3:on    4:on    5:on    6:off

# /sbin/chkconfig
NetworkManager  0:off   1:off   2:off   3:off   4:off   5:off   6:off
NetworkManagerDispatcher        0:off   1:off   2:off   3:off   4:off   5:off  
6:off
acpid           0:off   1:off   2:off   3:on    4:on    5:on    6:off
anacron         0:off   1:off   2:on    3:on    4:on    5:on    6:off
apmd            0:off   1:off   2:on    3:on    4:on    5:on    6:off
atd             0:off   1:off   2:off   3:on    4:on    5:on    6:off
auditd          0:off   1:off   2:on    3:on    4:on    5:on    6:off
autofs          0:off   1:off   2:on    3:on    4:on    5:on    6:off
...[output trimmed for brevity]
Additional info:
Comment 1 Mark D. Foster 2007-09-13 19:01:37 EDT
Created attachment 195341 [details]
patch against chkconfig-1.3.30.1
Comment 2 Mark D. Foster 2007-09-13 19:47:34 EDT
Please note that this partially covers the RFE in #176184
Comment 3 Bill Nottingham 2007-11-08 16:18:16 EST
chkconfig <service> is designed to explicitly query whether a service is set up
for the current runlevel - I'd like to keep that behavior.
Comment 4 Bill Nottingham 2007-11-08 16:37:25 EST
Created attachment 252191 [details]
patch for this

Here's what will be in 1.3.37-1.
Comment 5 Bill Nottingham 2007-11-08 16:51:54 EST
*** Bug 176184 has been marked as a duplicate of this bug. ***

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