[Debian] Re: Bug#417540: vzctl: /etc/init.d/vz should load simfs

Ola Lundqvist opal at debian.org
Tue Apr 3 02:42:03 EDT 2007


Hi David

On Mon, Apr 02, 2007 at 10:54:05PM -0700, David Sharnoff wrote:
> 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.   

Interesting! I have not had the same problem. Do you have some
kind of special setup, or a stripped down kernel?

> 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.  

I'm sorry to hear that. Did you read the README and followed the
instructions on downloading a pre-compiled kernel?

> 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... 

That would be a good thing, yes. Unfortunatly I will not be able
to correct this for etch as it will be released in just a few days
now, and they do not accept any changes.

> 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
> }

I'll Cc the openvz team to see what their opinion is.

Regards,

// Ola

> -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
> 
> 

-- 
 --------------------- Ola Lundqvist ---------------------------
/  opal at debian.org                     Annebergsslingan 37      \
|  ola at opalsys.net                     654 65 KARLSTAD          |
|  +46 (0)54-10 14 30                  +46 (0)70-332 1551       |
|  http://opalsys.net/                 UIN/icq: 4912500         |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------


More information about the Debian mailing list