Re: [lxc-devel] [CRIU] LXC live migrate

2013-11-27 Thread Daniel Lezcano
On 11/27/2013 09:54 AM, Pavel Emelyanov wrote: On 11/27/2013 06:19 AM, Qiang Huang wrote: On 2013/11/27 0:19, Marian Marinov wrote: On my test setup it works for processes like apache, dovecot and mysql. However it does not work with containers: root@s321:~# criu dump -D deb1 -t 19332

[lxc-devel] [GIT] lxc tag, lxc-1.0.0.alpha1, created. 4213373fe5bb5d03d3e0a212a0ef9784b644f162

2013-09-10 Thread Daniel Lezcano
- commit 4213373fe5bb5d03d3e0a212a0ef9784b644f162 Author: Daniel Lezcano daniel.lezc...@free.fr Date: Tue Sep 10 23:55:26 2013 +0200 change version to 1.0.0.alpha1 in configure.ac Signed-off-by: Daniel Lezcano daniel.lezc...@free.fr

Re: [lxc-devel] [PATCH] Use container specific domain socket name

2013-04-15 Thread Daniel Lezcano
On 04/15/2013 07:53 AM, S.Çağlar Onur wrote: Hi Daniel, On Sun, Apr 14, 2013 at 4:42 PM, Daniel Lezcano daniel.lezc...@free.fr mailto:daniel.lezc...@free.fr wrote: On 04/14/2013 09:56 PM, S.Çağlar Onur wrote: Hi all, I had some free time today so I tried to implement

Re: [lxc-devel] [PATCH] Use container specific domain socket name

2013-04-14 Thread Daniel Lezcano
(running an OS instance). Assuming an user, which is not root, can't build an IP packet, we can rely on the IP identification number to detect fake packets, no ? On Fri, Apr 12, 2013 at 5:31 PM, Daniel Lezcano daniel.lezc...@free.fr mailto:daniel.lezc...@free.fr wrote: On 04/12/2013 06:55 PM

Re: [lxc-devel] [PATCH] Use container specific domain socket name

2013-04-12 Thread Daniel Lezcano
awhile because I am very busy for the moment. Regards -- Daniel On Fri, Apr 12, 2013 at 10:02 AM, Serge Hallyn serge.hal...@ubuntu.com mailto:serge.hal...@ubuntu.com wrote: Quoting Daniel Lezcano (daniel.lezc...@free.fr mailto:daniel.lezc...@free.fr): Sorry for jumping so late

Re: [lxc-devel] Use container specific domain socket name

2013-04-11 Thread Daniel Lezcano
On 04/11/2013 09:53 AM, Stéphane Graber wrote: On 04/11/2013 09:18 AM, Jäkel, Guido wrote: I also think that LXC should have as less dependencies as possible to ease the support for different plattforms has more weight than don't invent things twice. quoting Daniel Lezcano: I think

Re: [lxc-devel] [PATCH] Use container specific domain socket name

2013-04-10 Thread Daniel Lezcano
On 04/10/2013 09:42 PM, Stéphane Graber wrote: On 04/10/2013 08:15 PM, Serge Hallyn wrote: Quoting Christian Seiler (christ...@iwakd.de): Hi there, Let's say I do sudo lxc-monitor -n r1 -n r2 and now do sudo lxc-start -n r1 How do we know to send the 'started' event to the

[lxc-devel] [GIT] lxc branch, master, updated. e9831f83532184caa119f830eee54728084444ba

2013-04-06 Thread Daniel Lezcano
; so we list those revisions in full, below. - Log - commit e9831f83532184caa119f830eee5472808ba Author: Daniel Lezcano daniel.lezc...@free.fr Date: Fri Apr 5 11:47:48 2013 +0200 lxc-0.9.0 Signed-off-by: Daniel

[lxc-devel] [GIT] lxc tag, lxc-0.9.0.rc1, created. 72280e1cd55e0fe3971f6fe2daa7b3e0cece56a1

2013-03-19 Thread Daniel Lezcano
- commit 72280e1cd55e0fe3971f6fe2daa7b3e0cece56a1 Author: Daniel Lezcano daniel.lezc...@free.fr Date: Tue Mar 19 11:20:16 2013 +0100 lxc-0.9.0.rc1 Signed-off-by: Daniel Lezcano daniel.lezc...@free.fr

Re: [lxc-devel] LXC 0.9~alpha3 pull request

2013-03-19 Thread Daniel Lezcano
On 02/12/2013 01:50 AM, Stéphane Graber wrote: Hi Daniel, You'll find the 0.9.alpha3 pull request below. Based on what you did last time, the following should do the trick: - Review the pull request - Use git pull --edit --no-ff --stat git://github.com/lxc/lxc.git, that should do a

Re: [lxc-devel] Strange log Message

2013-02-22 Thread Daniel Lezcano
On 02/22/2013 09:00 AM, Ducos Laurent wrote: Le 18/02/2013 09:44, Ducos Laurent a écrit : Hello I found this message many times on my server since I activated lxc 8425 Time(s): unregister_netdevice: waiting for lo to become free. Usage count = 1 Host bridge: Intel Corporation Xeon E3-1200

Re: [lxc-devel] [PATCH] Link against pthread when not on bionic.

2013-02-19 Thread Daniel Lezcano
On 02/19/2013 04:28 PM, Dwight Engen wrote: On Tue, 19 Feb 2013 10:02:37 -0500 Stéphane Graber stgra...@ubuntu.com wrote: On 02/19/2013 09:19 AM, Serge Hallyn wrote: Quoting Natanael Copa (nc...@alpinelinux.org): On Mon, 18 Feb 2013 21:40:42 +0100 Daniel Lezcano daniel.lezc...@free.fr wrote

Re: [lxc-devel] [PATCH] Link against pthread when not on bionic.

2013-02-18 Thread Daniel Lezcano
On 02/18/2013 06:23 PM, Stéphane Graber wrote: dpkg spotted that we're not explicitly linking against pthread even though we use some of its symbols (sem_*). uh ? wait. We shouldn't link against the lib pthread. I don't think sem_* is a symbol coming from the pthread library. Could you give

Re: [lxc-devel] [PATCH] Link against pthread when not on bionic.

2013-02-18 Thread Daniel Lezcano
On 02/18/2013 09:46 PM, Stéphane Graber wrote: On 02/18/2013 03:40 PM, Daniel Lezcano wrote: On 02/18/2013 06:23 PM, Stéphane Graber wrote: dpkg spotted that we're not explicitly linking against pthread even though we use some of its symbols (sem_*). uh ? wait. We shouldn't link against

[lxc-devel] [GIT] lxc branch, master, updated. 56655134e462ceaf86b51838e4e825c2f3964922

2012-12-14 Thread Daniel Lezcano
, below. - Log - commit 56655134e462ceaf86b51838e4e825c2f3964922 Author: Daniel Lezcano daniel.lezc...@free.fr Date: Fri Dec 14 09:42:55 2012 +0100 Version 0.9.0.alpha2 commit 2a061f55f9496d2c5d315f99fb0c7805fc83f064 Merge: d984bb4

Re: [lxc-devel] [GIT] lxc tag, lxc-0.9.0.alpha2, created. 56655134e462ceaf86b51838e4e825c2f3964922

2012-12-14 Thread Daniel Lezcano
On 12/14/2012 02:30 PM, Stéphane Graber wrote: I wasn't expecting another pull from staging until early February and Crap ! I misunderstood your email. Shall I reset the tree to alpha1 (I am not really in favor of that) ? Or could we let this as it is ?

[lxc-devel] [GIT] lxc tag, lxc-0.9.0.alpha1, created. d984bb4e751121f1a7c0029ee7df4acf62f2eea4

2012-12-13 Thread Daniel Lezcano
- commit d984bb4e751121f1a7c0029ee7df4acf62f2eea4 Author: Daniel Lezcano daniel.lezc...@free.fr Date: Thu Dec 13 21:51:03 2012 +0100 Version 0.9.0.alpha1 Signed-off-by: Daniel Lezcano dlezc...@fr.ibm.com

Re: [lxc-devel] LXC 0.9.alpha1 pull request

2012-12-11 Thread Daniel Lezcano
On 12/10/2012 11:36 PM, Stéphane Graber wrote: Hi Daniel, You'll find the 0.9.alpha1 pull request below. Based on what you had to do last time in Copenhagen, I believe the following actions are to be done on your side: - Properly tag 0.8, currently we only have a commit but no matching

[lxc-devel] [GIT] lxc tag, lxc-0.8.0, created. 4aa7ac35696b87867b1e85410a80527696ff4d64

2012-12-11 Thread Daniel Lezcano
- commit 4aa7ac35696b87867b1e85410a80527696ff4d64 Author: Daniel Lezcano daniel.lezc...@free.fr Date: Sun Nov 11 03:34:22 2012 +0100 Version 0.8.0 Signed-off-by: Daniel Lezcano dlezc...@fr.ibm.com

Re: [lxc-devel] LXC as an alternative to linux-vserver

2012-11-10 Thread Daniel Lezcano
On 11/05/2012 02:43 PM, Serge Hallyn wrote: Quoting Daniel Lezcano (daniel.lezc...@free.fr): The patches are for these are a out-dated but available at git.kernel.org and in the download section of lxc.sourceforge.net. Newer versions are at http://git.kernel.org/?p=linux/kernel/git/ebiederm

[lxc-devel] [GIT] lxc branch, master, updated. 4aa7ac35696b87867b1e85410a80527696ff4d64

2012-11-10 Thread Daniel Lezcano
- commit 4aa7ac35696b87867b1e85410a80527696ff4d64 Author: Daniel Lezcano daniel.lezc...@free.fr Date: Sun Nov 11 03:34:22 2012 +0100 Version 0.8.0 Signed-off-by: Daniel Lezcano dlezc...@fr.ibm.com commit aa69e175ff64267b76f4432e660d64771d89eed3 Author: Daniel Lezcano

[lxc-devel] [GIT] lxc branch, master, updated. 7f99e339363d9f005c9386f60a1d8c0953c85053

2012-10-31 Thread Daniel Lezcano
have not appeared on any other notification email; so we list those revisions in full, below. - Log - commit 7f99e339363d9f005c9386f60a1d8c0953c85053 Merge: 60a742e 773fb9c Author: Daniel Lezcano daniel.lezc...@free.fr Date: Wed Oct

[lxc-devel] [GIT] lxc branch, master, updated. 5480b13b1c0b8b653ba4d5aa4249d93f76d79bf5

2012-10-31 Thread Daniel Lezcano
above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - commit 5480b13b1c0b8b653ba4d5aa4249d93f76d79bf5 Author: Daniel Lezcano daniel.lezc...@free.fr Date

Re: [lxc-devel] [PATCH] fix make rpm

2012-10-31 Thread Daniel Lezcano
On 10/04/2012 06:28 PM, Dwight Engen wrote: RPM doesn't like - in the version number and gives: error: line 24: Illegal char '-' in: Version: 0.8.0-rc2 Other packages (bind-utils for example) have used . instead of - as a seperator. Signed-off-by: Dwight Engen dwight.en...@oracle.com ---

Re: [lxc-devel] [PATCH] display warning when yum missing in fedora template

2012-10-31 Thread Daniel Lezcano
On 10/04/2012 07:12 PM, Dwight Engen wrote: This early exit is preventing the warning message that follows it from being shown. Signed-off-by: Dwight Engen dwight.en...@oracle.com --- Applied. -- Everyone hates slow

Re: [lxc-devel] [PATCH] Add %{dist} tag to differentiate RPM distributions and releases

2012-10-31 Thread Daniel Lezcano
On 10/25/2012 07:06 PM, Dwight Engen wrote: Note that an additional Release field is not necessary for the devel package as it will follow the primary Release field. For more information on the dist tag, see http://fedoraproject.org/wiki/Packaging:DistTag Signed-off-by: Dwight Engen

Re: [lxc-devel] [PATCH] Reinstate README file in rootfs directory

2012-10-31 Thread Daniel Lezcano
On 10/25/2012 07:46 PM, Dwight Engen wrote: Change 5fd8314f removed the README file explaining why the rootfs directory has to exist. Doing so broke the build on Fedora 17 since this directory will not be created by make install and thus the spec file cannot find it. Signed-off-by: Dwight

Re: [lxc-devel] [PATCH] Remove unneeded ksrc spec file macro

2012-10-31 Thread Daniel Lezcano
On 10/25/2012 09:42 PM, Dwight Engen wrote: Change 910bb4fa obviated the need for the --with-linuxdir configure option which means that the ksrc rpm macro no longer makes sense either. Signed-off-by: Dwight Engen dwight.en...@oracle.com --- Applied. Thanks !

Re: [lxc-devel] [PATCH] Fix lxc-ps -- argument processing

2012-10-31 Thread Daniel Lezcano
On 10/25/2012 10:45 PM, Dwight Engen wrote: From 7531edbca5872537e9cac59d3d51a9f69d93ec2f Mon Sep 17 00:00:00 2001 From: Dwight Engen dwight.en...@oracle.com Date: Thu, 25 Oct 2012 16:21:53 -0400 Subject: [PATCH] Fix lxc-ps -- argument processing lxc-ps is supposed to pass arguments after

Re: [lxc-devel] [PATCH] Fix lxc-netstat -- argument processing

2012-10-31 Thread Daniel Lezcano
On 10/25/2012 11:25 PM, Dwight Engen wrote: Commit 21e487f2 introduced the use of getopt, but getopt will fail when it sees arguments meant for netstat that are not in [short|long]options. There should not be any ambiguity about arguments with the same letter: those to the left of the -- are

Re: [lxc-devel] Please give a clearer error message when the interface name is too long

2012-10-31 Thread Daniel Lezcano
On 10/28/2012 12:29 PM, tpo2 wrote: Currently when configuring a too long interface name with lxc.network.veth.pair lxc will say: lxc_confile - invalid interface name: veth_haproxy_br0 leaving the user add odds what possibly could be wrong with that name. Please give the user a clearer

Re: [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 from

Re: [lxc-devel] [PATCH] Add mechanism for container to notify host about end of boot

2012-09-16 Thread Daniel Lezcano
On 09/13/2012 05:22 PM, Christian Seiler wrote: This patch adds a simple notification system that allows the container to notify the host (in particular, the lxc-start process) that the boot process has been completed successfully. It also adds an additional status BOOTING that lxc-info may

Re: [lxc-devel] lxc0.8rc2

2012-07-10 Thread Daniel Lezcano
On 07/10/2012 02:37 PM, William Dauchy wrote: On Wed, May 2, 2012 at 6:21 PM, William Dauchy wdau...@gmail.com wrote: I saw that lxc-0.8.0-rc2 has been tagged 6 weeks ago (http://lxc.git.sourceforge.net/git/gitweb.cgi?p=lxc/lxc;a=summary) I was wondering why there was no package available in

Re: [lxc-devel] github staging tree updated

2012-07-01 Thread Daniel Lezcano
On 06/28/2012 08:16 PM, Serge Hallyn wrote: Hi Daniel, I've refreshed github.com/hallyn/lxc from your upstream tree, gone back through our current ubuntu lxc package, and pushed all the patches from debian and ubuntu which seemed appropriate. The result builds and passes my containers tests

Re: [lxc-devel] [PATCH v2 1/2] Add option to lxc-attach to select specific namespaces

2012-05-22 Thread Daniel Lezcano
On 05/22/2012 05:58 PM, Christian Seiler wrote: Hi Serge, What about if we update the command interface to add an additional command along the lines of LXC_COMMAND_GET_NSFLAGS or similar, which returns the bitmask of CLONE_* used for starting the container? Then we would have the logic:

Re: [lxc-devel] [PATCH 1/3] build: use libtool for linking the library, and link lxc-init statically.

2012-05-10 Thread Daniel Lezcano
On 03/24/2012 04:22 AM, Diego Elio Pettenò wrote: The shared object versioning on the library (soname) was completely wrong, as the ABI doesn't seem to be guaranteed between one version and the other, so proposing all of them as .so.0 is very wrong. Furthermore you generally want lxc-init

[lxc-devel] [GIT] lxc branch, master, updated. 00ad19d4dba5c05401125d4217dc8f4e7fd9403a

2012-05-03 Thread Daniel Lezcano
-setcap/lxc-setuid: add autoconf expansion for $libexecdir Support new default location for LXCINITDIR. Signed-off-by: David Ward david.w...@ll.mit.edu Signed-off-by: Daniel Lezcano dlezc...@fr.ibm.com commit 2775bb4c5a13d80dbbe57adddb1b302267ccafd5 Author: David Ward david.w

Re: [lxc-devel] [PATCHv3 05/14] cgroup: additional fix for deprecated ns subsystem

2012-05-02 Thread Daniel Lezcano
On 05/02/2012 06:43 PM, Ward, David - 0663 - MITLL wrote: On 21/03/12 19:28, Ward, David - 0663 - MITLL wrote: When a hierarchy contains the 'ns' subsystem, do not append '/lxc' to the parent cgroup. Update surrounding comments for consistency. Signed-off-by: David Warddavid.w...@ll.mit.edu

Re: [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, everyone,

Re: [lxc-devel] PATCH: fixes for openSUSE template

2012-04-23 Thread Daniel Lezcano
On 04/19/2012 07:58 PM, Frederic Crozat wrote: Le jeudi 19 avril 2012 à 19:39 +0200, Frederic Crozat a écrit : Le jeudi 19 avril 2012 à 19:23 +0200, Frederic Crozat a écrit : Le jeudi 19 avril 2012 à 16:09 +0200, Frederic Crozat a écrit : Hi, I'm attaching a patch which contains various

Re: [lxc-devel] [PATCHv3 00/14] Assorted fixes against lxc 0.8.0-rc2

2012-03-22 Thread Daniel Lezcano
On 03/22/2012 12:28 AM, David Ward wrote: v3: Rebase onto 0.8.0-rc2; add cgroup fixes to handle ns subsystem; fix terminology in lxc-cgroup v2: Add changes to scripts (including new '--active' flag for lxc-ls) The following patches address a number of different issues I discovered while

[lxc-devel] [GIT] lxc branch, master, updated. ed55bf5203aca88809d979b289d6b2280a18e79c

2012-03-20 Thread Daniel Lezcano
other notification email; so we list those revisions in full, below. - Log - commit ed55bf5203aca88809d979b289d6b2280a18e79c Author: Daniel Lezcano daniel.lezc...@free.fr Date: Tue Mar 20 23:27:47 2012 +0100 lxc-0.8.0-rc2 commit

[lxc-devel] [GIT] lxc branch, master, updated. f9d0d2cbbf401ffb74c251e75581174d91a02cfc

2012-03-05 Thread Daniel Lezcano
Signed-off-by: Daniel Lezcano dlezc...@fr.ibm.com --- Summary of changes: src/lxc/cgroup.c| 60 -- src/lxc/lxc-ls.in |6 - templates/lxc-fedora.in | 35

[lxc-devel] [GIT] lxc tag, lxc-0.8.0-rc1, created. 53af598ef3a589cb5bdf118887ea018f21d1c845

2012-03-01 Thread Daniel Lezcano
- commit 53af598ef3a589cb5bdf118887ea018f21d1c845 Author: Daniel Lezcano daniel.lezc...@free.fr Date: Fri Mar 2 00:03:18 2012 +0100 lxc-0.8.0-rc1 Signed-off-by: Daniel Lezcano daniel.lezc...@free.fr

[lxc-devel] [GIT] lxc branch, master, updated. ce6ce9d662b4ee8c0a10088867826a6725e06f70

2012-02-25 Thread Daniel Lezcano
+0100 Subject: [PATCH] Replace pkglib_PROGRAMS with pkglibexec_PROGRAMS Without this change, autogen.sh fails with automake 1.11.3 Signed-off-by: Daniel Lezcano dlezc...@fr.ibm.com commit 49ee6cdcbf79d8b6fa617479ec8ab753ccca923d Author: Christian Seiler christ...@iwakd.de Date

[lxc-devel] [GIT] lxc branch, master, updated. c75083d7f36ff16ee22b3089b3deacec6a2b3cb9

2012-02-25 Thread Daniel Lezcano
MIPS to the list. Signed-off-by: Kevin Cernekee cerne...@gmail.com Signed-off-by: Daniel Lezcano dlezc...@fr.ibm.com --- Summary of changes: config/linux.m4 |1 + 1 files changed, 1 insertions(+), 0 deletions

Re: [lxc-devel] [PATCH v2] lxc-attach: Consider cgroups/personality/capabilities of container

2012-02-17 Thread Daniel Lezcano
On 02/17/2012 01:53 PM, Christian Seiler wrote: Hi there, This is the new version of my patch that implements the features discussed in the previous thread. - The current status of the container is now read from /proc/init_pid/*, where init_pid is the pid of the container's init

Re: [lxc-devel] [PATCH] lxc-attach: Consider cgroup, personality and capabilities when attaching processes to a container

2012-02-06 Thread Daniel Lezcano
On 02/06/2012 12:20 AM, Christian Seiler wrote: Hi Daniel, thanks for your patches and your analysis. IMO, we have to take into account the process we want to attach could be an admin task and this one may want to have the full permissions within the container. Also that could be an

Re: [lxc-devel] can LXC works with ip alias?

2012-02-05 Thread Daniel Lezcano
On 01/30/2012 03:29 AM, MaoXiaoyun wrote: Hi: Recently we are planning to set up a cluster by using LXC. But one problem we facing is it would be to much MAC address. Here is the detail. We plan 1000 lXC in one physical linux server, so there will be 1000 MAC address, suppose

Re: [lxc-devel] [PATCH] Improve capability handling in LXC

2012-02-05 Thread Daniel Lezcano
On 02/01/2012 05:12 PM, Christian Seiler wrote: Hi, I've attached patches that improve capability handling in LXC. I stumbled upon the issue that I wanted to deactivate dmesg from inside containers with a fairly recent kernel. Instead of dropping CAP_SYS_ADMIN, as it was the case with

Re: [lxc-devel] [PATCH] lxc-attach: Consider cgroup, personality and capabilities when attaching processes to a container

2012-02-05 Thread Daniel Lezcano
On 02/03/2012 01:54 PM, Christian Seiler wrote: Hi, As I didn't hear anything on this issue, I looked at it more closely and found found that not only are capabilities currently not dropped from withing lxc, but also the personality is not set correctly and the newly started process is not

Re: [lxc-devel] setns() syscall perf issue

2012-01-26 Thread Daniel Lezcano
On 01/24/2012 09:54 PM, Dilip Daya wrote: Would you consider the the following changes to switch_task_namespaces() ?? Hi Dilip, I think you should send this patch to lkml and Cc Eric Biederman. You should have a better than this mailing list where we are focused on the userspace part of the

Re: [lxc-devel] [PATCH 1/4] lxc-init: use lxc_mainloop

2011-12-05 Thread Daniel Lezcano
On 12/05/2011 12:43 PM, Greg Kurz wrote: On Sun, 2011-12-04 at 11:33 +0100, Daniel Lezcano wrote: On 11/08/2011 12:49 PM, Greg Kurz wrote: The goal here is to be able to multiplex several event sources in lxc-init. It will be a lot easier to add I/O driven features: for example, a rexec-like

Re: [lxc-devel] [PATCH] Set high byte of mac addresses for host veth devices to 0xfe

2011-12-04 Thread Daniel Lezcano
On 11/16/2011 05:49 PM, Christian Seiler wrote: Hi, I've run into the same problem as was discussed in BUG #3411497 [1] and on the users mailing list [2]. To solve this, I've decided to implement the patch that was proposed on the mailing list [3]. The attached patch is against current

Re: [lxc-devel] [PATCH 1/4] lxc-init: use lxc_mainloop

2011-12-04 Thread Daniel Lezcano
On 11/08/2011 12:49 PM, Greg Kurz wrote: The goal here is to be able to multiplex several event sources in lxc-init. It will be a lot easier to add I/O driven features: for example, a rexec-like service to start extra commands in a container. Signed-off-by: Greg Kurz gk...@fr.ibm.com

Re: [lxc-devel] [PATCH] change default path for config files to /etc/lxc

2011-12-04 Thread Daniel Lezcano
On 11/30/2011 01:07 PM, Alexey Shabalin wrote: 2011/10/13 Alexey Shabalin : 2011/9/27 Greg Kurz : On Tue, 2011-09-27 at 14:10 +0200, Frederic Crozat wrote: Le vendredi 26 août 2011 à 16:00 +0400, Alexey Shabalin a écrit : 2011/8/26 Daniel Lezcano : On 08/23/2011 03:56 PM, Alexey Shabalin

Re: [lxc-devel] [PATCH] Set high byte of mac addresses for host veth devices to 0xfe

2011-12-04 Thread Daniel Lezcano
On 12/05/2011 12:11 AM, Serge Hallyn wrote: On 12/04/2011 04:28 AM, Daniel Lezcano wrote: On 11/16/2011 05:49 PM, Christian Seiler wrote: Hi, I've run into the same problem as was discussed in BUG #3411497 [1] and on the users mailing list [2]. To solve this, I've decided to implement

Re: [lxc-devel] application container can do the socket communication?

2011-11-18 Thread Daniel Lezcano
On 11/18/2011 09:39 AM, Greg Kurz wrote: On 11/18/2011 06:40 AM, liu...@neusoft.com wrote: hello everyone! I'm a rookie on the LXC, and i want to know wheather application container can do the socket communication with the host or not ? It depends on your kernel: you need at least 2.6.36 to

[lxc-devel] [GIT] lxc branch, master, updated. 9c7c90377cdc655b7d853a43dd93de439a4c1677

2011-11-18 Thread Daniel Lezcano
9c7c90377cdc655b7d853a43dd93de439a4c1677 Author: Daniel Lezcano daniel.lezc...@free.fr Date: Fri Nov 18 16:09:47 2011 +0100 Revert lxc: use -iquote instead of -I This reverts commit a2dea4ea209a8fcf6837668bbe59f350931d1c07. --- Summary of changes: src

[lxc-devel] [GIT] lxc branch, master, updated. 5ddd950537c4f37814ac64a823ec1ab352c07b24

2011-11-10 Thread Daniel Lezcano
: Thu Nov 10 09:45:52 2011 +0100 Ubuntu template: some tweaks Allow mknod (fixing udev upgrades) and drop mac_override and mac_admin from lxc.cap.drop as apparmor has/will have support for namespaces Signed-off-by: Daniel Lezcano dlezc...@fr.ibm.com commit

Re: [lxc-devel] [PATCH] Ubuntu template: Allow mknod (fixing udev upgrades) and drop mac_override and mac_admin from lxc.cap.drop as apparmor has/will have support for namespaces

2011-11-10 Thread Daniel Lezcano
On 11/02/2011 08:17 PM, Stéphane Graber wrote: --- templates/lxc-ubuntu.in |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/templates/lxc-ubuntu.in b/templates/lxc-ubuntu.in index 4f44b03..2be8680 100644 --- a/templates/lxc-ubuntu.in +++

Re: [lxc-devel] [PATCH 1/3] lxc-fedora.in: Add missing default release variable

2011-10-28 Thread Daniel Lezcano
On 10/26/2011 04:29 PM, Tuomas Suutari wrote: The text says that 14 is default, but release=14 was not set anywhere in the script. Signed-off-by: Tuomas Suutari tuomas.suut...@gmail.com --- All patches applied. Thanks !

Re: [lxc-devel] [PATCH] lxc: introduce lxc_execute()

2011-10-24 Thread Daniel Lezcano
On 10/17/2011 08:47 PM, Greg Kurz wrote: This patch allows to create application containers with liblxc.so directly. Some code cleanups on the way: - separate ops for lxc_execute() and lxc_start(): the factorisation is wrong here as we may have specific things to do if we're running an

Re: [lxc-devel] [PATCH] Don't list containers w/ active console sessions multiple times

2011-10-24 Thread Daniel Lezcano
On 09/14/2011 07:03 PM, Rainer Weikusat wrote: From: Rainer Weikusat rweiku...@mobileactivedefense.com The lxc-ls shell script uses netstat -xa to get a listing of AF_UNIX sockets it then parses in order to determine the names of presently running containers. This is wrong because it will

Re: [lxc-devel] [Lxc-users] 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 daniel.lezc...@free.fr 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. For English people :) September

[lxc-devel] 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-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 ! -- Daniel

[lxc-devel] [GIT] lxc branch, master, updated. 4e04d515006816bbe629657b85d97476c9de240e

2011-09-20 Thread Daniel Lezcano
to be substitued by the configure script. Cheers. Signed-off-by: Greg Kurz gk...@fr.ibm.com Signed-off-by: Daniel Lezcano dlezc...@fr.ibm.com --- Summary of changes: src/lxc/lxc-create.in |1 + src/lxc/lxc

[lxc-devel] [GIT] lxc branch, master, updated. f7b98d38f042c403114fd07187dfe7daed44bdda

2011-09-01 Thread Daniel Lezcano
f7b98d38f042c403114fd07187dfe7daed44bdda Author: InformatiQ rha...@informatiq.org Date: Thu Sep 1 22:24:30 2011 +0200 remove the check for container path as it's done in lxc-create Signed-off-by: InformatiQ rha...@informatiq.org Signed-off-by: Daniel Lezcano dlezc...@fr.ibm.com

[lxc-devel] [GIT] lxc branch, master, updated. be58c6b5b4110a3136f26b69394de725a4318619

2011-08-30 Thread Daniel Lezcano
Man for the gateway option. Signed-off-by: Daniel Lezcano dlezc...@fr.ibm.com commit 19a26f82145042062cb2b11292622efb3ccac37f Author: Matthijs Kooijman matth...@stdin.nl Date: Tue Aug 30 23:50:23 2011 +0200 add autodetection of the gateway address For veth and macvlan

[lxc-devel] [GIT] lxc branch, master, updated. ac70c6cf97c5d52d4ec4c6bfe9552c1550307966

2011-08-30 Thread Daniel Lezcano
ac70c6cf97c5d52d4ec4c6bfe9552c1550307966 Author: InformatiQ rha...@informatiq.org Date: Wed Aug 31 00:20:09 2011 +0200 if after freezing the container the snapshot/rsync fails, unfreeze before exiting Signed-off-by: InformatiQ rha...@informatiq.org Signed-off-by: Daniel Lezcano dlezc...@fr.ibm.com Acked

Re: [lxc-devel] [PATCH 1/3] add lxc.network.ipv[46].gateway configuration

2011-08-30 Thread Daniel Lezcano
On 08/15/2011 10:58 PM, Matthijs Kooijman wrote: This directive adds a default route to the guest at startup. syntax: lxc.network.ipv4.gateway = 10.0.0.1 lxc.network.ipv6.gateway = 2001:db8:85a3::8a2e:370:7334 Applied the patchset. Thanks !

Re: [lxc-devel] touch /fastboot to rootfs before start container

2011-08-26 Thread Daniel Lezcano
On 08/16/2011 08:01 PM, Matteo Bernardini wrote: for what's worth (if useful to know), slackware uses /etc/fastboot for that purpose: could it be seen as a specific template thingie? in the template for slackware that I'm preparing, for example, I cutted out all mount/fsck from the shell init

Re: [lxc-devel] Patch to automatically set a gateway inside a container

2011-08-15 Thread Daniel Lezcano
On 08/15/2011 10:58 PM, Matthijs Kooijman wrote: Hey folks, Here's a small patch series that allows setting up a gateway inside a container. Two modes are supported: Defining a static address in lxc.conf, or taking the configured address from the bridge (link) interface and using that as a

[lxc-devel] [GIT] lxc branch, master, updated. e6238180c6963bcdbab42258a0f66b1d498c0e13

2011-08-12 Thread Daniel Lezcano
e6238180c6963bcdbab42258a0f66b1d498c0e13 Author: Daniel Lezcano daniel.lezc...@free.fr Date: Fri Aug 12 21:47:55 2011 +0200 remove minimal install for ubuntu template Signed-off-by: Daniel Lezcano dlezc...@fr.ibm.com --- Summary of changes: templates

[lxc-devel] [GIT] lxc branch, master, updated. 5d42011acbf64b3c942dd4e2f2557a172410fbeb

2011-08-11 Thread Daniel Lezcano
other notification email; so we list those revisions in full, below. - Log - commit 5d42011acbf64b3c942dd4e2f2557a172410fbeb Author: Daniel Lezcano daniel.lezc...@free.fr Date: Thu Aug 11 17:19:56 2011 +0200 add container init pid

[lxc-devel] [GIT] lxc branch, master, updated. c797dcc3d06762859ca07075c607e852fe02d18f

2011-08-11 Thread Daniel Lezcano
- commit c797dcc3d06762859ca07075c607e852fe02d18f Author: Daniel Lezcano daniel.lezc...@free.fr Date: Thu Aug 11 17:54:57 2011 +0200 lxc-ps : update the man page for passing the options Signed-off-by: Daniel Lezcano dlezc...@fr.ibm.com commit

Re: [lxc-devel] [RFC] catching sys_reboot syscall

2011-08-11 Thread Daniel Lezcano
On 08/11/2011 06:30 PM, Bruno Prémont wrote: On Wed, 10 August 2011 Daniel Lezcano daniel.lezc...@free.fr wrote: On 08/10/2011 10:10 PM, Bruno Prémont wrote: Hi Daniel, [I'm adding containers ml as we had a discussion there some time ago for this feature] [ ... ] +if (cmd

[lxc-devel] [GIT] lxc tag, lxc-0.7.5, created. 6371febf3c7d181cb0f11209df67c35f9d7b233b

2011-08-11 Thread Daniel Lezcano
- commit 6371febf3c7d181cb0f11209df67c35f9d7b233b Author: Daniel Lezcano dlezc...@fr.ibm.com Date: Thu Aug 11 19:00:13 2011 +0200 Version 0.7.5 Signed-off-by: Daniel Lezcano dlezc...@fr.ibm.com

Re: [lxc-devel] [RFC] catching sys_reboot syscall

2011-08-11 Thread Daniel Lezcano
On 08/11/2011 07:04 PM, Bruno Prémont wrote: On Thu, 11 August 2011 Daniel Lezcano daniel.lezc...@free.fr wrote: On 08/11/2011 06:30 PM, Bruno Prémont wrote: On Wed, 10 August 2011 Daniel Lezcano daniel.lezc...@free.fr wrote: On 08/10/2011 10:10 PM, Bruno Prémont wrote: Hi Daniel, [I'm

[lxc-devel] [GIT] lxc branch, master, updated. 970ab589452637c4ae1ddb807c66be7333f8fdf6

2011-08-11 Thread Daniel Lezcano
- commit 970ab589452637c4ae1ddb807c66be7333f8fdf6 Author: Daniel Lezcano daniel.lezc...@free.fr Date: Fri Aug 12 01:34:49 2011 +0200 make undefined personality non-fatal Just warn, do not exit fatally. Signed-off-by: Daniel Lezcano dlezc...@fr.ibm.com commit

Re: [lxc-devel] [RFC] catching sys_reboot syscall

2011-08-10 Thread Daniel Lezcano
On 08/10/2011 10:10 PM, Bruno Prémont wrote: Hi Daniel, [I'm adding containers ml as we had a discussion there some time ago for this feature] [ ... ] +if (cmd == LINUX_REBOOT_CMD_RESTART2) +if (strncpy_from_user(buffer[0], arg, sizeof(buffer) - 1) 0) +return

Re: [lxc-devel] PATCH: lxc-ps: blkio instead of ns in /proc/*/cgroup

2011-08-10 Thread Daniel Lezcano
On 08/07/2011 03:33 AM, Yamamoto - Joe's Web Hosting wrote: Hi In Linux kernel 3.0.0, lxc-ps does not show any container names. I think it's due to the following change: http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6-stable.git;a=commit;h=1bdcd78e2445f1ef7097a3ae7ef12e8f9c4fb05f

[lxc-devel] [PATCH] lxc-checkconfig takes into account cgroup.clone_children

2011-08-09 Thread Daniel Lezcano
Take into account we may have the clone_children flag on the cgroup, so we ignore cgroup namespace in this case. Signed-off-by: Daniel Lezcano dlezc...@fr.ibm.com --- src/lxc/lxc-checkconfig.in | 11 ++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src/lxc/lxc

Re: [lxc-devel] issue with inotify and cgroups

2011-07-28 Thread Daniel Lezcano
On 07/28/2011 12:03 PM, Lou-adrien Fabre wrote: Hi, I'm currently trying to monitor my container's stats from my host, using the cgroup file (especialy cpuacct.usage_percpu), but the problem is that the refresh rate of the cgroup file seems to be quit unstable. So i need to watch for file

[lxc-devel] [GIT] lxc branch, master, updated. 9e4fcfa115ec306baf8cbc86dd0fd97678425ab5

2011-07-27 Thread Daniel Lezcano
, to user's groups in the container. Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com Signed-off-by: Daniel Lezcano dlezc...@fr.ibm.com --- Summary of changes: templates/lxc-ubuntu.in |3 --- 1 files changed

Re: [lxc-devel] Reg: Using an ISO image as rootfs for a LXC

2011-07-25 Thread Daniel Lezcano
On 07/25/2011 08:17 PM, Alphonse Hansel Anthony wrote: Hi, I am trying to start a LXC, with a ISO image as the rootfs. the excerpt of the mount options that I use in lxc.conf lxc.rootfs = rootfs.iso lxc.rootfs.mount = /lxc/rootfs The error that I get while I start the LXC -

Re: [lxc-devel] Reg: Using an ISO image as rootfs for a LXC

2011-07-25 Thread Daniel Lezcano
. -Alphonse On Mon, Jul 25, 2011 at 4:04 PM, Daniel Lezcano daniel.lezc...@free.frwrote: On 07/25/2011 08:17 PM, Alphonse Hansel Anthony wrote: Hi, I am trying to start a LXC, with a ISO image as the rootfs. the excerpt of the mount options that I use in lxc.conf lxc.rootfs = rootfs.iso

[lxc-devel] [GIT] lxc branch, master, updated. 623f98d8cc0ae38cce244b355a804a7e8e607bc3

2011-07-24 Thread Daniel Lezcano
/dev/fuse to be used in a container As people seem to want it, i.e. https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/800886 Signed-off-by: Serge Hallyn serge.hal...@canonical.com Signed-off-by: Daniel Lezcano dlezc...@fr.ibm.com commit

[lxc-devel] [GIT] lxc branch, master, updated. bcbd102cba31a0054fe4204a39b5e8a411cde42f

2011-07-03 Thread Daniel Lezcano
it's done under the root of each fs. We may want to put that under lxc, or, better yet, make that configurable. Changelog: Michael H. Warfield: Handle the case where subsystem doesn't have '.'. Daniel Lezcano: clean up incorrect reentrant use of mntent helpers v3

Re: [lxc-devel] PATCH: openSUSE template for LXC

2011-06-27 Thread Daniel Lezcano
On 06/27/2011 10:03 AM, Frederic Crozat wrote: Le samedi 25 juin 2011 à 23:25 +0200, Daniel Lezcano a écrit : On 06/24/2011 05:28 PM, Frederic Crozat wrote: Hi all, attached patch is a openSUSE 11.4 template for LXC. The good news is, starting with next openSUSE release (and next SLES 11

[lxc-devel] [GIT] lxc branch, lxc-0.7.4.X, updated. ebdedce2f6df18b8ecbdc2c67977240aa42f7af8

2011-06-25 Thread Daniel Lezcano
ebdedce2f6df18b8ecbdc2c67977240aa42f7af8 Author: Serge Hallyn serge.hal...@ubuntu.com Date: Sat Jun 25 15:17:47 2011 +0200 print netdev name, not link, after moving dev into netns Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com Signed-off-by: Daniel Lezcano dlezc...@fr.ibm.com

[lxc-devel] [GIT] lxc branch, master, updated. c1c75c04a6b7d7926b6eaaf45309d35d7650f6d2

2011-06-25 Thread Daniel Lezcano
: Sat Jun 25 15:17:47 2011 +0200 print netdev name, not link, after moving dev into netns Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com Signed-off-by: Daniel Lezcano dlezc...@fr.ibm.com commit 7c3ab01ffd3f59786fef85a5cbb1718659630f4d Author: Serge Hallyn serge.hal

Re: [lxc-devel] PATCH: openSUSE template for LXC

2011-06-25 Thread Daniel Lezcano
On 06/24/2011 05:28 PM, Frederic Crozat wrote: Hi all, attached patch is a openSUSE 11.4 template for LXC. The good news is, starting with next openSUSE release (and next SLES 11 Service Pack), patching /etc/init.d/boot won't be needed anymore for LXC, we integrated detection of LXC

[lxc-devel] [GIT] lxc branch, master, updated. b722bed2da417532bbc4a12cb36a32ba7bbac783

2011-06-23 Thread Daniel Lezcano
-create -t ubuntu -f /etc/lxc.conf -n u1 -- -x and have -x passed to the template Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com Signed-off-by: Daniel Lezcano dlezc...@fr.ibm.com commit be8b5972427bf6d5f83c94b5e50a30cdeba2543a Author: Serge E. Hallyn se...@hallyn.com Date

[lxc-devel] [GIT] lxc branch, master, updated. 9ccb2dbcd2c437ca8cc867814ba0412a3fe55420

2011-06-02 Thread Daniel Lezcano
9ccb2dbcd2c437ca8cc867814ba0412a3fe55420 Author: Daniel Lezcano daniel.lezc...@free.fr Date: Thu Jun 2 09:50:38 2011 +0200 set close-on-exec flag on command socket When we accept a connection, we have to set the close-on-exec flag, otherwise that won't be possible to reboot a container through a lxc-console

[lxc-devel] [GIT] lxc branch, lxc-0.7.4.X, updated. 967b34569424d2ec7ae7f27e64b1ad9bb2ea124b

2011-06-02 Thread Daniel Lezcano
967b34569424d2ec7ae7f27e64b1ad9bb2ea124b Author: Daniel Lezcano daniel.lezc...@free.fr Date: Thu Jun 2 09:50:38 2011 +0200 set close-on-exec flag on command socket When we accept a connection, we have to set the close-on-exec flag, otherwise that won't be possible to reboot a container through a lxc-console

Re: [lxc-devel] PHYS support in 2.6.34?

2011-06-02 Thread Daniel Lezcano
On 06/01/2011 10:28 PM, Moffatt, Greg wrote: Hi I understand that full support for physical networking devices in a container isn't fully implemented until 2.6.35. How large are the changes that enabled this? I need to have something like this in a 2.6.34 kernel and I'm trying to scope out

[lxc-devel] [GIT] lxc branch, lxc-0.7.4.X, updated. 57d6d6718dab8913039cb5fba74771e36cdeb5df

2011-05-27 Thread Daniel Lezcano
57d6d6718dab8913039cb5fba74771e36cdeb5df Author: Sven Wegener sven.wege...@stealer.net Date: Mon May 23 23:12:24 2011 +0200 Check for existing ptmx symlink It's OK, if /dev/ptmx points to /dev/pts/ptmx via a symlink. Signed-off-by: Sven Wegener sven.wege...@stealer.net Signed-off-by: Daniel Lezcano dlezc

  1   2   3   >