Re: [Lxc-users] lxc, CIFS mounts and apparmor

2012-09-06 Thread Serge Hallyn
Quoting TuxRaiderPen (tuxraider...@wpascanner.com): Playing with lxc virtualization to possibly isolate some things in their own little/light world(s) v. standard VM via VMWare Server or Player. I am trying to use mount for cifs to mount to a NAS to export out some data apparmor is

Re: [Lxc-users] LXC container templates

2012-09-06 Thread TuxRaiderPen
On Wednesday, September 05, 2012 18:48:55 Matthew Franz wrote: So even though I think creating role-specific templates is a flawed Why? Is not the goal of a template ease and speed to set up new containers? A LAMP server is a pretty basic generic server that a lot of users would want.

Re: [Lxc-users] LXC container templates

2012-09-06 Thread Dan Kegel
On Thu, Sep 6, 2012 at 11:01 AM, TuxRaiderPen tuxraider...@wpascanner.com wrote: On Wednesday, September 05, 2012 18:48:55 Matthew Franz wrote: So even though I think creating role-specific templates is a flawed Why? Is not the goal of a template ease and speed to set up new containers? A

Re: [Lxc-users] LXC container templates

2012-09-06 Thread Dan Kegel
On Thu, Sep 6, 2012 at 10:50 AM, TuxRaiderPen tuxraider...@wpascanner.com wrote: The simple way is tasksel Then select LAMP Server, it pulls in the various packages and goes from there. Ah, there you go, then. So use lxc to set up the machine, and tasksel inside it. It has a commandline

[Lxc-users] Viewing a container's /proc mount from the host

2012-09-06 Thread Ken Elkabany
Hi, We're trying to find the ports that a container is currently listening on. This information is available from /proc/net/tcp and /proc/net/udp. However, as far as I can tell, the host cannot view a container's /proc mount due to namespacing. We would prefer to view those files from the host,

Re: [Lxc-users] Viewing a container's /proc mount from the host

2012-09-06 Thread Stéphane Graber
On 12-09-06 04:55 PM, Ken Elkabany wrote: Hi, We're trying to find the ports that a container is currently listening on. This information is available from /proc/net/tcp and /proc/net/udp. However, as far as I can tell, the host cannot view a container's /proc mount due to namespacing. We

[Lxc-users] Kernel panics, out of RAM, provisioning lxc guests and host

2012-09-06 Thread Dan Kegel
This is more a newbie note to self than anything else. Twice now, I've gotten a kernel panic while using lxc on precise 12.04.1 inside virtualbox. It seems to happen when there's lots of disk I/O going on - probably I'm running out of memory, or something. The workload is build large

Re: [Lxc-users] Kernel panics, out of RAM, provisioning lxc guests and host

2012-09-06 Thread Dan Kegel
I had, I shit you not, 1.1 million pipes in /tmp in the overlay directory. Wonder if that stressed anything out. On Thu, Sep 6, 2012 at 2:27 PM, Dan Kegel d...@kegel.com wrote: This is more a newbie note to self than anything else. Twice now, I've gotten a kernel panic while using lxc on

Re: [Lxc-users] Viewing a container's /proc mount from the host

2012-09-06 Thread Ken Elkabany
Thank you! That's exactly what I needed. Ken On Thu, Sep 6, 2012 at 2:05 PM, Stéphane Graber stgra...@ubuntu.com wrote: On 12-09-06 04:55 PM, Ken Elkabany wrote: Hi, We're trying to find the ports that a container is currently listening on. This information is available from

[Lxc-users] Piping output of lxc-monitor to a file without buffering

2012-09-06 Thread Ken Elkabany
Hi, The following outputs container state changes to the terminal as expected: $ lxc-monitor -n container-1 However, the following outputs the same state changes to a file only after a certain buffer size has been reached: $ lxc-monitor -n container-1 output This is problematic because it

Re: [Lxc-users] LXC container templates

2012-09-06 Thread TuxRaiderPen
On Thursday, September 06, 2012 14:30:25 Dan Kegel wrote: On Thu, Sep 6, 2012 at 10:50 AM, TuxRaiderPen Ah, there you go, then. So use lxc to set up the machine, and tasksel inside it. It has a commandline interface, so you can script it. Thanks for the info and insight into to things.

Re: [Lxc-users] lxc, CIFS mounts and apparmor

2012-09-06 Thread TuxRaiderPen
On Thursday, September 06, 2012 17:31:25 you wrote: you need the 'apparmor' package in order to get apparmor_parser. But the simplest way to reload the lxc container profiles is to Oh this begs a question... but I am just going to let it go... sudo stop lxc sudo start lxc No change...

[Lxc-users] Using VMware as a test-bed for hosting lxc containers.

2012-09-06 Thread Peter-Frank Spierenburg
Greetings, I am trying to use Ubuntu Server 12.04 in a VMware vm as a test-bed for hosting several lxc containers while I work some configuration kinks out of them. Eventually I plan to host them directly on physical hardware. Anyway, I am having trouble convincing the lxc guests to talk to the

Re: [Lxc-users] Using VMware as a test-bed for hosting lxc containers.

2012-09-06 Thread Fajar A. Nugraha
On Fri, Sep 7, 2012 at 11:29 AM, Peter-Frank Spierenburg spier...@hotmail.com wrote: Anyway, I am having trouble convincing the lxc guests to talk to the network outside the box hosting the vm hosting the container. If you use latest ubuntu it'll work out of the box. I've also got iptables