Package: util-vserver
Version: 0.30.211-4
Severity: important

When my current dir is /home/gq, I run #vserver server start
I get:
=====
/usr/lib/util-vserver/vserver.functions: line 696: popd: /home/gq: No
such file or directory


Failed to start vserver 'server'
======
As i see in vserver.functions the problem is in the following code:

## Usage: prepareInit <vserver-directory>
function prepareInit
{
    pushd "$1/vdir" >/dev/null
    case "$INITSTYLE" in
        sysv)
            { find var/run  ! -type d -print0; \
              find var/lock ! -type d -print0; } | xargs -0r $_CHROOT_SH
rm
            ;;
        plain)
            $_CHROOT_SH rm .autofsck forcefsck 2>/dev/null || :
            : | $_CHROOT_SH truncate fastboot  2>/dev/null || :
            ;;
        minit)
            ;;
    esac
    "[EMAIL PROTECTED]"
    popd >/dev/null
}

After chroot the directory /home/gq does not exists (inside vserver),
popd fails and vserver doesn't want to start.

May be I'm wrong (don't want to reboot production system) but I think I had the
same problem when last time reboot host OS and none of default vservers
had started. That's why I set severity to important.

--
Regargs, Alexander


-- System Information:
Debian Release: 4.0
  APT prefers testing-proposed-updates
  APT policy: (720, 'testing-proposed-updates'), (720, 'testing'), (670, 
'proposed-updates'), (670, 'stable'), (600, 'unstable'), (550, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-vserver-k7
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)

Versions of packages util-vserver depends on:
ii  debconf                      1.5.8       Debian configuration management sy
ii  iproute                      20061002-2  Professional tools to control the
ii  libbeecrypt6                 4.1.2-6     open source C library of cryptogra
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
ii  make                         3.81-2      The GNU version of the "make" util
ii  net-tools                    1.60-17     The NET-3 networking toolkit

Versions of packages util-vserver recommends:
ii  binutils                      2.17-3     The GNU assembler, linker and bina
ii  debootstrap                   0.3.3      Bootstrap a basic Debian system


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to