[Vserver] [x86] 2.6.16.5-vs2.0.2-rc16 works with FC5

From: Guenther Fuchs <vserver_at_muh.at>
Date: Mon 17 Apr 2006 - 12:58:31 BST
Message-ID: <928362442.20060417135831@fuchs.info>

Hi there,

sinmply changing the EXTRAVERSION seems to be enough to work with the
2.6.16.5 kernel by using the 2.6.16-vs2.0.2-r16 patch (no junk but the
EXTRAVERSION rejected; Testsystem with FC5 and some local guests works
fine):

--- snip ---
# ./testme.sh -Lv
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.16.5-vs2.0.2-rc16 #1 Sun Apr 16 21:47:56 CEST 2006 i686
Ea 0.30.210 273/glibc (DSa) <v13,net>
VCI: 0002:0001 273 03000076 (TbLgnP)
(user@hostname.local)
(gcc-Version 4.1.0 20060304 (Red Hat 4.1.0-3))
#1 Sun Apr 16 21:47:56 CEST 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.Xh2855/node c 0 0
[011]# succeeded.
[031]# chcontext  --hostname zaphod.2852 uname -a | grep -q zaphod.2852
[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.
---
[L01]# chcontext --xid 45601 bash -c 'true &'
[L01]# succeeded.
[D01]# chcontext bash -c 'true &'
[D01]# succeeded.
[L02]# chcontext --xid 45602 bash -c 'true | true'
[L02]# succeeded.
[D02]# chcontext bash -c 'true | true'
[D02]# succeeded.
[L03]# chcontext --xid 45603 bash -c 'true & true'
[L03]# succeeded.
[D03]# chcontext bash -c 'true & true'
[D03]# succeeded.
[L11]# chcontext --xid 45611 bash -c 'true >/dev/null' </dev/zero
[L11]# succeeded.
[D11]# chcontext bash -c 'true >/dev/null' </dev/zero
[D11]# succeeded.
[L12]# chcontext --xid 45612 bash -c 'true </dev/zero' >/dev/null
[L12]# succeeded.
[D12]# chcontext bash -c 'true </dev/zero' >/dev/null
[D12]# succeeded.
[L21]# chcontext --xid 45621 bash -c 'bash -c "true &"&'
[L21]# succeeded.
[D21]# chcontext bash -c 'bash -c "true &"&'
[D21]# succeeded.
[L22]# chcontext --xid 45622 bash -c 'bash -c "false | true &"&'
[L22]# succeeded.
[D22]# chcontext bash -c 'bash -c "false | true &"&'
[D22]# succeeded.
[L31]# chcontext --xid 45631 bash -c 'echo `ls`'
[L31]# succeeded.
[D31]# chcontext bash -c 'echo `ls`'
[D31]# succeeded.
--- snap ---
-- 
regards 'n greez,
Guenther Fuchs
(aka "muh" and "powerfox")
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Mon Apr 17 12:59:07 2006
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 17 Apr 2006 - 12:59:12 BST by hypermail 2.1.8