[Debian] Re: Bug#417540: vzctl: /etc/init.d/vz should load simfs
Ola Lundqvist
opal at debian.org
Tue Apr 3 14:21:23 EDT 2007
Hi David
On Tue, Apr 03, 2007 at 09:01:28AM -0700, David Muir Sharnoff wrote:
> I compiled my own kernel. I generated the config myself. I suspect the
> pre-made config has simfs compiled in and quotas turned on (among
> other things).
Sounds likely, yes.
> Unfortunantly, I didn't find the README. I did find the openvz wiki and
> discovered the Debian instructions there didn't work -- perhaps because
> I run sid rather than etch or sarge.
Sounds likely, yes. I have not read those pages lately so I do not know
what they contain...
> If someone can come up with a list of required config options and
> modules, I'm willing to write a better version of kernel_check_config
> for the startup script.
I'll forward this question to the openvz team.
Regards,
// Ola
> Thanks,
>
> -Dave
>
> On 4/2/07, Ola Lundqvist <opal at debian.org> wrote:
> >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 /
> > ---------------------------------------------------------------
> >
> >
>
>
--
--------------------- 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