On Mon, Dec 05, 2005 at 09:18:45PM -0500, Paul S. Gumerman wrote:
> Herbert,
>
> I'm trying to install the most up-todate versions of things before
> hauling some servers out to a datacenter (must leave my basement --- OH
> NO! <grin>) and have run into the following problem.
>
> vserver-stat fails, returning:
>
> vc_create_context(): Invalid argument
>
> but my two vservers do start, they do run, and I can enter them.
>
> testme.sh results:
>
> Linux-VServer Test [V0.14] Copyright (C) 2003-2005 H.Poetzl
> chcontext is working.
> chbind is working.
> chcontext 0.30.205 -- allocates/enters a security context
> This program is part of util-vserver 0.30.205
most up-to-date? we are at 0.30.209 since more than a month
> Copyright (C) 2004 Enrico Scholz
it's 2005 now :)
> This program is free software; you may redistribute it under the terms of
> the GNU General Public License. This program has absolutely no warranty.
> Linux 2.6.14.2-vs2.1.0-rc8 x86_64/0.30.205/0.30.205 [Ea] (0)
btw, rc9 is out, with some fixes but also the 'dangerous'
dynamic xid option (which probably will change the default
with the final release)
> VCI: 0002:0001 236 03000174
> (root@vhost1.latpro.com)
> (gcc version 3.4.4 20050721 (Red Hat 3.4.4-2))
> #10 SMP Mon Dec 5 17:03:21 EST 2005
> ---
> [000]# chcontext true && chcontext --ctx 45678 true
> [000]# failed.
> [001]# chcontext --ctx 45678 egrep 'context|VxID' /proc/self/status
> [001]# succeeded.
> [011]# chcontext --secure --ctx 45678 mknod /tmp/testme.sh.eD7841/node c 0 0
> [011]# succeeded.
> [031]# chcontext --hostname zaphod.7838 uname -a | grep -q zaphod.7838
> [031]# failed.
> [101]# chbind --ip 192.168.0.42 true
> [101]# succeeded.
> [102]# chbind --ip 192.168.0.1/255.255.255.0 --ip 10.0.0.1/24 true
> [102]# succeeded.
> [201]# chcontext --ctx 45678 --flag fakeinit bash -c 'test $$ -eq 1'
> [201]# succeeded.
> [202]# chcontext --flag fakeinit bash -c 'test $$ -eq 1'
> [202]# failed.
>
> =====================================================
>
> of interest (I think): chcontext true returns:
>
> vcontext: vc_xidopt2xid(""): No such file or directory
>
> Any ideas?
yes, get 0.30.209, configure and compile it yourself,
and all should work fine ...
HTH,
Herbert
> Best regards,
> Paul
>
>
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Tue Dec 6 02:41:20 2005