Re: [Vserver] Just for info about 2.6.19

From: <vserver_at_pmenier.net>
Date: Sat 02 Dec 2006 - 13:12:16 GMT
Message-ID: <000b01c71613$7f080450$1600a8c0@net.caen>

Hello,

I've tried util-vserver-0.30.212 with kernel-2.6.19: compil ok, starting
vservers ok . Just a little bug :

trying vserver vweb1 enter : ok but the prompt indicates always vweb3 as i'm
in vweb1's context :

srvweb:/usr/local/util-vserver-0.30.212-rc2# vserver vweb1 enter
WARNING: can not find configuration, assuming legacy method
ipv4root is now 192.168.0.230
New security context is 49152
vweb3:/# ip addr
2: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:16:17:1a:69:87 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.230/24 brd 192.168.0.255 scope global secondary
eth0:vweb1
vweb3:/# exit
logout
srvweb:/usr/local/util-vserver-0.30.212-rc2# vserver vweb3 enter
WARNING: can not find configuration, assuming legacy method
ipv4root is now 192.168.0.232
New security context is 49154
vweb3:/# ip addr
2: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:16:17:1a:69:87 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.232/24 brd 192.168.0.255 scope global secondary
eth0:vweb3
vweb3:/#

Patrick

----- Original Message -----
From: "Herbert Poetzl" <herbert@13thfloor.at>
To: <vserver@pmenier.net>
Cc: <vserver@list.linux-vserver.org>
Sent: Friday, December 01, 2006 8:20 PM
Subject: Re: [Vserver] Just for info about 2.6.19

> On Fri, Dec 01, 2006 at 06:48:33PM +0100, vserver@pmenier.net wrote:
> > Hello,
> >
> > I'm using util-vserver 0.30.211
>
> which does not support 2.6.19 kernels, because
> mainline changed in regard of virtualization
> in back then 'unexpected' ways ...
>
> please update to 0.30.212+
>
> best,
> Herbert
>
> > srvweb:/etc/bind# vserver-info
> > Versions:
> > Kernel: 2.6.18.3-vs2.1.1.2
> > VS-API: 0x00020102
> > util-vserver: 0.30.211; Oct 18 2006, 14:38:29
> >
> > Features:
> > CC: gcc, gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
> > CXX: g++, g++ (GCC) 3.3.5 (Debian 1:3.3.5-13)
> > CPPFLAGS: ''
> > CFLAGS: '-g -O2 -std=c99 -Wall -pedantic -W'
> > CXXFLAGS:
> > '-g -O2 -ansi -Wall -pedantic -W -fmessage-length=0'
> > build/host: i686-pc-linux-gnu/i686-pc-linux-gnu
> > Use dietlibc: yes
> > Build C++ programs: yes
> > Build C99 programs: yes
> > Available APIs: compat,v11,fscompat,v13,net,oldproc,olduts
> > ext2fs Source: e2fsprogs
> > syscall(2) invocation: alternative
> > vserver(2) syscall#: 273/glibc
> >
> > Paths:
> > prefix: /usr/local
> > sysconf-Directory: ${prefix}/etc
> > cfg-Directory: ${prefix}/etc/vservers
> > initrd-Directory: $(sysconfdir)/init.d
> > pkgstate-Directory: ${prefix}/var/run/vservers
> > vserver-Rootdir: /opt/vservers
> >
> >
> > Assumed 'SYSINFO' as no other option given; try '--help' for more
> > information.
> >
> > ===============================================================
> > srvweb:/etc/bind# vserver-stat
> > CTX PROC VSZ RSS userTIME sysTIME UPTIME NAME
> > 0 84 985.7M 219.2M 4m17s11 1m51s38 6h50m05 root server
> > 49152 18 421M 119.7M 0m07s54 0m01s11 6h49m08
> > 49153 16 838.4M 85.8M 0m03s14 0m03s62 6h48m54
> > 49154 11 66M 23.4M 0m00s33 0m00s40 6h48m41
> >
> > Patrick
> >
> > ----- Original Message -----
> > From: "Daniel Hokka Zakrisson" <daniel@hozac.com>
> > To: <vserver@list.linux-vserver.org>
> > Sent: Friday, December 01, 2006 6:02 PM
> > Subject: Re: [Vserver] Just for info about 2.6.19
> >
> >
> > > vserver@pmenier.net wrote:
> > > > Hello
> > > >
> > > > I try new release today (patch-2.6.19-vs2.1.x-t1.diff) but it
doesn't
> > work
> > > > properly : boot ok, starting vserver ok but it doesn't switch
context i
> > > > think.
> > > >
> > > > I try to explain :
> > > > my master is : srvweb
> > > > So i try :
> > > > srvweb:/#vserver vweb1 start
> > > > srvweb:/#vserver vweb2 start
> > > > srvweb:/#vserver vweb3 start
> > > >
> > > > All seems to work fine but suddenly the prompt is changing :
vweb3:/#
> > > > whereas i didn't enter into vserver !!! The context-ID are OK in
> > > > /usr/local/var/run/vservers/vwebX.ctx
> > > > but i can't never get out from vweb3 !!! i've seen on the tty1 a
> > message :
> > > > get_ctx_id() and the prompt was changing alone whereas i wasn't
loggued
> > on
> > > > this tty.
> > > >
> > > > Then i enter into vserver vweb3 and i try to leave it with CTRL-D :
it
> > stays
> > > > in vweb3 in the home directory of user with which i connect to the
> > master !
> > > > I can never come back to the master....
> > > >
> > > > I think it's a very little bug for you :-)
> > > >
> > > > Thanks again for your great job.
> > > >
> > > > Patrick
> > >
> > > You _are_ using at least util-vserver 0.30.212-rc1, right? That's when
> > > the initial 2.6.19 support was added, and (from what I hear) it works
> > > for most things, but some are broken (e.g. chcontext not creating a
new
> > > UTS namespace).
> > >
> > > --
> > > Daniel Hokka Zakrisson
> > > GPG id: 06723412
> > > GPG fingerprint: A455 4DF3 990A 431F FECA 7947 6136 DDA2 0672 3412
> > > _______________________________________________
> > > 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 mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Sat Dec 2 13:05:33 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 02 Dec 2006 - 13:05:38 GMT by hypermail 2.1.8