Package: vzctl
Version: 3.0.11-15
Severity: important

"vzctl start" didn't work until I added "simfs" to the list of
modules that /etc/init.d/vz should load.   

This is my first time trying openvz and building the right kernel
and makeing vzctl work has been more than a little difficult.  
I found out that the kernel needs quota support in general.  

Perhaps /etc/init.d/vz should check the output of "modprobe -l" and
"zcat /proc/config.gz" to verify that everything that's needed to
run openvz is present... 

Perhaps something like:

function check_kernel_config()
{
        local i
        local j
        if [ -r /proc/config.gz -a -x /bin/zcat -a -r /etc/vz/kconfiglist ]; 
then
                for i in `awk '/^[A-Z].*:/ { print $1 }' /etc/vz/kconfiglist`; 
do
                        j=`echo $i | sed s/:/=/`
                        zcat /proc/config.gz \
                                | grep -v /^#/ \
                                | grep -s $j
                        if [ $? -ne 0 ]; then
                                echo Missing kernel config option: \
                                        `grep $i /etc/vz/kconfiglist`
                        fi
                done
        fi
}

-Dave


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages vzctl depends on:
ii  iproute                     20061002-4   Professional tools to control the 
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  vzquota                     3.0.8-2      server virtualization solution - q

Versions of packages vzctl recommends:
ii  rsync                         2.6.9-3    fast remote file copy program (lik

-- no debconf information


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

Reply via email to