Documentation Error

Diego Morales <[email protected]>
Newsgroups gmane.linux.highavailability.ultramonkey
Message-ID <[email protected]>
The "High Capacity High Availability and Load Balancing" example in the
ultramonkey 3 and 2.0.1 docs says:

(I saw this error in other examples as well)

"
...

On Debian the update-rc.d command is used:

/usr/sbin/update-rc.d heartbeat start 2 3 4 5 .

...
"

This update-rc.d command has correct syntax, but there is a big problem:
the first number after the "start" (2) is the sequence code for the script
being added. So it adds the heartbeat in all runlevels but the debian's
default one, which is 2 (e.g. heartbeat won't start on boot!):

"# /usr/sbin/update-rc.d heartbeat start 2 3 4 5 .

Adding system startup for /etc/init.d/heartbeat ...

/etc/rc3.d/S02heartbeat -> ../init.d/heartbeat
/etc/rc4.d/S02heartbeat -> ../init.d/heartbeat
/etc/rc5.d/S02heartbeat -> ../init.d/heartbeat
"

I changed it to

/usr/sbin/update-rc.d heartbeat start 75 2 3 4 5 .

cause 75 is the sequence it comes by default on debian package.
As the line in the docs does not specifies the stop runlevels,
I assume killing the involved processes does a good job, right?.



--
Diego F. G. Morales
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.