[ale] simple chkconfig question

Jerry Yu jjj863 at gmail.com
Wed Dec 13 11:11:10 EST 2006


I am installing Dell's OMSA to a CentOS 4.1 server. I faked RHEL4 in
/etc/redhat-release to get the installation going. Weird enough, all init
scripts are started at S50 instead of S97 as indicated in the
chkconfig-compliant init scripts themselves.

Here is an example, in 'dataeng'. I'd expect it be has a S97dataeng and a
K03dataeng in /etc/rc3.d. Instead,  I found only one S50.
---------cut---------x-----------cut-----------
# Following two lines used by chkconfig utility:
# chkconfig: 345 97 03
# description: Systems Management Data Engine
--------cut----------x-----------cut-----------

/etc/rc3.d# ls -ld *dataeng*
lrwxrwxrwx  1 root root 17 Dec 13 10:54 S50dataeng -> ../init.d/dataeng

Just in case OMSA's installation script did something funky, I even manually
deleted then added it back using 'chkconfig' : same results. The same
OMSA-5.1 tarball installed ok on CentOS 4.4 and doesn't have this problem.

A new init scripts named 'junk' containing only the above cut-out is handled
properly, while another one with full headers from the OMSA will not (see a
'junked' dataeng script below) So, something else in these OMSA init scripts
fooled chkconfig on CentOS 4.1. Any idea what it is?
---------cut------------------x------------------cut
#!/bin/sh
###############################################################################
#
#          Dell Inc. PROPRIETARY INFORMATION
# This software is supplied under the terms of a license agreement or
# nondisclosure agreement with Dell Inc. and may not
# be copied or disclosed except in accordance with the terms of that
# agreement.
#
# Copyright (c) 2000-2006 Dell Inc. All Rights Reserved.
#
# Module Name:
#
#   junk
#
# Abstract/Purpose:
#
#   junk
#
# Environment:
#
#   Linux
#
# Following two lines used by chkconfig utility:
# chkconfig: 345 97 03
# description: junk by jerry test
#
### BEGIN INIT INFO
# Provides: junk
# Should-Start: instsvcdrv
# Required-Start: $localfs $remotefs $syslog
# Required-Stop: $localfs $remotefs $syslog
# Default-Start: 3 4 5
# Default-Stop: 1 2
# Short-Description: jerry test
# Description: jerry test
### END INIT INFO
---------cut----------x-----------------cut--------------
-------------- next part --------------
An HTML attachment was scrubbed...




More information about the Ale mailing list