[lxc-users] lxc exec - is there a way to run command in the background?

2016-01-28 Thread Tomasz Chmielewski
Is there a way to run the command in the background, when running "lxc exec"? It doesn't seem to work for me. # lxc exec container -- sleep 2h & [2] 13566 # [2]+ Stopped lxc exec container -- sleep 2h This also doesn't work: # lxc exec container -- "sleep 2h &" # Tomasz

Re: [lxc-users] lxc exec - is there a way to run command in the background?

2016-01-28 Thread Serge Hallyn
Hm, well at least nohup lxc exec container -- sleep 2h & works for me. I would have expected --mode=non-interactive to work, but it doesn't. Quoting Tomasz Chmielewski (man...@wpkg.org): > Is there a way to run the command in the background, when running > "lxc exec"? > > It doesn't seem to

Re: [lxc-users] CGManager and LXCFS causing lxc-start to fail for unprivileged containers

2016-01-28 Thread Serge Hallyn
Quoting Akshay Karle (akshay.a.ka...@gmail.com): > Hello, > > Recently after upgrading lxc on Ubuntu 14.04.3 LTS, I noticed that it > included the libpam-cgm package. I started to see some weird problems with > cgroups and ownerships when trying to start an unprivileged container in > the cases

Re: [lxc-users] Connecting container to tagged VLAN

2016-01-28 Thread Joshua Schaeffer
On Wed, Jan 27, 2016 at 6:09 PM, Fajar A. Nugraha wrote: > > >> eth2 already works. I set it up for testing outside of all containers >> (i.e. on the host only). From the host: >> >> > That doesn't match what you said earlier. > It actually does. Remember that this LXC host is a

[lxc-users] Console issues

2016-01-28 Thread Peter Steele
As I've explained in this mailing list before, I create my own custom CentOS template that has some history, being initially used as a template for KVM based virtual machines, then OpenVZ based containers, then libvirt-lxc containers, and now finally we're tackling LXC. One issue I've noted is

Re: [lxc-users] Lxc container, add custom route

2016-01-28 Thread Florian Leparoux
Ok, So I will use the configuration inside the CT. Thank you for your reply. Regards, Le 27/01/2016 22:46, Fajar A. Nugraha a écrit : On Wed, Jan 27, 2016 at 4:55 PM, Florian Leparoux > wrote: Thank you for your reply I've created the file

Re: [lxc-users] LXD default NS mappings

2016-01-28 Thread Tycho Andersen
On Wed, Jan 27, 2016 at 05:09:52PM +0100, david.an...@bli.uzh.ch wrote: > Hi > > I have noticed that LXD uses some UIDs/GIDs by default I haven't set up and > which aren't represented in /etc/sub[ug]id files. > Interestingly, they are different from instance to instance: one one root is >

[lxc-users] Adding /dev/ppp to container under lxd

2016-01-28 Thread Matt Willsher
Hi, I'm trying to add /dev/ppp to a container so I can initiate a PPPoE connection from inside the container. lxd is 0.27 I have the following configuration on the container, derived from https://github.com/lxc/lxd/blob/master/specs/configuration.md#type-unix-char config:

[lxc-users] CGManager and LXCFS causing lxc-start to fail for unprivileged containers

2016-01-28 Thread Akshay Karle
Hello, Recently after upgrading lxc on Ubuntu 14.04.3 LTS, I noticed that it included the libpam-cgm package. I started to see some weird problems with cgroups and ownerships when trying to start an unprivileged container in the cases when the user running the containers is not the same as the

Re: [lxc-users] LXC not responsive after update

2016-01-28 Thread Viktor Trojanovic
On 28.01.2016 14:33, Andrey Repin wrote: Greetings, Viktor Trojanovic! Hi Bostjan, I sent a reply with an attachment a week ago but it still was not approved. The reply came through to the list just fine. https://lists.linuxcontainers.org/pipermail/lxc-users/2016-January/010862.html Hi