Installation of init.d script using LSB way fails in RHEL 6
Environment
- Red Hat Enterprise Linux 6
Issue
-
Using the LSB way of install init.d scripts fails with following error in RHEL 6.
install_initd fails on Required-Start: $local_fs
This how it can reproduce the issue:
1. create an init.d script with LSB init tags:
### BEGIN INIT INFO
# Provides: mbe.base
# Required-Start: $local_fs
# Should-Start:
# Required-Stop:
# Default-Start: 1 3
# Default-Stop:
# Description: Early MBE configuration
### END INIT INFO
2. install the init.d script the LSB way:
/usr/lib/lsb/install_initd /etc/init.d/mbe.base
This will fail and no init.d scipt is installed
Resolution
The fix for this issue is preposed in RHEL 6.2 release.
Root Cause
- Bugzilla for the issue : https://bugzilla.redhat.com/show_bug.cgi?id=706854
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
