issue with the init script on SLES10
A message that is not in the archive (sent off-list or not yet received): [email protected]
To our SLES10 users,
With the 8.0.15 release the init script was changed to be more LSB compliant. Unfortunately it turned out that on SLES10 it prints awkward error messages instead of nice log messages, although it does what it should do.
Here is the diff to have a nicely working init script for SLES10
I will release 8.0.16 with only that change applied soon.
The complete patch:
scripts/drbd +5 -1
@@ -31,7 +31,9 @@ test -f $DRBDADM || exit 5 if [ -f /lib/lsb/init-functions ]; then . /lib/lsb/init-functions -else +fi + +if ! type log_daemon_msg &>/dev/null ; then function log_daemon_msg { if [ -z "${2:-}" ]; then
@@ -40,7 +42,9 @@ else fi echo -n "$1: $2" } +fi +if ! type log_end_msg &>/dev/null ; then function log_end_msg { echo "."
-Phil
Signature · 6 lines
: Dipl-Ing Philipp Reisner : LINBIT | Your Way to High Availability : Tel: +43-1-8178292-50, Fax: +43-1-8178292-82 : http://www.linbit.com DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.