Why does enabling a service in RHEL 6 does not enable any dependent services?
Issue
-
When I enable a service using
chkconfigand that service depends on other service, the dependent service is not enabled. -
For example, the
numadinitscript 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
cgconfigremain disabled (andnumadfails to start as a result) after runningchkconfig 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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
