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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.