Re: [lxc-users] Determining the best way for Juju to interact with lxd

2015-05-10 Thread Chuck Short
Hi, Why not use the REST api? chuck On Sun, May 10, 2015 at 7:03 PM, Tim Penhey tim.pen...@canonical.com wrote: Hi folks, I am looking into creating a new provider for Juju based on lxd. The current local provider uses lxc by default, and kvm with an option. Some creative types actually

Re: [lxc-users] How to disable 32bit emulation within a 64bit container

2015-05-10 Thread Boyok Mad
I think I managed to do it by using a seccomp profile. syscalls for a 32bit emulated binary have a different system call numbers and they are rejected. ... Also, as things are today, if your host is 64bit and you load a seccomp policy file, all 32bit syscalls will be rejected. ... -

Re: [lxc-users] Determining the best way for Juju to interact with lxd

2015-05-10 Thread Tim Penhey
It is definitely an option. I was wanting to ask if it was the best option. It seems that the lxc CLI tool already wraps the REST api with a Go client. I was thinking Juju could use that rather than the raw REST. I don't see why we should wrap it too. Also, the REST api is defined to be

Re: [lxc-users] Is there a guide to LXC ipv6 configuration

2015-05-10 Thread Xavier Gendre
Hi Brian, the IPv4 magic in LXC comes from the use of dnsmasq. According to what i have read, you can configure dnsmasq to deal with dhcpv6 but i never tried it. Maybe you can look on this side to reach your goal. Xavier Le 10/05/2015 02:42, brian mullan a écrit : Xavier I am just

[lxc-users] At startup LXD unix socket is not starting

2015-05-10 Thread Kevin LaTona
Maybe this is not the right place to ask this question but here goes. With a fresh install of ubuntu 15.04 server it appears to me that systemd is run by default at boot up time now. I would have assumed that as systemd is run, that the LXD and LXC scripts would auto run at boot time as well

Re: [lxc-users] How to disable 32bit emulation within a 64bit container

2015-05-10 Thread Stéphane Graber
On Sun, May 10, 2015 at 09:00:22AM -0400, Michael H. Warfield wrote: On Sun, 2015-05-10 at 14:54 +1000, Boyok Mad wrote: Hi I want to disable 32bit emulation within my ubuntu container. I think this can be achieved by setting seccomp filter or cap.drop config (I may be wrong as I am

Re: [lxc-users] How to disable 32bit emulation within a 64bit container

2015-05-10 Thread Michael H. Warfield
On Sun, 2015-05-10 at 11:08 -0400, Stéphane Graber wrote: On Sun, May 10, 2015 at 09:00:22AM -0400, Michael H. Warfield wrote: On Sun, 2015-05-10 at 14:54 +1000, Boyok Mad wrote: Hi I want to disable 32bit emulation within my ubuntu container. I think this can be achieved by