public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Sven Eckelmann <sven.eckelmann@gmx.de>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] running batman-adv in a openvz VE
Date: Sat, 3 Apr 2010 18:41:40 +0200	[thread overview]
Message-ID: <201004031841.46758.sven.eckelmann@gmx.de> (raw)
In-Reply-To: <4BB73808.8080105@nord-west.org>

[-- Attachment #1: Type: Text/Plain, Size: 1745 bytes --]

Bjoern Franke wrote:
> Hi,
> 
> thanks for your reply!
> 
> > I have never used openvz, but adjusted some protocols to deal with openvz
> > aware kernels (which means that they used and checked their namespace -
> > so nothing really fancy).
> >
> > What must be done for device drivers to make them work on OpenVZ? Have
> > you tried it and where have found you problems?
> 
> OpenVZ-Containers use the same kernel as the host system and I can build
> and load the module on the host, but I don't know how to access
> /proc/net/batman-adv from within the container. The container uses a own
> proc-fs.

Ok, that is correct. I wanted to check how to work around such problems and 
how to implement it in the new configuration api/multiple bat-device 
implementation for 0.3 (or later) - but unfortunately  OpenVZ for 2.6.32 was 
only good to crash my system very hard. (but it is at least a known upstream 
bug :) )
So it can take a little bit longer until I really checked what we can do here.

Just some small question: Why do you want batman-adv in a VE? batman-adv runs 
entirely inside the kernel. This means there is no benefit in running it in a 
"secure" environment because it doesn't run there. The real hardware used for 
the mesh is also part of the host and not the ve (unless you do some kind of 
device sharing with VE_NUMBER.conf - which seems to be a little bit 
overcomplicated).

To me it sounds easier and more straight forward to use veth inside the kernel 
and do the configuration outside (it only configures the kernel - so no 
security or separation benefits). The userspace applications like tinc can now 
run inside the ve with the correct setup in the host.

Best regards,
	Sven

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2010-04-03 16:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-03  9:37 [B.A.T.M.A.N.] running batman-adv in a openvz VE Bjoern Franke
2010-04-03  9:54 ` Sven Eckelmann
2010-04-03 12:43   ` Bjoern Franke
2010-04-03 16:41     ` Sven Eckelmann [this message]
2010-04-03 22:29       ` Sven Eckelmann
2010-04-04  2:58         ` Marek Lindner
2010-04-03  9:57 ` Marek Lindner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201004031841.46758.sven.eckelmann@gmx.de \
    --to=sven.eckelmann@gmx.de \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox