[Lxc-users] newbie question: why all the lxc must be in /etc/lxc?

2012-11-06 Thread fpemud
sorry I don't know if it is already been asked. (where to seach?) lxc-create -n creates new lxc in /etc/lxc, it's ok. but lxc-start -n also needs the lxc in /etc/lxc, it's too restrictive. I want to freely put my lxc in any directory of course. is there any technical reason? or is it a missing

Re: [Lxc-users] [systemd-devel] Unable to run systemd in an LXC / cgroup container.

2012-11-06 Thread Michael H. Warfield
On Mon, 2012-10-22 at 16:11 +0200, Lennart Poettering wrote: Note that there are reports that LXC has issues with the fact that newer systemd enables shared mount propagation for all mounts by default (this should actually be beneficial for containers as this ensures that new mounts appear in

Re: [Lxc-users] connecting lxc-console is impossible after deny cgroup by default activated

2012-11-06 Thread Thierry
Le 05/11/2012 23:36, Serge Hallyn a écrit : Quoting Thierry (mys...@cynetek.com): Le 05/11/2012 22:25, Serge Hallyn a écrit : Quoting Thierry (mys...@cynetek.com): lxc-start 1352149909.205 DEBUGlxc_conf - trying to mount '/dev/vg1/debian-dev'-'/usr/lib/lxc/rootfs' with fstype '#

[Lxc-users] Fwd: disk quota inside container ?

2012-11-06 Thread Chris
hi ! i run a lxc container (ubuntu, xfs) on lvm partition and i want user quota inside container. but without success :( repquota -avug *** Report for user quotas on device /dev/mapper/pool-ispconfig Block grace time: 7days; Inode grace time: 7days Block limits

Re: [Lxc-users] newbie question: why all the lxc must be in /etc/lxc?

2012-11-06 Thread Ken Elkabany
On Tue, Nov 6, 2012 at 5:28 AM, fpemud fpe...@gmail.com wrote: sorry I don't know if it is already been asked. (where to seach?) lxc-create -n creates new lxc in /etc/lxc, it's ok. but lxc-start -n also needs the lxc in /etc/lxc, it's too restrictive. I want to freely put my lxc in any

[Lxc-users] Libvirt-bin in lxc

2012-11-06 Thread 宣铭艺
Hi I can't use libvirt-bin in lxc,who can tell me why and how to do it. I have mknod some devices such as kvm hpet this is the lxc config file http://paste.ubuntu.com/1338853/ this is the strace message.(strace virsh start cflinux) http://paste.ubuntu.com/1338862/ It report the message: error:

[Lxc-users] lxc-execute works from command line, but fails in Supervisor with failed to mount the console

2012-11-06 Thread Brent Tubbs
Hello lxc users! I'm working on an app deployment platform that uses Supervisor (http://supervisord.org/) to start/stop processes. I'd like to have apps run in lxc containers to limit their filesystem access (and in the future, other resource consumption). I've got a script to start an app

Re: [Lxc-users] lxc-execute works from command line, but fails in Supervisor with failed to mount the console

2012-11-06 Thread Brent Tubbs
Doh. I was using the lxc tools that came with my Ubuntu Lucid 'apt-get install lxc'. After sending my email I tried cloning the git repo from sourceforge, compiling from there, and now it just works. From: Brent Tubbs brent.tu...@yougov.commailto:brent.tu...@yougov.com Date: Wed, 7 Nov 2012