Subject: Re: [vserver] Vserver on debian wheezy
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Thu, 25 Apr 2013 17:11:44 +0200

On Thu, Apr 25, 2013 at 04:14:14PM +0200, Etienne Vogt wrote:
> Hello,

> Is there anyone here running Vserver under Debian wheezy with
> the LiHas packages for kernel and util-vserver ?

> As we have critical systems here at Paris Observatory currently
> running Vserver under Debian squeeze and wheezy is now near
> official release, I tried setting up a test system for Vserver
> on wheezy, but trying to start a vserver guest on this host
> fails with the following error :

critical systems should always have an admin
(or at least a service contract) to trouble
shoot issues like those ... 

> ~# vserver -v testvm start
> New network context is 2
> Adding <ip removed>
> New security context is 2
> save_ctxinfo: open("/var/run/vservers/testvm"): Permission denied

looks like a configuration problem to me

i.e. either barrier somewhere on the path or
tempfs which doesn't exist in the guest space
or just a misconfiguration on the util-vserver
setup.

did you try to build at least util-vserver
yourself (recent version like 0.30.216-pre3038)
with non debian (i.e. the default :) pathes
for guest data?

(that might help to sort out package issues)

HTH,
Herbert

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

> The kernel used is linux-image-3.4.40-vs2.3.3.9+lihas1 and userland tools
> are util-vserver* 0.30.216-pre3034-1 both from the 
> http://ftp.lihas.de/lihas-kernel/ repository.


> -- 
> 		Etienne Vogt (Etienne.Vogt@obspm.fr)
> 		Observatoire de Paris-Meudon
> 		Service Informatique