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 unstable

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 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 figured out how to

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. ..." - https://www.

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

2015-05-10 Thread Tim Penhey
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 figured out how to create a mixed container local provider environment that was never intended to work, but it did. Ther

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

Re: [lxc-users] problems or only warning (!?) with lxc-clone

2015-05-10 Thread Yonsy Solis
On Fri, May 8, 2015 at 10:52 AM, Yonsy Solis wrote: On Fri, May 8, 2015 at 10:32 AM, Serge Hallyn wrote: what does 'ls -l /usr/bin/newuidmap /usr/bin/newgidmap' show? mode :: ~ » ls -l /usr/bin/newuidmap /usr/bin/newgidmap

[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 w

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 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 very new to both of features) > https://linuxcontainers.org/lxc/manpag

[lxc-users] LXD vivid container images and systemd?

2015-05-10 Thread Mark Constable
I seem to be reasonably comfortable with old school lxc (not the LXD lxc) root containers with scripts to automatically set them up with nginx etc but trying to do the same thing with LXD lxc is proving to be trickier. Aside from not being able to autostart them, the ifupdown networking system does

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 learning