Package: vserver-debiantools
Version:  0.3.5

After setting up a vserver guest using the 'newvserver' script it fails
to start with this error:
>
> ncontext: vc_net_create(): Invalid argument
>
> 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 'webber'
>


Then the dmesg output has this one liner:
> dynamic contexts disabled.



The problem is is that the file /etc/vserver/<guest name>/context is not
made. I don't know why it's required now all of a sudden, but vserver
FAQ has the the following to say:



> Dynamic context are disabled by default and are deprecated. For
> example, tagxid and network checks won't be useable with dynamic ids.
> Now you should manually assign a explicit context to your vservers,
> like 
>
> echo 101 > /etc/vservers/myvserv/context
>
> ADDENDUM: please consider that valid static contexts are between 2 and
> 49151 ( daniel_hozac on IRC ).

http://linux-vserver.org/Frequently_Asked_Questions




The solution would be include a way in your scripts to automaticly
create the context file and keep track of numbers so you don't reuse
them.


Right now the solution is just to manually create the file.


I am using the kernel from package linux-image-2.6.20-1-vserver-686,
version  2.6.20-3

Also the version for util-vserver is 0.30.212-1.





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

Reply via email to