>>> Marcy Cortes <[email protected]> 12/5/2012 01:36 PM >>> 
DB2 install did this

cpzed01a0006:/etc/init.d # chkconfig <someservice>  on
insserv: warning: script 'S10ITMAgents1' missing LSB tags and overrides
insserv: warning: script 'ITMAgents1' missing LSB tags and overrides


<code snippet from the top>


#!/bin/ksh
# (C) COPYRIGHT IBM, Inc. 2007
# Unpublished Work
# All Rights Reserved
# IBM/Tivoli Monitoring Version 6.2.0
CANDLEHOME=/opt/IBM/db2/V9.7/itma
export CANDLEHOME
#
# This gets appended to start/stop script on unix systems

start_all()
{
#      $CANDLEHOME/bin/CandleAgent start all >/dev/null 2>&1
      $CANDLEHOME/bin/itmcmd agent start all >/dev/null 2>&1
}

stop_all()
{
#      $CANDLEHOME/bin/CandleAgent stop all >/dev/null 2>&1
      $CANDLEHOME/bin/itmcmd agent stop all >/dev/null 2>&1
}

bindir=${CANDLEHOME}/bin

TEXTDOMAINDIR=$bindir/../config/nls/msg
export TEXTDOMAINDIR

PATH=$bindir:$PATH
export PATH

set +e

case "$1" in
  inetd)
      start_all



Yep, they really did skip putting in LSB tags...

Sigh.


Marcy

Well, those messages are created by SUSE's version of insserv, which correctly 
barks when initscripts are not LSB compliant. I consider that a feature. 

That said using ksh ?  Ideally, initscripts should use /bin/sh unless there are 
bash or ksh specific functions. Moreover, ksh is not a default install on SLES. 
I'd call that part a bug on IBM's part.

HTH,
Peter



----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/




Peter Linnell
SUSE Linux Technical Specialist
Tel: 1-415-308-3037



----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

<<attachment: Peter_Linnell.vcf>>

Reply via email to