Re: [vserver] Problem with installing debian guest

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Tue 14 Jul 2009 - 12:03:45 BST
Message-ID: <20090714110345.GA17338@MAIL.13thfloor.at>

On Mon, Jul 13, 2009 at 10:45:43PM -0600, David Vanfleet wrote:
> Hi, I'm runing Linux Vserver 2.2.0.7 on OpenSuse 10.3 with the
> 2.6.22.19 Kernel, and I'm trying to instill Debian (Lenny) as a
> guest. I installed lenny successfully with the following command:

> vserver debian_lenny_template build \ -m debootstrap
> \ --hostname debian_lenny_template.amwestonline.com
> \ --interface eth0:66.62.37.145/24 \ -- -d lenny -m
> [1]http://ftp.debian.org/debian

> However, when I tried to start the guest I get the following error:

> /etc/init.d/rc: line 74: /etc/default/rcS: No such file or
> directory error: '/etc/init.d/rc' exited outside the expected
> code flow. An error occured while executing the vserver startup
> sequence; when there are no other messages, it is very likely
> that the init-script (/etc/init.d/rc 3) 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. Failed to
> start vserver 'debian_lenny_template'

IIRC, debian changed something, and older util-vserver
do not do the proper cleanup/setup inside a guest ...
in your case, maybe creating this file (/etc/default/rcS)
inside the guest will do the trick

best,
Herbert

> I'm new to vserver but I understand that some of the services running
> in the guest need to be turned off, the ones that access any hardware
> devices. In this case I suspect that some service is trying to start
> that is not valid in a guest. I'm not sure what needs to be done here
> to fix this problem, I don't know what it means to append "true" to
> some file, I'm not even user Fedora Core or RH9. Any help here would
> be greatly appreciated. Thanks, David
>
> References
>
> 1. http://ftp.debian.org/debian
Received on Tue Jul 14 12:04:06 2009

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 14 Jul 2009 - 12:04:13 BST by hypermail 2.1.8