++ isRegularFile '/etc/vservers/hosting/scripts/prepre-start.d/*' ++ test -f '/etc/vservers/hosting/scripts/prepre-start.d/*' ++ return 1 ++ continue ++ test -z '' -o -n '' ++ for base in '"$vdir"/scripts' '"$__CONFDIR"/.defaults/scripts' ++ local DONT_SKIP_DEFAULTS= ++ local already_handled= ++ for i in '"$base/$flavor"' '"$base/$flavor.d"/*' ++ isRegularFile /etc/vservers/.defaults/scripts/prepre-start ++ test -f /etc/vservers/.defaults/scripts/prepre-start ++ return 1 ++ continue ++ for i in '"$base/$flavor"' '"$base/$flavor.d"/*' ++ isRegularFile '/etc/vservers/.defaults/scripts/prepre-start.d/*' ++ test -f '/etc/vservers/.defaults/scripts/prepre-start.d/*' ++ return 1 ++ continue ++ test -z '' -o -n '' ++ popd ++ setDiskLimits /etc/vservers/hosting ++ local vdir=/etc/vservers/hosting ++ local dlimit ++ test -e /etc/vservers/hosting/context ++ for dlimit in '"$vdir/dlimits/"*' ++ test -d '/etc/vservers/hosting/dlimits/*' ++ continue ++ enableInterfaces /etc/vservers/hosting ++ local i=0 ++ declare -a var ++ lock /var/lock/vserver.interfaces +++ /usr/bin/mktemp -t vserver-lock.XXXXXX ++ local tmp=/tmp/vserver-lock.utTdTh ++ /usr/bin/rm -f /tmp/vserver-lock.utTdTh ++ /usr/bin/mkfifo -m600 /tmp/vserver-lock.utTdTh ++ /lib/util-vserver/lockfile /var/lock/vserver.interfaces /tmp/vserver-lock.utTdTh ++ /usr/bin/grep -q true /tmp/vserver-lock.utTdTh ++ _VS_LOCKS='839 3352 ' ++ test 0 -lt 0 ++ unlock 1 ++ local num=1 ++ local i ++ set -- 839 3352 ++ test 2 -gt 0 ++ kill -HUP 839 ++ shift ++ test 1 '!=' 1 ++ break ++ _VS_LOCKS=3352 ++ have_interfaces=1 ++ mountVserver /etc/vservers/hosting ++ local cfgdir=/etc/vservers/hosting ++ local ns_opt= ++ local vdir=/etc/vservers/hosting/vdir ++ local mtab_src ++ test -e /etc/vservers/hosting/fstab -o -e /etc/vservers/hosting/fstab.local -o -e /etc/vservers/hosting/fstab.remote ++ findObject -r mtab_src /etc/vservers/hosting/apps/init/mtab /etc/vservers/.defaults/init/mtab /lib/util-vserver/defaults/mtab /dev/null ++ local _fo_mod=-r ++ local _fo_var=mtab_src ++ local _fo_file= ++ local _fo_i=X ++ shift 2 ++ for _fo_i in '"$@"' ++ test -n /etc/vservers/hosting/apps/init/mtab ++ test '!' -r /etc/vservers/hosting/apps/init/mtab ++ for _fo_i in '"$@"' ++ test -n /etc/vservers/.defaults/init/mtab ++ test '!' -r /etc/vservers/.defaults/init/mtab ++ for _fo_i in '"$@"' ++ test -n /lib/util-vserver/defaults/mtab ++ test '!' -r /lib/util-vserver/defaults/mtab ++ _fo_file=/lib/util-vserver/defaults/mtab ++ break ++ test -z /lib/util-vserver/defaults/mtab -o -n /lib/util-vserver/defaults/mtab ++ eval 'mtab_src="/lib/util-vserver/defaults/mtab"' +++ mtab_src=/lib/util-vserver/defaults/mtab ++ pushd /etc/vservers/hosting/vdir ++ /lib/util-vserver/chroot-sh truncate /etc/mtab ++ popd ++ test -n 1 ++ test -z '' ++ _mountVserverInternal /etc/vservers/hosting/fstab ++ local fstab=/etc/vservers/hosting/fstab ++ local xflag= ++ test -e /etc/vservers/hosting/fstab ++ shift ++ pushd /etc/vservers/hosting/vdir ++ test -w etc -o -w etc/mtab ++ /lib/util-vserver/secure-mount -a --chroot --fstab /etc/vservers/hosting/fstab --rootfs no ++ popd ++ _mountVserverInternal /etc/vservers/hosting/fstab.local ++ local fstab=/etc/vservers/hosting/fstab.local ++ local xflag= ++ test -e /etc/vservers/hosting/fstab.local ++ return 0 ++ _mountVserverInternal /etc/vservers/hosting/fstab.remote /sbin/chbind --silent --nid 2 --ip 192.168.1.77/24 ++ local fstab=/etc/vservers/hosting/fstab.remote ++ local xflag= ++ test -e /etc/vservers/hosting/fstab.remote ++ return 0 ++ isAvoidNamespace /etc/vservers/hosting ++ local cfgdir ++ /sbin/vserver-info - FEATURE namespace +++ /sbin/vserver-info /etc/vservers/hosting CFGDIR ++ cfgdir=/etc/vservers/hosting ++ test '!' -e /etc/vservers/hosting/namespace ++ test -e /etc/vservers/.defaults/nonamespace -o -e /etc/vservers/hosting/nonamespace ++ /lib/util-vserver/secure-mount --rbind -n /etc/vservers/hosting/vdir / ++ is_mounted=1 ++ prepareInit /etc/vservers/hosting ++ pushd /etc/vservers/hosting/vdir ++ case "$INITSTYLE" in ++ /lib/util-vserver/chroot-sh rm .autofsck forcefsck ++ : ++ : ++ /lib/util-vserver/chroot-sh truncate fastboot ++ popd ++ pushd /etc/vservers/hosting/vdir/ ++ execScriptlets /etc/vservers/hosting hosting pre-start ++ declare -r vdir=/etc/vservers/hosting ++ declare -r name=hosting ++ declare -r flavor=pre-start ++ local base i ++ for base in '"$vdir"/scripts' '"$__CONFDIR"/.defaults/scripts' ++ local DONT_SKIP_DEFAULTS= ++ local already_handled= ++ for i in '"$base/$flavor"' '"$base/$flavor.d"/*' ++ isRegularFile /etc/vservers/hosting/scripts/pre-start ++ test -f /etc/vservers/hosting/scripts/pre-start ++ case $1 in ++ return 0 ++ test -r /etc/vservers/hosting/scripts/pre-start ++ already_handled=1 ++ local start= ++ test -x /etc/vservers/hosting/scripts/pre-start ++ start=_sourceWrap ++ _sourceWrap /etc/vservers/hosting/scripts/pre-start pre-start hosting ++ local vdir name flavor start i already_handled base ++ . /etc/vservers/hosting/scripts/pre-start pre-start hosting ++ for i in '"$base/$flavor"' '"$base/$flavor.d"/*' ++ isRegularFile '/etc/vservers/hosting/scripts/pre-start.d/*' ++ test -f '/etc/vservers/hosting/scripts/pre-start.d/*' ++ return 1 ++ continue ++ test -z 1 -o -n '' ++ break ++ popd ++ test -z '' ++ pushd /etc/vservers/hosting/vdir/ ++ is_configured=1 ++ /sbin/vserver-info - FEATURE migrate ++ /sbin/chbind --silent --nid 2 --ip 192.168.1.77/24 -- /lib/util-vserver/exec-ulimit /etc/vservers/hosting/ulimits /sbin/vcontext --create --silent --xid 2 -- /sbin/vnamespace --set -- /sbin/vlimit --dir /etc/vservers/hosting/rlimits --missingok -- /sbin/vsched --xid self -- /sbin/vuname --xid self --dir /etc/vservers/hosting/uts --missingok -- /sbin/vuname --xid self --set -t context=/etc/vservers/hosting -- /sbin/vattribute --set --secure --flag default --flag fakeinit --flag lock --flag nproc -- /lib/util-vserver/save_ctxinfo /etc/vservers/hosting /usr/bin/env -i -- /sbin/vcontext --migrate-self --endsetup --chroot --silent --initpid --disconnect -- /sbin/init save_ctxinfo: execv(): No such file or directory + cleanup + set +e + test -z '' + test -z '' + test -n 1 -a -z '' + warning ' An error occured while executing the vserver startup sequence; when there are no other messages, it is very likely that the init-script (/sbin/init) failed. Common causes are: * /etc/rc.d/rc on Fedora Core 1 and RH9 fails always; the '\''apt-rpm'\'' build method knows how to deal with this, but on existing installations, appending '\''true'\'' to this file will help.' + test -n '' + echo ' An error occured while executing the vserver startup sequence; when there are no other messages, it is very likely that the init-script (/sbin/init) failed. Common causes are: * /etc/rc.d/rc on Fedora Core 1 and RH9 fails always; the '\''apt-rpm'\'' build method knows how to deal with this, but on existing installations, appending '\''true'\'' to this file will help.' An error occured while executing the vserver startup sequence; when there are no other messages, it is very likely that the init-script (/sbin/init) failed. Common causes are: * /etc/rc.d/rc on Fedora Core 1 and RH9 fails always; the 'apt-rpm' build method knows how to deal with this, but on existing installations, appending 'true' to this file will help. + test -n '' + warning ' Failed to start vserver '\''hosting'\''' + test -n '' + echo ' Failed to start vserver '\''hosting'\''' Failed to start vserver 'hosting' + test -n --debug + test -z 1 + umountVserver /etc/vservers/hosting + local cfgdir=/etc/vservers/hosting + local vdir=/etc/vservers/hosting/vdir + local is_ok=1 + isAvoidNamespace /etc/vservers/hosting + local cfgdir + /sbin/vserver-info - FEATURE namespace ++ /sbin/vserver-info /etc/vservers/hosting CFGDIR + cfgdir=/etc/vservers/hosting + test '!' -e /etc/vservers/hosting/namespace + test -e /etc/vservers/.defaults/nonamespace -o -e /etc/vservers/hosting/nonamespace + return 0 + test -z 1 + disableInterfaces /etc/vservers/hosting + test -n 1 + local i=0 + declare -a var + lock /var/lock/vserver.interfaces ++ /usr/bin/mktemp -t vserver-lock.XXXXXX + local tmp=/tmp/vserver-lock.lfcKua + /usr/bin/rm -f /tmp/vserver-lock.lfcKua + /usr/bin/mkfifo -m600 /tmp/vserver-lock.lfcKua + /lib/util-vserver/lockfile /var/lock/vserver.interfaces /tmp/vserver-lock.lfcKua + /usr/bin/grep -q true /tmp/vserver-lock.lfcKua + _VS_LOCKS='21927 3352' + test 0 -gt 0 + unlock 1 + local num=1 + local i + set -- 21927 3352 + test 2 -gt 0 + kill -HUP 21927 + shift + test 1 '!=' 1 + break + _VS_LOCKS=3352 + unlock + local num= + local i + set -- 3352 + test 1 -gt 0 + kill -HUP 3352 + shift + test '' '!=' 1 + test -z '' + test 0 -gt 0 + _VS_LOCKS=