Re: [Vserver] rc11 problem
On Sat, Mar 11, 2006 at 05:52:53PM +0100, Guenther Fuchs wrote: > Hi there, > > on Saturday, March 11, 2006 at 2:15:11 PM Herbert posted: > > HP> hmm, I assume that was rc10 to rc11, > > Correct, sorry, > > HP> - does the guest start if you use 'vserver name start' ? > HP> - if not, what seems to be the cause? > > No, the error is: > > snip > vnamespace: vc_set_namespace(): No such process > snap confirmed, fixed in rc12 ... thanks for testing and feedback, Herbert > HP> - could we get a testme.sh from rc10 and rc11 on your system? > > rc10 you've got lately ("[x86] 2.6.15.4-vs2.0.2-rc10 works with FC4"), > rc11 does not show abnorm output, as follows: > > 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.15.6-vs2.0.2-rc11 #4 Sat Mar 11 11:00:32 CET 2006 i686 > Ea 0.30.210 273/glibc (DSa) > VCI: 0002:0001 273 0316 (TbLgnP) > ([EMAIL PROTECTED]) > (gcc-Version 4.0.2 20051125 (Red Hat 4.0.2-8)) > #4 Sat Mar 11 11:00:32 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.Lr3352/node c 0 0 > [011]# succeeded. > [031]# chcontext --hostname zaphod.3349 uname -a | grep -q zaphod.3349 > [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' [L11]# succeeded. > [D11]# chcontext bash -c 'true >/dev/null' [D11]# succeeded. > [L12]# chcontext --xid 45612 bash -c 'true /dev/null > [L12]# succeeded. > [D12]# chcontext bash -c 'true /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 ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] rc11 problem
Hi there, on Saturday, March 11, 2006 at 2:15:11 PM Herbert posted: HP> hmm, I assume that was rc10 to rc11, Correct, sorry, HP> - does the guest start if you use 'vserver name start' ? HP> - if not, what seems to be the cause? No, the error is: snip vnamespace: vc_set_namespace(): No such process snap HP> - could we get a testme.sh from rc10 and rc11 on your system? rc10 you've got lately ("[x86] 2.6.15.4-vs2.0.2-rc10 works with FC4"), rc11 does not show abnorm output, as follows: 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.15.6-vs2.0.2-rc11 #4 Sat Mar 11 11:00:32 CET 2006 i686 Ea 0.30.210 273/glibc (DSa) VCI: 0002:0001 273 0316 (TbLgnP) ([EMAIL PROTECTED]) (gcc-Version 4.0.2 20051125 (Red Hat 4.0.2-8)) #4 Sat Mar 11 11:00:32 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.Lr3352/node c 0 0 [011]# succeeded. [031]# chcontext --hostname zaphod.3349 uname -a | grep -q zaphod.3349 [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/null' /dev/null [L12]# succeeded. [D12]# chcontext bash -c 'true /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
Re: [Vserver] rc11 problem
On Sat, Mar 11, 2006 at 11:46:55AM +0100, Guenther Fuchs wrote: > Hi there, > > vs2.0.2-rc11 does NOT work with Fedora Core 4, servers doe NOT start: > > : > # service vservers-ns start > > Starting vservers of type 'ns'...make: *** [.register.stamp] Fehler 255 > make: Das Target »all« wurde wegen Fehlern nicht aktualisiert. >[FEHLGESCHLAGEN] > > # service vservers-default start > > Starting vservers of type 'default'...make: *** [.magen.stamp] Fehler 255 > make: *** [.euter.stamp] Fehler 255 > make: *** [.zeitung.stamp] Fehler 255 > make: *** [.wasser.stamp] Fehler 255 > make: Das Target »all« wurde wegen Fehlern nicht aktualisiert. >[FEHLGESCHLAGEN] > : > > vs2.0.2-rc10 works fine. > > Kernel problem? (2.6.15.4 to .6; but I guess not) Or changes > vs2.0.2-rc1 to -rc11 problem? (guess yes) hmm, I assume that was rc10 to rc11, and it might be the reason ... but I guess we need to get more info first, like: - does the guest start if you use 'vserver name start' ? - if not, what seems to be the cause? - could we get a testme.sh from rc10 and rc11 on your system? TIA, Herbert > -- > 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 ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] rc11 problem
Hi there, vs2.0.2-rc11 does NOT work with Fedora Core 4, servers doe NOT start: : # service vservers-ns start Starting vservers of type 'ns'...make: *** [.register.stamp] Fehler 255 make: Das Target »all« wurde wegen Fehlern nicht aktualisiert. [FEHLGESCHLAGEN] # service vservers-default start Starting vservers of type 'default'...make: *** [.magen.stamp] Fehler 255 make: *** [.euter.stamp] Fehler 255 make: *** [.zeitung.stamp] Fehler 255 make: *** [.wasser.stamp] Fehler 255 make: Das Target »all« wurde wegen Fehlern nicht aktualisiert. [FEHLGESCHLAGEN] : vs2.0.2-rc10 works fine. Kernel problem? (2.6.15.4 to .6; but I guess not) Or changes vs2.0.2-rc1 to -rc11 problem? (guess yes) -- 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