Hi there,
tested on FC4 host system:
# testme.sh -v -A
Linux-VServer Test [V0.15] Copyright (C) 2003-2006 H.Poetzl
chcontext is working.
chbind is working.
chcontext 0.30.210 -- allocates/enters a security context
This program is part of util-vserver 0.30.210
Copyright (C) 2004 Enrico Scholz
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.15.4-vs2.0.2-rc10 #4 Tue Mar 7 18:36:50 CET 2006 i686
Ea 0.30.210 273/glibc (DSa) <v13,net>
VCI: 0002:0001 273 03000016 (TbLgnP)
(user@hostname.local)
(gcc-Version 4.0.2 20051125 (Red Hat 4.0.2-8))
#4 Tue Mar 7 18:36:50 CET 2006
--- [000]# chcontext true && chcontext --xid 45678 true [000]# succeeded. [001]# chcontext --xid 45678 egrep 'context|VxID' /proc/self/status [001]# succeeded. [011]# chcontext --secure --xid 45678 mknod /tmp/testme.sh.OF8312/node c 0 0 [011]# succeeded. [031]# chcontext --hostname zaphod.8309 uname -a | grep -q zaphod.8309 [031]# succeeded. [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 --xid 45678 --flag fakeinit bash -c 'test $$ -eq 1' [201]# succeeded. [202]# chcontext --flag fakeinit bash -c 'test $$ -eq 1' [202]# succeeded. -- regards 'n greez, Guenther Fuchs (aka "muh" and "powerfox") _______________________________________________ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserverReceived on Tue Mar 7 19:56:25 2006