About this list Date view Thread view Subject view Author view Attachment view

From: Alex Lyashkov (shadow_at_psoft.net)
Date: Mon 22 Sep 2003 - 08:28:14 BST


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


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 22 Sep 2003 - 09:40:51 BST by hypermail 2.1.3