[Lxc-users] VALE as networking option in LXC

2013-04-12 Thread Natale Patriciello
Hi list, someone looked into the possibility to add VALE [1] as networking option ? VALE is a software Virtual Local Ethernet whose ports are accessible using the netmap API [2], designed to be used as the interconnect between virtual machines (or as a fast local bus), working as a learning bridg

Re: [Lxc-users] Need simple configuration for embedded ARM LXC

2013-04-12 Thread Serge Hallyn
Quoting Somnath Mitra (somnath.mi...@xockets.com): > Greetings, > > I have built lxc 0.9.0 running on Linux 3.6.0 on Xilinx ARM Cortex A9 dual > core embedded board. For general utilities it has busybox/dropbear. > > I wish to run applications in containers. I used this configuration: > > /tmp #

Re: [Lxc-users] Very odd lxc behavior

2013-04-12 Thread Serge Hallyn
Quoting David Parks (davidpark...@yahoo.com): > Today I saw this. > > I had started half the containers when I noticed the problem (not all of > them as the output below suggests). > > I stopped them all (which generated some errors, seen at the end). > > After stopping them all everything went

Re: [Lxc-users] cgroup question

2013-04-12 Thread Kevin Wilson
Hello, Thanks a lot for your answer. I reproduced the problem: this is what I run: (after boot, in Ubuntu 12.10) mount -t tmpfscgroup_root/cgroup mkdir /cgroup/test1 mount -t cgroup -o cpuset,devices mytest/cgroup/test1 And I get: mount: mytest already mounted or /cgroup/test1 busy

Re: [Lxc-users] cgroup question

2013-04-12 Thread Serge Hallyn
Quoting Kevin Wilson (wkev...@gmail.com): > Hello, > Thanks a lot for your answer. > > I reproduced the problem: > this is what I run: (after boot, in Ubuntu 12.10) > > mount -t tmpfscgroup_root/cgroup > > mkdir /cgroup/test1 > mount -t cgroup -o cpuset,devices mytest/cgroup/test1 >

Re: [Lxc-users] Very odd lxc behavior

2013-04-12 Thread David Parks
Vanilla 12.10 Ubuntu server: root@atlas01:~# sudo lxc-version lxc version: 0.8.0-rc1 I may very well have accidentally tried to start the same container twice, I think I fat-fingered something just before encountering the issue, and I've never had it happen on any of our other boxes. Anywa

Re: [Lxc-users] Very odd lxc behavior

2013-04-12 Thread Serge Hallyn
Quoting David Parks (davidpark...@yahoo.com): > Vanilla 12.10 Ubuntu server: > > > > root@atlas01:~# sudo lxc-version > > lxc version: 0.8.0-rc1 > > > > I may very well have accidentally tried to start the same container twice, I > think I fat-fingered something just before encountering th

Re: [Lxc-users] cgroup question

2013-04-12 Thread Kevin Wilson
Serge, Thanks a lot, this explains everything. With "dpkg -l | grep cgroup" I found cgroup-lite, which includes /bin/cgroups-mount and /bin/cgroups-umount scripts. After removing this package and rebooting, cat /proc/mounts | grep cgroup show nothing. I don't know for what is this package intend

Re: [Lxc-users] Need simple configuration for embedded ARM LXC

2013-04-12 Thread Somnath Mitra
On Fri, Apr 12, 2013 at 6:53 AM, Serge Hallyn wrote: > Quoting Somnath Mitra (somnath.mi...@xockets.com): > > Since the container rootfs is shared with host I am confused why it > cannot > > find lxc-init? > > Sounds like a compilation/packaging problem. It works for me > here, with ubuntu rarin

[Lxc-users] cgroup behavior

2013-04-12 Thread David Parks
Speaking of cgroup behavior, you reminded me, I have an open question that nobody managed to pick up on unix.stackexchange.com regarding blkio not working as expected, maybe you can take a stab at it... I've got 2 LXC containers with these cgroup settings: lxc.cgroup.blkio.weight = 200 lxc