Bug 879373

Summary: chkconfig --list error message is not actionable nor helpful
Product: Red Hat Enterprise Linux 7 Reporter: Richard W.M. Jones <rjones>
Component: chkconfigAssignee: Lukáš Nykrýn <lnykryn>
Status: CLOSED DUPLICATE QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: azelinka, mmalik
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-22 17:49:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard W.M. Jones 2012-11-22 17:34:27 UTC
Description of problem:

  # chkconfig zebra --list
  
  Note: This output shows SysV services only and does not include native
        systemd services. SysV configuration data might be overridden by native
        systemd configuration.

This error message is not actionable.  It doesn't say
what precise systemd (systemctl?) command needs to be run
in order to replace chkconfig.  (Even better would be
if it would just run that command ...)

Notice, by contrast, that chkconfig xx on does do the right
thing:

  # chkconfig ripd on
  Note: Forwarding request to 'systemctl enable ripd.service'.
  ln -s '/usr/lib/systemd/system/ripd.service' '/etc/systemd/system/network.target.wants/ripd.service'

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

chkconfig-1.3.59-2.el7.x86_64

How reproducible:

100%

Steps to Reproduce:
See above.

Comment 1 Richard W.M. Jones 2012-11-22 17:35:47 UTC
Apparently the command it should display/run is:

systemctl status <servicename>

Comment 3 Lukáš Nykrýn 2013-02-22 17:49:06 UTC

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