“telinit q” does not start services defined in /etc/inittab in RHEL 6
Issue
telinit qdoes not start services defined in/etc/inittab.- In RHEL 6,
/etc/inittabfile is deprecated, and is now used only for setting up the default runlevel via the initdefault line.
Traditional behavior of SysV init, as provided in RHEL 4 & 5, allowed a respawning service to be defined in /etc/inittab in a format as follows:
M:3:respawn:/etc/init.d/mytest [ARGS]
The command telinit q could then be used to tel init to reload the configuration file /etc/inittab and automatically start any new services added. However, this functionality has been deprecated in RHEL 6 as explained below.
Environment
- Red Hat Enterprise Linux (RHEL) 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.
