Re: [Lxc-users] list admin

2013-05-24 Thread Daniel Lezcano
On 05/24/2013 09:21 AM, Jäkel, Guido wrote: >> Ok, who wants to be co-administrator of the mailing list ? > Tamas and Mike > Ok, thanks. -- Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-bas

Re: [Lxc-users] list admin

2013-05-24 Thread Daniel Lezcano
On 05/24/2013 08:31 AM, Tamas Papp wrote: > On 05/24/2013 02:06 AM, Daniel Lezcano wrote: >> Yes, sure. >> >> Sorry, I have been more and more busy with other stuff and flooded by >> emails, so I did not followed the discussion closely. >> >> Can you

Re: [Lxc-users] list admin

2013-05-23 Thread Daniel Lezcano
On 05/23/2013 11:44 PM, Tamas Papp wrote: > On 05/23/2013 11:13 PM, Michael H. Warfield wrote: >> Last I knew, it was Daniel who created the list and most likely "owns" >> it. It was created at my suggestion to move "user" questions off the >> "devel" list ages and ages ago. Lately he's typically

Re: [Lxc-users] Horrors using Debian Wheezy

2013-05-11 Thread Daniel Lezcano
On 05/11/2013 04:41 AM, Mason Loring Bliss wrote: > Hi there! > > I'm trying to get LXC to work for me on Debian Wheezy/amd64 and I'm having a > Hellish time. I'm following the advice on wiki.debian.org and other places, > and I believe I'm creating my containers correctly, but when I launch a > co

Re: [Lxc-users] Need simple configuration for embedded ARM LXC

2013-04-20 Thread Daniel Lezcano
he bug (which is probably a signal SIGTTOU/IN received). Thanks -- Daniel > On Mon, Apr 15, 2013 at 1:08 PM, Daniel Lezcano > mailto:daniel.lezc...@free.fr>> wrote: > > On 04/15/2013 03:26 AM, Serge Hallyn wrote: > > Quoting Somnath Mitra (somnath.mi...@

Re: [Lxc-users] Need simple configuration for embedded ARM LXC

2013-04-15 Thread Daniel Lezcano
On 04/15/2013 03:26 AM, Serge Hallyn wrote: > Quoting Somnath Mitra (somnath.mi...@xockets.com): >> On Fri, Apr 12, 2013 at 6:53 AM, Serge Hallyn wrote: >> >>> Quoting Somnath Mitra (somnath.mi...@xockets.com): >>> >> > Since the container rootfs is shared with host I am confused why it >>> cannot

Re: [Lxc-users] [lxc-devel] [GIT] lxc branch, master, updated. 7f99e339363d9f005c9386f60a1d8c0953c85053

2012-11-04 Thread Daniel Lezcano
On 11/01/2012 09:41 PM, Michael H. Warfield wrote: > On Thu, 2012-11-01 at 21:20 +0100, Daniel Baumann wrote: >> On 11/01/2012 09:08 PM, Michael H. Warfield wrote: >>> I know, I KNOW this is an 11th hour request. Can we please get Serge's >>> autodev stuff into this release? Please? >> release ea

Re: [Lxc-users] [lxc-devel] [GIT] lxc branch, master, updated. 7f99e339363d9f005c9386f60a1d8c0953c85053

2012-10-31 Thread Daniel Lezcano
Thanks to everyone for fixing this. I am about to release the 0.8.0 version. I will wait a couple of days before adding a tag and release it in case there are some fixes to add. Please test. Thanks ! -- Daniel On 10/31/2012 04:45 PM, Daniel Lezcano wrote: > This is an automated email f

Re: [Lxc-users] [PATCH 1/1] dev_change_net_namespace: send a KOBJ_REMOVED/KOBJ_ADD

2012-10-15 Thread Daniel Lezcano
(ip link add new type veth) then network-interface jobs are > created. With this patch, behavior comes in line with a regular host. > > v2: also send KOBJ_ADD to new netns. There will then be a > _MOVE event from the device_rename() call, but that should > be innocuous. > > Signed

Re: [Lxc-users] lxc console and control-c

2012-07-23 Thread Daniel Lezcano
On 07/20/2012 07:14 PM, Stuart Yoder wrote: > On Fri, Jul 20, 2012 at 11:53 AM, Stuart Yoder wrote: >> After I start a container with lxc-start (no -d), ctrl-C doesn''t >> working for me in the container's console. >> >> In the documentation at http://lxc.teegra.net/ it says: >> >> The termina

Re: [Lxc-users] Alternative network protocols

2012-07-17 Thread Daniel Lezcano
On 07/17/2012 05:12 AM, Joe Stringer wrote: > On 17 July 2012 13:59, Stéphane Graber wrote: >> On 07/16/2012 09:24 PM, Joe Stringer wrote: >>> Hi there, >>> >>> I've come across an issue when trying to use SCTP with lxc, and I >>> wonder if anyone might have some insight into what's causing this.

Re: [Lxc-users] Alternative network protocols

2012-07-17 Thread Daniel Lezcano
On 07/17/2012 05:12 AM, Joe Stringer wrote: > On 17 July 2012 13:59, Stéphane Graber wrote: >> On 07/16/2012 09:24 PM, Joe Stringer wrote: >>> Hi there, >>> >>> I've come across an issue when trying to use SCTP with lxc, and I >>> wonder if anyone might have some insight into what's causing this.

Re: [Lxc-users] Problem with pthread_create SCHED_RR - Operation not permitted

2012-07-03 Thread Daniel Lezcano
On 07/03/2012 02:29 PM, Hans Feldt wrote: > Thanks for looking into it. > > It means some applications cannot run unmodified in a container then? Did you try by mounting the cgroup but without the 'cpu' subsystem ? -- Daniel > > /Hans > > On 07/02/12 19:08, Serge Hallyn wrote: >> This appears

Re: [Lxc-users] kernel.shmmax in LXC

2012-06-08 Thread Daniel Lezcano
On 06/07/2012 12:45 PM, Jan Den Ouden wrote: > Hi, > > About a week ago I posted exactly the same question on this list, but I > didn't get any responses. I have googled high and low for the answer to > this, but no result. It's not related to capabilities, because you can only > drop capabilities,

Re: [Lxc-users] SIOCGIFNAME

2012-05-30 Thread Daniel Lezcano
On 05/30/2012 09:35 AM, Papp Tamas wrote: > On 05/30/2012 04:28 AM, Daniel Lezcano wrote: >> >> On 05/29/2012 10:10 PM, Papp Tamas wrote: >>> On 05/29/2012 07:29 PM, Daniel Lezcano wrote: >>>> >>>> On 05/29/2012 03:48 PM, Papp Tamas wrote: >&

Re: [Lxc-users] SIOCGIFNAME

2012-05-29 Thread Daniel Lezcano
On 05/29/2012 10:10 PM, Papp Tamas wrote: > On 05/29/2012 07:29 PM, Daniel Lezcano wrote: >> >> On 05/29/2012 03:48 PM, Papp Tamas wrote: >>> hi All, >>> >>> >>> This doesn't work now: >>> >>> ioctl(3, SIOCGIFNAME, {ifr_ind

Re: [Lxc-users] SIOCGIFNAME

2012-05-29 Thread Daniel Lezcano
On 05/29/2012 03:48 PM, Papp Tamas wrote: > hi All, > > > This doesn't work now: > > ioctl(3, SIOCGIFNAME, {ifr_index=0, ifr_name=???}) = -1 ENODEV (No such > device) > > > Is there any way to make it work? Yep, the index are not virtualized. So ifr_index=0 is for the loopback in the init network

Re: [Lxc-users] [PATCH 4/9] pin a container's rootfs

2012-05-26 Thread Daniel Lezcano
On 04/26/2012 07:09 AM, Serge Hallyn wrote: > From: Serge Hallyn > > If /var/lib/lxc is a separate filesystem, and you start and stop only > a single container which has it's rootfs at /var/lib/lxc/c1/rootfs, > then /var/lib/lxc will be re-mounted readonly when the container, at > shutdown, does 'm

Re: [Lxc-users] [PATCH 9/9] lxc-destroy: wait until the container is stopped

2012-05-26 Thread Daniel Lezcano
On 04/26/2012 07:09 AM, Serge Hallyn wrote: > From: Serge Hallyn > > Author: Timothy Chen > Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/980902 > > Signed-off-by: Serge Hallyn > Cc: Timothy Chen > --- > src/lxc/lxc-destroy.in |1 + > 1 file changed, 1 insertion(+) > > diff

[Lxc-users] sched_setscheduler fails in a container (was: Re: Lxc-users Digest, Vol 29, Issue 7)

2012-05-16 Thread Daniel Lezcano
On 05/16/2012 08:58 AM, Jianbin Ma wrote: > In the container,the system call sched_scheduler can't work,I enable the > file capabilities.And the system call still can't work. What is your RLIMIT_RTPRIO value in the container ? Do you have CAP_SYS_NICE ? What policy are trying to set ? Thanks

Re: [Lxc-users] siproxd in LXC

2012-05-14 Thread Daniel Lezcano
On 05/14/2012 11:27 AM, Miroslav Lednicky wrote: > Hello, > > i am trying running siproxd in LXC (ubuntu 10.04 is LXC guest > and 11.10 is host). Siproxd not working and i see in syslog: > > rtpproxy_relay.c:150 ERROR:pthread_setschedparam failed: Operation not > permitted > > Where can be pr

Re: [Lxc-users] [lxc-devel] lxc-devel Mailing List for Patches

2012-05-01 Thread Daniel Lezcano
On 04/26/2012 03:58 PM, Ward, David - 0663 - MITLL wrote: > It's a bit difficult for me to follow patches when they are going to two > separate mailing lists. Would it be possible to limit patches to the > lxc-devel list, please? I think that is the intended place for them. Yes. Please, everyon

Re: [Lxc-users] container shutdown

2012-03-19 Thread Daniel Lezcano
On 03/19/2012 02:45 AM, Fajar A. Nugraha wrote: > On Mon, Mar 19, 2012 at 7:05 AM, Daniel Lezcano > wrote: >> On 03/19/2012 12:00 AM, Serge Hallyn wrote: >>> Hi, >>> >>> Thanks to Jäkel's and Fajar's great ideas, we can now cleanly shut down >

Re: [Lxc-users] container shutdown

2012-03-19 Thread Daniel Lezcano
On 03/19/2012 03:50 AM, Serge Hallyn wrote: > Quoting Daniel Lezcano (daniel.lezc...@free.fr): >> On 03/19/2012 12:00 AM, Serge Hallyn wrote: >>> Hi, >>> >>> Thanks to Jäkel's and Fajar's great ideas, we can now cleanly shut down >>> a contai

Re: [Lxc-users] container shutdown

2012-03-18 Thread Daniel Lezcano
On 03/19/2012 12:00 AM, Serge Hallyn wrote: > Hi, > > Thanks to Jäkel's and Fajar's great ideas, we can now cleanly shut down > a container by sending it SIGPWR. I'm attaching two ways to do that. > In-line is a patch which modifies lxc-stop to take optional -s and -t > args - -s for shutdown (mea

Re: [Lxc-users] [PATCH] Update manpages to reflect some updated options.

2012-03-18 Thread Daniel Lezcano
On 03/14/2012 03:39 AM, Serge Hallyn wrote: > (which reminds me a lxc-clone manpage still needs to be written) > > Signed-off-by: Serge Hallyn > --- Fixed duplicate /varlistentry below (line 158 in the file) and applied. Thanks -- Daniel [ ... ] > the template, you can run > + lxc-c

Re: [Lxc-users] [PATCH] ubuntu templates cleanups

2012-03-18 Thread Daniel Lezcano
On 03/12/2012 05:21 PM, Serge Hallyn wrote: > 1. fix inconsistent use of '--auth-key' (not --auth_key) which broke their > usage > 2. add --debug option to lxc-ubuntu (which does set -x to show what broke) > (idea from Idea from lifeless and benji) > 3. fix incorrect assumption about group

Re: [Lxc-users] [PATCH 1/1] do check for utmp checking at the right time

2012-03-18 Thread Daniel Lezcano
On 03/12/2012 04:52 PM, Serge Hallyn wrote: > We were doing the check for whether we need to watch utmp from a > thread cloned from that which will actually do the utmp watching. > As a result, the utmp file was always being watched, even if it > didn't need to be. > > Move the check to the parent

Re: [Lxc-users] limit number of processes

2012-03-05 Thread Daniel Lezcano
On 03/01/2012 06:49 PM, Ulli Horlacher wrote: > On Tue 2011-10-18 (14:54), Papp Tamas wrote: > >> Is it possible to limit the maximum number of processes per container? > I have the same problem. A user has killed the host (and therefore all > containers) with a simple shell command: :(){ :|:& };

Re: [Lxc-users] adding a default gateway inside a container as a non root user

2012-03-02 Thread Daniel Lezcano
On 03/02/2012 11:18 AM, Arun M wrote: > > >> With the 0.8.0 version, you will be able to setup the gateway directly >> from the configuration file. > > Cool. I wanted to try this so tested with the latest code from repository. > > However hit another issue now. > > $ lxc-execute -n alpha -f n1.conf

Re: [Lxc-users] adding a default gateway inside a container as a non root user

2012-03-02 Thread Daniel Lezcano
On 03/02/2012 11:18 AM, Arun M wrote: > > >> With the 0.8.0 version, you will be able to setup the gateway directly >> from the configuration file. > > Cool. I wanted to try this so tested with the latest code from repository. > > However hit another issue now. > > $ lxc-execute -n alpha -f n1.conf

Re: [Lxc-users] adding a default gateway inside a container as a non root user

2012-03-01 Thread Daniel Lezcano
On 03/01/2012 08:32 PM, Arun M wrote: > Hi, > > I am trying to add a default gateway inside a lxc container so that the > application can talk to outside network. > > I used lxc-setcap to set capabilities and started the container as a non-root > user. > > lxc-execute -n alpha -f a.conf -- /bin/

Re: [Lxc-users] limit number of processes

2012-03-01 Thread Daniel Lezcano
On 10/18/2011 02:54 PM, Papp Tamas wrote: > hi! > > Is it possible to limit the maximum number of processes per container? > Not yet but it is on the way. http://lkml.indiana.edu/hypermail/linux/kernel/1109.0/01455.html Hope the patchset will be merged soon in the kernel. -- Daniel

[Lxc-users] version 0.8.0 coming soon

2012-02-27 Thread Daniel Lezcano
Hi all, I will release a 0.8.0-rc1. I am looking for volunteer to test it :) Thanks -- Daniel -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers

Re: [Lxc-users] State of lxc-attach support in mainstream

2012-02-26 Thread Daniel Lezcano
On 02/24/2012 01:31 PM, Ivan Vilata i Balaguer wrote: > Hi all, this message is just to ask for the current state of lxc-attach > support entering into mainstream Linux source code. I've seen that > there are some patches[1] for 3.0 which don't apply cleanly to 3.1 and > newer, and Christian Seile

Re: [Lxc-users] Creating stand alone container

2012-02-15 Thread Daniel Lezcano
On 02/15/2012 11:51 AM, bruce bushby wrote: > Hi > > I've been following these two guides: > https://access.redhat.com/kb/docs/DOC-67682 > http://berrange.com/posts/2011/09/27/getting-started-with-lxc-using-libvirt/ > > and I finally have a container running (Happy Days) I wanted to ask > the list

Re: [Lxc-users] LXC and kernel 3.2..

2012-02-15 Thread Daniel Lezcano
On 02/13/2012 07:45 AM, Kristian Kirilov wrote: >> On 02/12/2012 09:24 PM, Kristian Kirilov wrote: >>> Hello, >>> >>> im looking for lxc patch to correct LXC issues with namespaces detecting >>> in 3... kernel. >>> I maked some tests with LXC lxc-0.7.5.tar.gz and kernel >>> linux-3.2.5.tar.bz2. Eve

Re: [Lxc-users] LXC and kernel 3.2..

2012-02-12 Thread Daniel Lezcano
On 02/12/2012 09:24 PM, Kristian Kirilov wrote: > Hello, > > im looking for lxc patch to correct LXC issues with namespaces detecting > in 3... kernel. > I maked some tests with LXC lxc-0.7.5.tar.gz and kernel > linux-3.2.5.tar.bz2. Everything is ok but namespaces checking in > lxc-checkconfig is s

Re: [Lxc-users] sparc64-unknown-linux-gnu not supported

2012-02-01 Thread Daniel Lezcano
On 01/31/2012 04:08 PM, Denny Schierz wrote: > hi, > > I try to get lxc compiling on a Sunfire V245, but configure fails: > > [...] > > checking for sys/signalfd.h... yes > checking whether gcc needs -traditional... no > checking for Linux in /lib/modules//build... not found > checking for Linux in

Re: [Lxc-users] lxc-execute failed: /dev/mqueue no such device

2012-01-12 Thread Daniel Lezcano
On 01/12/2012 04:56 AM, 陈竞 wrote: > Hi, i installed lxc in my gentoo os, and compile the kernel, but when i > test lxc, as : Is CONFIG_POSIX_MQUEUE=y ? > lxc-execute -n test /bin/sh > lxc-init: failed to mount /dev/mqueue : No such device > > apparently i have mqueue in /dev, i need help, thank

Re: [Lxc-users] Mount /dev/shm of the host inside a container

2012-01-10 Thread Daniel Lezcano
On 01/10/2012 01:39 AM, Fred Finkelstein wrote: > I finally found it with the help of the #lxcontainers irc channel. I have > to replace this in lxc.fstab: > /dev/shm /dev/shm bind 0 0 > with this: > /dev/shm /srv/shm none bind 0 0 > and I can access it. Why /srv/shm ? --

Re: [Lxc-users] lxc-create is output error

2012-01-03 Thread Daniel Lezcano
local/var --prefix=/usr/local and then create mkdir /usr/local/var/lib/lxc > Is this Bug? > > > On 2012/01/03, at 19:08, Daniel Lezcano wrote: > >> On 01/03/2012 04:34 AM, T.Nomura wrote: >>> Hi >>> >>> My name is Mr.Nomura. >>> >>>

Re: [Lxc-users] Differences between application and system container

2012-01-03 Thread Daniel Lezcano
On 12/30/2011 12:14 PM, Ulli Horlacher wrote: > On Mon 2011-12-26 (18:25), Wai-kit Sze wrote: > >> What are the difference between application containers and system >> containers? Both of them can start a command directly. > An application container starts one single program. > A system container s

Re: [Lxc-users] lxc-create is output error

2012-01-03 Thread Daniel Lezcano
On 01/03/2012 04:34 AM, T.Nomura wrote: > Hi > > My name is Mr.Nomura. > > I want install lxc "/usr/local/lxc". > So, I runed configure script below. > # ./configure --prefix=/usr/local/lxc&& make&& make install > > Next I run "lxc-create".But output below error. > configuration path '/lib/lx

Re: [Lxc-users] seeing a network pause when starting and stopping LXCs - how do I stop this?

2011-12-12 Thread Daniel Lezcano
029.html Yes, I was aware of that. I was just explaining why disabling setfd was useful. I have queued the patch to set an higher mac address. Thanks -- Daniel > Thanks, > Derek > > On 12/11/2011 02:21 PM, Daniel Lezcano wrote: >> On 12/08/2011 09:25 AM, Ulli Horlacher wrote: >

Re: [Lxc-users] seeing a network pause when starting and stopping LXCs - how do I stop this?

2011-12-11 Thread Daniel Lezcano
On 12/08/2011 09:25 AM, Ulli Horlacher wrote: > On Thu 2011-12-08 (07:39), Daniel Lezcano wrote: >> On 12/08/2011 12:38 AM, Joseph Heck wrote: >> >>> I've been seeing a pause in the whole networking stack when starting >>> and stopping LXC - it seems to

Re: [Lxc-users] seeing a network pause when starting and stopping LXCs - how do I stop this?

2011-12-07 Thread Daniel Lezcano
On 12/08/2011 12:38 AM, Joseph Heck wrote: > I've been seeing a pause in the whole networking stack when starting > and stopping LXC - it seems to be somewhat intermittent, but happens > reasonably consistently the first time I start up the LXC. > > I'm using ubuntu 11.10, which is using LXC 0.7.5

Re: [Lxc-users] Fedora / CentOS

2011-12-05 Thread Daniel Lezcano
On 12/05/2011 04:58 PM, István Király - LaKing wrote: > Hi folks. > > I wrote a guide how to get lxc running on CentOs host, with CentOS or Fedora > 14 guest. > http://forums.fedoraforum.org/showthread.php?t=272995 > > I could not get FC15/FC16 containers to work tho. I read somewhere it is > bec

Re: [Lxc-users] Linux Containers vs Solaris Zones

2011-11-15 Thread Daniel Lezcano
On 11/15/2011 10:14 AM, bruce bushby wrote: > Hello > > I'm hoping someone on the list could answer a couple of questions. I > believe Linux Containers are the perfect answer to some of the issues > I have at work but wanted to confirm some technical bits before > formally submitting any designs. I

Re: [Lxc-users] make error of lxc-0.7.5

2011-11-10 Thread Daniel Lezcano
On 11/10/2011 03:43 AM, 张勇 wrote: > Hi~: > I meet a error when i make lxc-0.7.5 on ubuntu 10.04. > The error info is : > Maybe the docbook tools are not available on your system. You can prevent the documentation to be generated by specifying the --disable-doc option for the configure script. >

Re: [Lxc-users] mknod after instance creation?

2011-11-04 Thread Daniel Lezcano
On 11/05/2011 12:06 AM, Dong-In David Kang wrote: > Hi, > > Is it possible to do "mknod" after creation of an LXC instance? > I need to do "mknod" not only at bootup time, but also at run-time. > This is needed when I want to dynamically add devices to LXC instance. > Is it possible? > If it is

Re: [Lxc-users] mknod inside a container

2011-11-04 Thread Daniel Lezcano
On 11/04/2011 03:34 PM, Gordon Henderson wrote: > > I have a container that's used to build a Linux image for an embedded > device - and as part of the build script, it creates /dev/ via a sequence > of mknod commands Which all fail )-: > > There are no cap.drop lines in the contianers config

Re: [Lxc-users] lxc-stop crashes the host

2011-10-25 Thread Daniel Lezcano
On 10/25/2011 03:09 PM, Serge E. Hallyn wrote: > Quoting Ulli Horlacher (frams...@rus.uni-stuttgart.de): >> On Mon 2011-10-24 (18:56), Ulli Horlacher wrote: >> >>> vms1 is an Ubuntu 10.04 based host system (4 * Xeon 64bit) with: >>> >>> root@vms1:/lxc# uname -a >>> Linux vms1 2.6.38-11-server #50~l

Re: [Lxc-users] [PATCH 1/1] Drop resolvconf from oneiric container package list

2011-10-24 Thread Daniel Lezcano
On 10/24/2011 07:09 PM, Serge E. Hallyn wrote: > It prevents containers from getting a good resolv.conf without doing > ifdown eth0; ifup eth0. > > (see pad.lv/880020) > > Signed-off-by: Serge Hallyn > --- Applied. Thanks. ---

Re: [Lxc-users] lxc-stop crashes the host

2011-10-24 Thread Daniel Lezcano
On 10/24/2011 09:53 PM, Joerg Gollnick wrote: > Am Montag, 24. Oktober 2011, 21:16:04 schrieb Daniel Lezcano: >> On 10/24/2011 08:59 PM, Daniel Lezcano wrote: >>> On 10/24/2011 07:46 PM, Ulli Horlacher wrote: >>>> On Mon 2011-10-24 (12:33), Serge E. Hallyn wr

Re: [Lxc-users] lxc-stop crashes the host

2011-10-24 Thread Daniel Lezcano
On 10/24/2011 08:59 PM, Daniel Lezcano wrote: > On 10/24/2011 07:46 PM, Ulli Horlacher wrote: >> On Mon 2011-10-24 (12:33), Serge E. Hallyn wrote: >> >>>> http://fex.rus.uni-stuttgart.de/tmp/vms1-crash.png >>>> >>>> It's a pity, but this co

Re: [Lxc-users] lxc-stop crashes the host

2011-10-24 Thread Daniel Lezcano
On 10/24/2011 08:40 PM, Jean-Philippe Menil wrote: > Le 24/10/2011 19:46, Ulli Horlacher a écrit : > >> 2011-10-24 19:34:40 [ 318.526208] br0: port 2(veth2WqDOb) entering >> forwarding state >> 2011-10-24 19:34:40 [ 318.675038] br0: port 2(veth2WqDOb) entering disabled >> state >> 2011-10-24 19

Re: [Lxc-users] lxc-stop crashes the host

2011-10-24 Thread Daniel Lezcano
On 10/24/2011 07:46 PM, Ulli Horlacher wrote: > On Mon 2011-10-24 (12:33), Serge E. Hallyn wrote: > >>> http://fex.rus.uni-stuttgart.de/tmp/vms1-crash.png >>> >>> It's a pity, but this console server (HP IP console) cannot log ASCII >>> based, it is GUI only. I can make only screenshots and cannot

Re: [Lxc-users] lxc-stop crashes the host

2011-10-24 Thread Daniel Lezcano
On 10/24/2011 07:46 PM, Ulli Horlacher wrote: > On Mon 2011-10-24 (12:33), Serge E. Hallyn wrote: > >>> http://fex.rus.uni-stuttgart.de/tmp/vms1-crash.png >>> >>> It's a pity, but this console server (HP IP console) cannot log ASCII >>> based, it is GUI only. I can make only screenshots and cannot

Re: [Lxc-users] [PATCH] Define $hostname before its first use

2011-10-24 Thread Daniel Lezcano
On 09/14/2011 10:27 PM, Serge E. Hallyn wrote: > Otherwise you get 'lxc.utsname =' in config, instead of the > actual hostname being filled in. > > https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/850205 > > Index: lxc/src/lxc/lxc-clone.in Hi Serge, I was not able to apply this patch, it fails

Re: [Lxc-users] [PATCH 1/1] lxc-clone: fix dhclient.conf send hostname command

2011-10-24 Thread Daniel Lezcano
On 09/15/2011 10:53 PM, Serge E. Hallyn wrote: > End the command with ';', which is needed, and put the hostname in > quotes (which doesn't really seem needed, but shown in man page). > > Signed-off-by: Serge Hallyn > --- Applied. --

Re: [Lxc-users] [PATCH 1/1] ubuntu template: allow containers to create tap devices

2011-10-24 Thread Daniel Lezcano
On 09/15/2011 03:30 PM, Serge E. Hallyn wrote: > Thought I had sent this before, but I don't find it anywhere. > > Signed-off-by: Serge Hallyn > --- Applied. -- The demand for IT networking professionals continues to grow

Re: [Lxc-users] [PATCH 1/1] ubuntu template: disallow cap_sys_module (by popular demand)

2011-10-24 Thread Daniel Lezcano
On 09/15/2011 03:21 PM, Serge E. Hallyn wrote: > This isn't particularly reassuring, and will be moot with user > namespaces, but as people are asking for it, turn off sys_module. > While we're at it, turn off mac_admin and mac_override. > > Signed-off-by: Serge Hallyn > --- Applied.

Re: [Lxc-users] [PATCH 2/2] Accurately detect whether a system supports clone_children

2011-10-24 Thread Daniel Lezcano
On 09/15/2011 03:12 PM, Serge E. Hallyn wrote: > If multiple cgroups are mounted under /sys/fs/cgroup, then the > original check ends up looking for /sys/fs/cgroup/cgroup.clone_children, > which does not exist because that is just a tmpfs. > > So make sure to check an actual cgroupfs. > > Signed-of

Re: [Lxc-users] [PATCH 1/2] Let sshd template work on ubuntu systems.

2011-10-24 Thread Daniel Lezcano
On 09/15/2011 03:11 PM, Serge E. Hallyn wrote: > /dev/shm is a symlink to /run/shm, so we need /run/shm > to exist in the container rootfs. Also, /dev/mqueue does > not exist on the host, and can't be created by the container. > But we don't really need it so ignore that. > > Signed-off-by: Serge

Re: [Lxc-users] [PATCH 1/1] lxc-ubuntu: stop early if a bad user is specified in -b option

2011-10-24 Thread Daniel Lezcano
On 10/20/2011 10:16 PM, Serge E. Hallyn wrote: > Otherwise we end up with a bad container fstab and a container > that won't boot. See > https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/879052 > > Signed-off-by: Serge Hallyn > --- Applied. --

Re: [Lxc-users] Live Migration of LXC

2011-10-24 Thread Daniel Lezcano
On 10/24/2011 02:07 PM, Ulli Horlacher wrote: > On Mon 2011-10-24 (12:03), Greg Kurz wrote: > >> C/R and live migration is a complicated matter for LXC containers. > I have assumed nothing else... > > >> No status for the moment... I guess people who really want migration >> should participate > No

Re: [Lxc-users] cannot start any more any container?! (partially solved)

2011-10-21 Thread Daniel Lezcano
On 10/21/2011 02:33 PM, Ulli Horlacher wrote: > On Thu 2011-10-20 (09:00), Papp Tamas wrote: > >> Well, I don't see anything like this. Actually I use 0.7.5. Try to upgrade. > After upgrading to lxc 0.7.5 the problem is still there: > I cannot start any container and there is no (log) output at all

Re: [Lxc-users] New LXC Creation Script: lxc-ubuntu-x

2011-10-09 Thread Daniel Lezcano
On 10/06/2011 08:45 PM, Serge Hallyn wrote: > Quoting Brian K. White (br...@aljex.com): >> Ideally, for the stated purpose, we need something not named ubuntu. > I almost didn't create the page for that reason, but then decided the > content can always get moved if/when someone gets a better domain

Re: [Lxc-users] skype in a lxc

2011-10-09 Thread Daniel Lezcano
On 10/05/2011 03:43 PM, Lyssa Rabies wrote: > Hello, > > i use different linux distributions and versions of distributions inside > linux containers, so my desktop environment is also running inside a > container. So i don't need to use full virtualisation - i have lxc and i'am > very happy with it

Re: [Lxc-users] [lxc-devel] please resend patches

2011-09-26 Thread Daniel Lezcano
On 09/21/2011 06:57 PM, John Drescher wrote: > On Wed, Sep 21, 2011 at 11:53 AM, Daniel Lezcano > wrote: >> On 09/21/2011 05:47 PM, Daniel Lezcano wrote: >>> Hi all, >>> >>> my laptop was stolen yesterday. My email backup history ends to 08/09/2011. >&

Re: [Lxc-users] [lxc-devel] please resend patches

2011-09-21 Thread Daniel Lezcano
On 09/21/2011 05:47 PM, Daniel Lezcano wrote: > Hi all, > > my laptop was stolen yesterday. My email backup history ends to 08/09/2011. For English people :) September 8th > Is it possible to resend the patches please ? > > Thanks !

[Lxc-users] please resend patches

2011-09-21 Thread Daniel Lezcano
Hi all, my laptop was stolen yesterday. My email backup history ends to 08/09/2011. Is it possible to resend the patches please ? Thanks ! -- Daniel -- All the data continuously generated in your IT infrastructure

Re: [Lxc-users] [PATCH] fix broken lxc-*.in scripts

2011-09-20 Thread Daniel Lezcano
On 09/15/2011 11:55 AM, Greg Kurz wrote: > Commit 92c7f6295518decd3989b2790d75551e7d9a broke the following scipts: > - lxc-setcap > - lxc-setuid > - lxc-create > > This patch adds the missing variables to be substitued by the configure > script. > > Cheers. > > Signed-off-by: Greg Kurz Applie

Re: [Lxc-users] Problem with lxc-attach on Linux v3.1.0

2011-09-08 Thread Daniel Lezcano
On 09/08/2011 07:12 PM, Nikhil Handigol wrote: > It is indeed the case: > > $ type lxc-attach > lxc-attach is /usr/local/bin/lxc-attach Ok. Did you specified the kernel source tree when invoking configure ? It is the --with-linuxdir= Make sure to remove src/lxc/setns.h file which is automatical

Re: [Lxc-users] Problem with lxc-attach on Linux v3.1.0

2011-09-08 Thread Daniel Lezcano
On 09/08/2011 06:48 PM, Nikhil Handigol wrote: > Just to be sure that wasn't the case, I tried running the executable > directly from the lxc source directory. I got the same error: > > $ cd src/lxc > $ ./lxc-execute -n foo -f /etc/mn/host.conf -- /bin/bash > root@mnhost:/home/nikhilh/lxc/src/lxc#

Re: [Lxc-users] Problem with lxc-attach on Linux v3.1.0

2011-09-08 Thread Daniel Lezcano
On 09/08/2011 06:30 PM, Nikhil Handigol wrote: > I just tried running lxc-attach with linux-2.6.38. I got the same error as > with linux-3.0 -- Function not implemented - failed to set namespace 'pid'. > > Here's the exact sequence of steps that I followed: > > Compiled linux-2.6.38.2 with the corr

Re: [Lxc-users] inexplicable effect when starting vnc4server (security hole?)

2011-09-08 Thread Daniel Lezcano
On 09/08/2011 02:12 PM, sfrazt wrote: > Daniel Lezcano schrieb am 8.09.11 13:56: >>> My question is now: Where does this filename came from? Is it >>> a security hole? >>> >> Is it possible that's coming from an environment variable ? > You are absolut

Re: [Lxc-users] inexplicable effect when starting vnc4server (security hole?)

2011-09-08 Thread Daniel Lezcano
On 09/07/2011 10:06 AM, sfrazt wrote: > hi, > > i run lxc under debian sid with lxc version 0.7.5.1. > I run a debian like system in lxc container and vnc4server inside. > Therefor i > have created a user. > > The effect is that. If i start vnc4user manually as user with >

Re: [Lxc-users] Problem with lxc-attach on Linux v3.1.0

2011-09-07 Thread Daniel Lezcano
On 09/07/2011 07:49 PM, Goran Cetusic wrote: > Thank you, Daniel. If lxc-attach enters the mainline kernels it will, with > the LANA netgraph implementation, become a powerful tool for network > simulation. The only component inside the kernel that is still missing are > union mounts. Yes, the ker

Re: [Lxc-users] Problem with lxc-attach on Linux v3.1.0

2011-09-07 Thread Daniel Lezcano
On 09/07/2011 11:33 AM, Greg Kurz wrote: > On Wed, 2011-09-07 at 10:38 +0200, Daniel Lezcano wrote: >> On 09/07/2011 02:17 AM, Nikhil Handigol wrote: >>> Hi, >>> >>> I have been facing problems getting lxc (more specifically, lxc-attach) to >>> work

Re: [Lxc-users] Problem with lxc-attach on Linux v3.1.0

2011-09-07 Thread Daniel Lezcano
On 09/07/2011 02:17 AM, Nikhil Handigol wrote: > Hi, > > I have been facing problems getting lxc (more specifically, lxc-attach) to > work on Linux v3.1.0-rc4. When I run lxc-attach, I get the following error: > $ lxc-attach -n foo -- /bin/bash > lxc-attach: No such file or directory - failed to op

Re: [Lxc-users] [PATCH] remove the check for container path as it's done in lxc-create

2011-09-01 Thread Daniel Lezcano
On 09/01/2011 02:00 PM, rha...@informatiq.org wrote: > From: InformatiQ > > > Signed-off-by: InformatiQ > --- Applied. -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solutio

Re: [Lxc-users] [PATCH 2/2] lxc-fedora.in

2011-08-30 Thread Daniel Lezcano
On 08/28/2011 01:00 PM, Ramez Hanna wrote: > * if not running on fedora host amd -R is not set, use fedora 14 as default > * trap SIGHUP SIGINT SIGTERM, and cleanup before exiting > Applied. -- Special Offer -- Download Ar

Re: [Lxc-users] [PATCH 0/3] several mods to lxc-clone.in

2011-08-30 Thread Daniel Lezcano
On 08/30/2011 05:36 PM, Serge Hallyn wrote: > Thanks. No objections to the patchset. (Other than, better to simply > remove the code lines which you commented out - but no need for a new > set for that). > > I haven't tested it, but it looks correct. > > Acked-by: Serge Hallyn Applied. ---

Re: [Lxc-users] Subject: [PATCH 1/2] fix for missing EOF and fstab contents

2011-08-30 Thread Daniel Lezcano
On 08/28/2011 12:59 PM, Ramez Hanna wrote: > templates/lxc-fedora.in | 10 +- > 1 files changed, 5 insertions(+), 5 deletions(-) Applied. Thanks. Ramez, I had to fix the diff file, please look at git send-email ... :) ---

Re: [Lxc-users] how to use cpuset.shares?

2011-08-25 Thread Daniel Lezcano
On 08/24/2011 04:06 PM, 陈竞 wrote: > i have a computer with 2 cores cpu. I want to create a container with 0.5 > cpu. I found that cpuset.shares means how many time cpu time it get, > but i don't know whether cpuset.shares point to one cpu or all cpu? > if it points to one cpu, is the following con

Re: [Lxc-users] How to rotate logs and console output ?

2011-08-19 Thread Daniel Lezcano
On 08/19/2011 12:37 PM, Guillaume ZITTA wrote: > Hello, > > lxc-start can handle log output and console output, cool. > But one day or another, we'll have to rotate them. > > Is there a know solution ? > Btw, is there a (easy) way to log into syslog? Did you try with -o /dev/kmsg ? --

Re: [Lxc-users] Many containers and too many open files

2011-08-15 Thread Daniel Lezcano
On 08/15/2011 10:05 PM, Gary Ballantyne wrote: > On 16/08/11 06:52, Andre Nathan wrote: >> Hi Gary >> >> On Tue, 2011-08-16 at 06:38 +1200, Gary Ballantyne wrote: >>> Unfortunately, I am still getting the same errors with a little over 40 >>> containers. >> I also had this problem. It was solved af

Re: [Lxc-users] Archlinux 3.0 Kernel update breaks LXC

2011-08-15 Thread Daniel Lezcano
On 08/13/2011 01:54 PM, John wrote: > I've just replaced my "lxc" package with "lxc-git" and it's working > again. Many thanks. > (my installed "lxc" package was probably one version stale also, which > was most likely the problem) > > I guess there's been a change in the kernel. before seeing yo

Re: [Lxc-users] memory limit

2011-08-15 Thread Daniel Lezcano
On 08/12/2011 11:51 PM, Papp Tamas wrote: > hi! > > I'm asking you about limiting memory. > > This is the test config: > lxc.cgroup.memory.limit_in_bytes = 16M > lxc.cgroup.memory.memsw.limit_in_bytes = 1G > lxc.cgroup.cpuset.cpus = 0-1 > lxc.cgroup.cpu.shares = 1024 > > I run apt-get upgrade and a

Re: [Lxc-users] handle memory limits

2011-08-15 Thread Daniel Lezcano
On 08/12/2011 11:00 PM, sfrazt wrote: > Hi, > > i want to to have a application container that acts with memory limits > as there is simple no more memory. Means: if it reaches the limit the > next question for more memory should simple be denied. > > The default behaviour is to kill the applicatio

Re: [Lxc-users] [NFS] nfs server

2011-08-12 Thread Daniel Lezcano
On 08/12/2011 08:57 AM, zorg wrote: [ ... ] >> P.S. I believe the fies to make cifs and p9 work already went in, and >> FUSE already did, but it's been a while and I'll have to retest. (I >> know I got 'em all to work, I _think_ all changes necessary to do so >> went upstream.) If you're not t

Re: [Lxc-users] [MySQL] Weird performances problem between containers on a same host

2011-08-11 Thread Daniel Lezcano
floading capabilities of the interface before creating the container. Anyway, it seems you hit this bug: commit 79b569f0ec53a14c4d71e79d93a8676d9a0fda6d Author: Daniel Lezcano Date: Wed Mar 30 02:42:17 2011 -0700 netdev: fix mtu check when TSO is enabled In case the device where is co

Re: [Lxc-users] lxc and libvirt management tools

2011-08-10 Thread Daniel Lezcano
On 08/10/2011 06:56 PM, Remi Verchere wrote: >>> So, how can I migrate a container configuration managed by lxc tools >>> to libvirt ? Is there any tools or how-to? >> No. That could be very nice if we write a driver for libvirt for the lxc >> tools. >> If someone is willing to do that, that would

Re: [Lxc-users] [MySQL] Weird performances problem between containers on a same host

2011-08-10 Thread Daniel Lezcano
On 08/10/2011 05:54 PM, Daniel Lezcano wrote: > On 08/10/2011 04:51 PM, Mauras Olivier wrote: >> Hello, >> >> I have several containers running on a host - ~10 >> One of them is running a MySQL database. Several of the others are running >> php code under apache t

Re: [Lxc-users] [MySQL] Weird performances problem between containers on a same host

2011-08-10 Thread Daniel Lezcano
On 08/10/2011 05:54 PM, Daniel Lezcano wrote: [ ... ] > Can you check with tcpdump if there are problems with the patch > checksums ? gah ! s/patch/packet -- uberSVN's rich system and user administration c

Re: [Lxc-users] [MySQL] Weird performances problem between containers on a same host

2011-08-10 Thread Daniel Lezcano
On 08/10/2011 04:51 PM, Mauras Olivier wrote: > Hello, > > I have several containers running on a host - ~10 > One of them is running a MySQL database. Several of the others are running > php code under apache that fetch datas from the database. > > Host is using eth0, while my containers are on

Re: [Lxc-users] lxc and libvirt management tools

2011-08-10 Thread Daniel Lezcano
On 08/10/2011 12:02 PM, Remi Verchere wrote: > Hello, > > I'm using 2 debian LXC containers, and it works fine. I use default > cgroups configuration, and I manage containers using the lxc-* tools. > > I want to manage them using some pretty frontend, such as Archipel > (http://archipelproject.org/

Re: [Lxc-users] [PATCH 1/2] working fedora template

2011-08-10 Thread Daniel Lezcano
On 08/10/2011 09:21 AM, Ramez Hanna wrote: > On Tue, Aug 9, 2011 at 5:16 PM, Daniel Lezcano wrote: >> On 08/08/2011 10:54 AM, Ramez Hanna wrote: >>> >From c117fc7051971a9166cf5ab1f85cb6331b91a78c Mon Sep 17 00:00:00 2001 >>> From: InformatiQ >>> Date: Wed,

  1   2   3   4   5   6   7   >