Why does enabling a service in RHEL 6 does not enable any dependent services?

Solution Verified - Updated -

Issue

  • When I enable a service using chkconfig and that service depends on other service, the dependent service is not enabled.

  • For example, the numad initscript contains the following LSB-style init stanza:

    ### BEGIN INIT INFO
    # Provides: numad
    # Required-Start: cgconfig
    # Required-Stop:
    # Should-Start:
    # Should-Stop:
    # Default-Start:
    # Default-Stop:
    # Short-Description: numad control
    # Description:
    ### END INIT INFO
    
  • Why does service cgconfig remain disabled (and numad fails to start as a result) after running chkconfig numad on?

    # chkconfig --list | egrep cgconfig\|numad
    cgconfig          0:off   1:off   2:off   3:off   4:off   5:off   6:off
    numad             0:off   1:off   2:on    3:on    4:on    5:on    6:off
    

Environment

  • Red Hat Enterprise Linux 6.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content