Hello All
vserver script have bug in chkconfig section.
it`s bug not allow to use "--level" option.
for fix you need change
===========
if [ "$1" = "--level" ] ; then
shift
LEVELS=$1
shift
fi
if [ $# != 2 ] ; then
echo Invalid argument, expected vserver name chkconfig [
--level nnn ] service on\|off
elif [ -x /vservers/$VSERVER/sbin/chkconfig ] ; then
exec $0 --silent $VSERVER exec /sbin/chkconfig "$@"
===========
to
===========
if [ "$1" = "--level" ] ; then
shift
LEVELS="--level $1"
shift
fi
if [ $# != 2 ] ; then
echo Invalid argument, expected vserver name chkconfig [
--level nnn ] service on\|off
elif [ -x $VPSHOME/$VSERVER/sbin/chkconfig ] ; then
exec $0 --silent $VSERVER exec /sbin/chkconfig $LEVELS $@
============
--
With best regards,
Alex