[Vserver] [x86] (PIII 1133) 2.6.17-vs2.1.1-rc24 works with Mdv 2006.0

From: Nicolas Costes <nicolas.costes_at_iut-laroche.univ-nantes.fr>
Date: Wed 12 Jul 2006 - 11:21:41 BST
Message-Id: <200607121221.44261.nicolas.costes@iut-laroche.univ-nantes.fr>

Here are the results of another test :

# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 11
model name : Intel(R) Pentium(R) III CPU family 1133MHz
stepping : 1
cpu MHz : 1130.646
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 mmx fxsr sse up
bogomips : 2262.60

# uname -a
Linux MACHINE_NAME 2.6.17-vs2.1.1-rc24 #1 SMP Wed Jul 12 10:48:16 CEST
2006 i686 Intel(R) Pentium(R) III CPU family 1133MHz unknown
GNU/Linux

# sh testme.sh-0.15 -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.17-vs2.1.1-rc24 #1 SMP Wed Jul 12 10:48:16 CEST 2006 i686
Ea 0.30.210 273/glibc (S*) <compat,v11,fscompat,v13,net,oldproc,olduts>
VCI: 0002:0101 273 03000116 (TbLgnP)
(root@MACHINE_NAME)
(gcc version 4.0.1 (4.0.1-5mdk for Mandriva Linux release 2006.0))
#1 SMP Wed Jul 12 10:48:16 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-0.15.No9038/node c 0 0
[011]# succeeded.
[031]# chcontext  --hostname zaphod.9035 uname -a | grep -q zaphod.9035
[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.
NOTE : On current Mandriva releases, I have to rebuild the 
util-vserver-0.30.210-4mdk source RPM, because of strange unresolved 
dependencies (Typo in the SPEC file ?). See :
Problem : http://archives.linux-vserver.org/200606/0074.html
Solution for Mdv 2006.0:
  # urpmi rpm-build
  # urpmi vlan-utils libbeecrypt-devel e2fsprogs-devel
  # rpm --rebuild util-vserver-0.30.210-4mdk.src.rpm
  # urpmi /usr/src/RPM/RPMS/_arch_/util-vserver-*.rpm
With _arch_ your achitecture : athlon/  i586/  i686/  x86_64...
-- 
  ,,
 (°>   Nicolas Costes
 /|\   IUT de La Roche / Yon
( ^ )  Clé publique: http://www.keyserver.net/
 ^ ^   Musique libre: http://musique-legale.info/ - 
http://www.jamendo.com/?s=concept

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver

Received on Wed Jul 12 11:22:57 2006
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 12 Jul 2006 - 11:23:03 BST by hypermail 2.1.8