Thanks Tamas and Guido for your help.
Dealing with stp options on the bridge wasn't a good option for us
because we don't use a closed network solution and it could shutdown our
provider net. (if they use stp too)
We figured out that interfaces starts smoother in lxc if we set
lxc.network.hwadd
On 10/11/2013 02:42 PM, Andreas Laut wrote:
> Hi,
>
> actually can't get lxc nightly compiled with debian right now,
> configure has problems with pkg-config python3-dev (package pkg-config
> and python3-dev is installed) (configure line 5588)
>
> I tried instead lxc 0.9 from tarball and got the s
Sorry, found the mistake in my lxc config by myself, need to do further
tests.
Am 11.10.2013 14:42, schrieb Andreas Laut:
Hi,
actually can't get lxc nightly compiled with debian right now,
configure has problems with pkg-config python3-dev (package pkg-config
and python3-dev is installed) (c
Hi,
actually can't get lxc nightly compiled with debian right now, configure
has problems with pkg-config python3-dev (package pkg-config and
python3-dev is installed) (configure line 5588)
I tried instead lxc 0.9 from tarball and got the same problem.
Our LXC Config is attached, maybe this
>To: Jäkel, Guido; 'lxc-users@lists.sourceforge.net'
>Subject: Re: [Lxc-users] Problem with lxc and mutliple ips
>
>Ok, sorry. You're right.
>
>We are using a bridge named br0 bound to eth0 at lxc host. On the
>containers we are using veth, but this problem happens
On 10/11/2013 10:40 AM, Andreas Laut wrote:
> Ok, sorry. You're right.
>
> We are using a bridge named br0 bound to eth0 at lxc host. On the
> containers we are using veth, but this problem happens also with type
> macvlan. No change at all.
>
> We also tried using hwaddr.
> We're doing further
Ok, sorry. You're right.
We are using a bridge named br0 bound to eth0 at lxc host. On the
containers we are using veth, but this problem happens also with type
macvlan. No change at all.
We also tried using hwaddr.
We're doing further research in hope to show a way to reproduce this for
you.
On Thu 2011-09-08 (10:05), Nikhil Handigol wrote:
> As an additional datapoint, lxc-attach (from lxc-0.7.2) had worked for me
> with linux-2.6.35 with the corresponding setns patches (attached).
>
> Now I need to upgrade the kernel (ideally, to 2.6.38 or 3.0) and I've been
> unable to get lxc-atta
Quoting Kristian Kirilov (d3v1...@d3v1ous.info):
...
> lxc-checkconfig show this status:
>
> blackbird:~# lxc-checkconfig
> Kernel config /proc/config.gz not found, looking in other places...
> Found kernel config file /boot/config-3.0.4
> --- Namespaces ---
> Namespaces: enabled
> Utsname names
If I understand the lxc code right, it's failing in the function
get_cgroup_mount in src/lxc/cgroup.c, which tries to read the cgroup mount
point from /proc/mounts.
/proc/mount seems to be fine on my machine:
$ cat /proc/mounts
...
...
cgroup /cgroup cgroup
rw,relatime,blkio,net_cls,freezer,device
Ah! That was something I had missed. I recompiled lxc with
the --with-linuxdir option and the old error went away.
Now I'm getting the following error:
$ lxc-attach -n foo -- /bin/bash
lxc-attach: No such file or directory - failed to open /proc/mounts
lxc-attach: cgroup is not mounted
lxc-attach:
On 09/08/2011 07:12 PM, Nikhil Handigol wrote:
> It is indeed the case:
>
> $ type lxc-attach
> lxc-attach is /usr/local/bin/lxc-attach
Ok.
Did you specified the kernel source tree when invoking configure ?
It is the --with-linuxdir=
Make sure to remove src/lxc/setns.h file which is automatical
It is indeed the case:
$ type lxc-attach
lxc-attach is /usr/local/bin/lxc-attach
$ ldd /usr/local/bin/lxc-attach
linux-vdso.so.1 => (0x7fff9ddff000)
liblxc.so.0 => /usr/local/lib/liblxc.so.0 (0x7f072165a000)
libcap.so.2 => /lib/libcap.so.2 (0x7f0721439000)
libc.so.6 => /lib/libc.so.6
On 09/08/2011 06:48 PM, Nikhil Handigol wrote:
> Just to be sure that wasn't the case, I tried running the executable
> directly from the lxc source directory. I got the same error:
>
> $ cd src/lxc
> $ ./lxc-execute -n foo -f /etc/mn/host.conf -- /bin/bash
> root@mnhost:/home/nikhilh/lxc/src/lxc#
Just to be sure that wasn't the case, I tried running the executable
directly from the lxc source directory. I got the same error:
$ cd src/lxc
$ ./lxc-execute -n foo -f /etc/mn/host.conf -- /bin/bash
root@mnhost:/home/nikhilh/lxc/src/lxc#
In another terminal:
$ cd src/lxc
$ ./lxc-attach -n foo -
On 09/08/2011 06:30 PM, Nikhil Handigol wrote:
> I just tried running lxc-attach with linux-2.6.38. I got the same error as
> with linux-3.0 -- Function not implemented - failed to set namespace 'pid'.
>
> Here's the exact sequence of steps that I followed:
>
> Compiled linux-2.6.38.2 with the corr
I just tried running lxc-attach with linux-2.6.38. I got the same error as
with linux-3.0 -- Function not implemented - failed to set namespace 'pid'.
Here's the exact sequence of steps that I followed:
Compiled linux-2.6.38.2 with the corresponding setns patches (
http://lxc.sourceforge.net/patc
Thanks Daniel!
The linux-3.0 patches don't seem to be working for me unfortunately.
I compiled lxc-0.7.5 with the patched linux-3.0. After starting a container
"foo" via lxc-execute,I ran the following command:
$ lxc-attach -n foo -- /bin/bash
When I run lxc-attach, I get the following error:
lx
On 09/07/2011 07:49 PM, Goran Cetusic wrote:
> Thank you, Daniel. If lxc-attach enters the mainline kernels it will, with
> the LANA netgraph implementation, become a powerful tool for network
> simulation. The only component inside the kernel that is still missing are
> union mounts.
Yes, the ker
Thank you, Daniel. If lxc-attach enters the mainline kernels it will, with
the LANA netgraph implementation, become a powerful tool for network
simulation. The only component inside the kernel that is still missing are
union mounts.
On Wed, Sep 7, 2011 at 3:55 PM, Matteo Bernardini <
matteo.bernar
> http://lxc.sourceforge.net/patches/linux/3.0.0/3.0.0-lxc1/
I've done a quick try of the patches with linux-3.0.4 with lxc-0.7.5,
slackware64-13.37 and my existing containers and I'm able to turn them
off easily with
lxc-attach -n mycontainer -- /sbin/halt
\o/
I'll test them more, but in the m
On 09/07/2011 11:33 AM, Greg Kurz wrote:
> On Wed, 2011-09-07 at 10:38 +0200, Daniel Lezcano wrote:
>> On 09/07/2011 02:17 AM, Nikhil Handigol wrote:
>>> Hi,
>>>
>>> I have been facing problems getting lxc (more specifically, lxc-attach) to
>>> work on Linux v3.1.0-rc4. When I run lxc-attach, I get
On Wed, 2011-09-07 at 10:38 +0200, Daniel Lezcano wrote:
> On 09/07/2011 02:17 AM, Nikhil Handigol wrote:
> > Hi,
> >
> > I have been facing problems getting lxc (more specifically, lxc-attach) to
> > work on Linux v3.1.0-rc4. When I run lxc-attach, I get the following error:
> > $ lxc-attach -n fo
On 09/07/2011 02:17 AM, Nikhil Handigol wrote:
> Hi,
>
> I have been facing problems getting lxc (more specifically, lxc-attach) to
> work on Linux v3.1.0-rc4. When I run lxc-attach, I get the following error:
> $ lxc-attach -n foo -- /bin/bash
> lxc-attach: No such file or directory - failed to op
24 matches
Mail list logo