Bug 290241

Summary: Enhancement to chkconfig - imply list when no action specified
Product: [Fedora] Fedora Reporter: Mark D. Foster <mark>
Component: chkconfigAssignee: Bill Nottingham <notting>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: medium    
Version: 6CC: britchie, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-08 21:51:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch against chkconfig-1.3.30.1
none
patch for this none

Description Mark D. Foster 2007-09-13 23:01:37 UTC
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 23:01:37 UTC
Created attachment 195341 [details]
patch against chkconfig-1.3.30.1

Comment 2 Mark D. Foster 2007-09-13 23:47:34 UTC
Please note that this partially covers the RFE in #176184

Comment 3 Bill Nottingham 2007-11-08 21:18:16 UTC
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 21:37:25 UTC
Created attachment 252191 [details]
patch for this

Here's what will be in 1.3.37-1.

Comment 5 Bill Nottingham 2007-11-08 21:51:54 UTC
*** Bug 176184 has been marked as a duplicate of this bug. ***