Re: [Lxc-users] Upgrading udev and plymouth in a lucid container

2011-07-27 Thread Serge Hallyn
Quoting Elliot Pahl (elliot.p...@gmail.com): Upgrading udev and plymouth in a lucid container seems to require access to udev devices with the following lines in container/config lxc.cgroup.devices.allow = c 108:0 rwm lxc.cgroup.devices.allow = b 7:0 rwm lxc.cgroup.devices.allow = c 10:200

Re: [Lxc-users] [PATCH] Don't try to add host user's groups in container

2011-07-27 Thread Daniel Lezcano
On 07/25/2011 03:10 AM, Serge E. Hallyn wrote: When '-b user' is specified to lxc-ubuntu container creation template, do not automatically add all the groups of which user is a member on the host, to user's groups in the container. Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com ---

[Lxc-users] unexpected device renaming behavior with phys network.types

2011-07-27 Thread Amy Fong
Hi, I'm using 2.6.34 with patches applied from: http://www.kernel.org/pub/linux/kernel/people/gregkh/driver_core/2.6/2.6.34/ It seem that when I try to create a container where I rename the device e.g. lxc-execute --name net -s lxc.network.type=phys -s lxc.network.link=eth0 -work.name=eth1

[Lxc-users] lxc-console over ssh

2011-07-27 Thread John
Hi, quick one that is puzzling me. Do the lxc commands work over ssh ? I am trying to open a console on a remote host. I try this: $ ssh remote_host lxc-console -n vps_on_remote_host But I get an error: lxc-console: '0' is not a tty lxc-console: failed to setup tios Other commands work fine

Re: [Lxc-users] lxc-console over ssh

2011-07-27 Thread Michael H. Warfield
On Wed, 2011-07-27 at 21:12 +0100, John wrote: Hi, quick one that is puzzling me. Do the lxc commands work over ssh ? I am trying to open a console on a remote host. I try this: $ ssh remote_host lxc-console -n vps_on_remote_host But I get an error: lxc-console: '0' is not a tty

Re: [Lxc-users] lxc-console over ssh

2011-07-27 Thread Joerg Gollnick
Hello John, ssh has different (pseudo) terminal allocation if you execute a command. Please use ssh -t to force pseudo-tty allocation. ssh -t remote_host lxc-console -n vps_on_remote_host The other way around is to ssh remote_host and work with lxc-* as normal. For lxc-start it is not very

[Lxc-users] Can a process change its container membership ?

2011-07-27 Thread Vinay Wagh
Hi, I had an architectural question on containers. I wanted to use containers to run multiple instances of the same application with different resource allocation (CPU, memory). The problem is that I have user/kernel space drivers that access network processors and I might not be able to run

Re: [Lxc-users] Can a process change its container membership ?

2011-07-27 Thread Serge E. Hallyn
Quoting Vinay Wagh (vinay.h.w...@gmail.com): Hi, I had an architectural question on containers. I wanted to use containers to run multiple instances of the same application with different resource allocation (CPU, memory). The problem is that I have user/kernel space drivers that access