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:
Created attachment 195341 [details] patch against chkconfig-1.3.30.1
Please note that this partially covers the RFE in #176184
chkconfig <service> is designed to explicitly query whether a service is set up for the current runlevel - I'd like to keep that behavior.
Created attachment 252191 [details] patch for this Here's what will be in 1.3.37-1.
*** Bug 176184 has been marked as a duplicate of this bug. ***