OpenVZ Forum


Home » Mailing lists » Users » Set kernel name (uname) for VE
Set kernel name (uname) for VE [message #30688] Tue, 03 June 2008 11:42 Go to next message
MailingListe is currently offline  MailingListe
Messages: 29
Registered: May 2008
Junior Member
Hello

is it possible to set the kernel name a VE get for the "uname" call?  
There seams to be a bug in the oracle installer with long kernel names  
and we try to test if this is still the case for our oracle 11g client  
setup dying with segmentation fault inside the VE
Link to (possible) Oracle Bug :
http://kevinclosson.wordpress.com/2007/04/18/dont-install-oracle-on-linux-servers-with-long-kernel-names/

Thanks

Andreas


-- 
All your trash belong to us ;-)  www.spamschlucker.org
To: stephan@spamschlucker.org
Re: Set kernel name (uname) for VE [message #30690 is a reply to message #30688] Tue, 03 June 2008 13:34 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

See /proc/sys/kernel/virt_osrelease -- there you can see/set kernel 
version as visible from inside containers.

MailingListe wrote:
> Hello
>
> is it possible to set the kernel name a VE get for the "uname" call? 
> There seams to be a bug in the oracle installer with long kernel names 
> and we try to test if this is still the case for our oracle 11g client 
> setup dying with segmentation fault inside the VE
> Link to (possible) Oracle Bug :
> http://kevinclosson.wordpress.com/2007/04/18/dont-install-oracle-on-linux-servers-with-long-kernel-names/ 
>
>
> Thanks
>
> Andreas
>
>
veth and venet0 [message #30695 is a reply to message #30690] Tue, 03 June 2008 21:11 Go to previous messageGo to next message
Zhaohui Wang is currently offline  Zhaohui Wang
Messages: 10
Registered: May 2008
Junior Member
Hi all,

If I want to use veth for container networking,do I have to delete venet0?
If they can exist at the same time, which one is priorer to the other?How the packet goes before it get to the physical device?


Best Regards
Zhaohui Wang


> -----Original Message-----
> From: users-bounces@openvz.org [mailto:users-bounces@openvz.org] On
> Behalf Of Kir Kolyshkin
> Sent: Tuesday, June 03, 2008 9:35 AM
> To: users@openvz.org
> Subject: Re: [Users] Set kernel name (uname) for VE
> 
> See /proc/sys/kernel/virt_osrelease -- there you can see/set kernel
> version as visible from inside containers.
> 
> MailingListe wrote:
> > Hello
> >
> > is it possible to set the kernel name a VE get for the "uname" call?
> > There seams to be a bug in the oracle installer with long kernel
> names
> > and we try to test if this is still the case for our oracle 11g
> client
> > setup dying with segmentation fault inside the VE
> > Link to (possible) Oracle Bug :
> > http://kevinclosson.wordpress.com/2007/04/18/dont-install-oracle-on-
> linux-servers-with-long-kernel-names/
> >
> >
> > Thanks
> >
> > Andreas
> >
> >
>
Re: veth and venet0 [message #30696 is a reply to message #30695] Wed, 04 June 2008 04:59 Go to previous messageGo to next message
den is currently offline  den
Messages: 494
Registered: December 2005
Senior Member
On Tue, 2008-06-03 at 17:11 -0400, Zhaohui Wang wrote:
> Hi all,
> 
> If I want to use veth for container networking,do I have to delete venet0?
no, they can co-exist

> If they can exist at the same time, which one is priorer to the other?How the packet goes before it get to the physical device?
this depends upon you routing tables

> Best Regards
> Zhaohui Wang
> 
> 
> > -----Original Message-----
> > From: users-bounces@openvz.org [mailto:users-bounces@openvz.org] On
> > Behalf Of Kir Kolyshkin
> > Sent: Tuesday, June 03, 2008 9:35 AM
> > To: users@openvz.org
> > Subject: Re: [Users] Set kernel name (uname) for VE
> > 
> > See /proc/sys/kernel/virt_osrelease -- there you can see/set kernel
> > version as visible from inside containers.
> > 
> > MailingListe wrote:
> > > Hello
> > >
> > > is it possible to set the kernel name a VE get for the "uname" call?
> > > There seams to be a bug in the oracle installer with long kernel
> > names
> > > and we try to test if this is still the case for our oracle 11g
> > client
> > > setup dying with segmentation fault inside the VE
> > > Link to (possible) Oracle Bug :
> > > http://kevinclosson.wordpress.com/2007/04/18/dont-install-oracle-on-
> > linux-servers-with-long-kernel-names/
> > >
> > >
> > > Thanks
> > >
> > > Andreas
> > >
> > >
> >
host and ve communication [message #30723 is a reply to message #30696] Wed, 04 June 2008 23:12 Go to previous message
Zhaohui Wang is currently offline  Zhaohui Wang
Messages: 10
Registered: May 2008
Junior Member
Hi all

I am tring to use unix domain socket to  do communication between the host and the container.

Now,it's working on the 2.6.18 stable kernel, if and only if I start the server socket inside the container and connect from the host, and with abstract name.

BUT,the same approach failed on 2.6.24 ovz004 kernel.

Can any one tell me what changes have been made to unix domain socket,and abstract namespaces. Does openvz separated socket namespace in ovz004?


Before I am digging the code,any information would be appreciated.




Thanks Den.


Best Regards
Zhaohui Wang


> -----Original Message-----
> From: users-bounces@openvz.org [mailto:users-bounces@openvz.org] On
> Behalf Of Denis V. Lunev
> Sent: Wednesday, June 04, 2008 1:00 AM
> To: users@openvz.org
> Subject: Re: [Users] veth and venet0
> 
> On Tue, 2008-06-03 at 17:11 -0400, Zhaohui Wang wrote:
> > Hi all,
> >
> > If I want to use veth for container networking,do I have to delete
> venet0?
> no, they can co-exist
> 
> > If they can exist at the same time, which one is priorer to the
> other?How the packet goes before it get to the physical device?
> this depends upon you routing tables
> 
> > Best Regards
> > Zhaohui Wang
> >
> >
> > > -----Original Message-----
> > > From: users-bounces@openvz.org [mailto:users-bounces@openvz.org] On
> > > Behalf Of Kir Kolyshkin
> > > Sent: Tuesday, June 03, 2008 9:35 AM
> > > To: users@openvz.org
> > > Subject: Re: [Users] Set kernel name (uname) for VE
> > >
> > > See /proc/sys/kernel/virt_osrelease -- there you can see/set kernel
> > > version as visible from inside containers.
> > >
> > > MailingListe wrote:
> > > > Hello
> > > >
> > > > is it possible to set the kernel name a VE get for the "uname"
> call?
> > > > There seams to be a bug in the oracle installer with long kernel
> > > names
> > > > and we try to test if this is still the case for our oracle 11g
> > > client
> > > > setup dying with segmentation fault inside the VE
> > > > Link to (possible) Oracle Bug :
> > > > http://kevinclosson.wordpress.com/2007/04/18/dont-install-oracle-
> on-
> > > linux-servers-with-long-kernel-names/
> > > >
> > > >
> > > > Thanks
> > > >
> > > > Andreas
> > > >
> > > >
> > >
Previous Topic: Workshop Virtualization Technologies in Essen, Germany
Next Topic: fuse kernel module
Goto Forum:
  


Current Time: Sun Dec 22 06:00:43 GMT 2024

Total time taken to generate the page: 0.05210 seconds