Re: [lxc-devel] LXC live migrate

2013-11-26 Thread Qiang Huang
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 --file-locks > (00.004962) Error (namespaces.c:155): Can't dump nested pid namespace for

Re: [lxc-devel] LXC live migrate

2013-11-26 Thread Marian Marinov
On 11/26/2013 05:29 PM, Dwight Engen wrote: > On Mon, 25 Nov 2013 21:58:13 -0500 > Stéphane Graber wrote: > >> On Tue, Nov 26, 2013 at 04:04:36AM +0200, Marian Marinov wrote: >>> Hey guys, >>> I just read on LWN about the checkpoint/restore tool: >>> http://lwn.net/Articles/574917/ >>> >>> Wit

Re: [lxc-devel] LXC live migrate

2013-11-26 Thread Dwight Engen
On Mon, 25 Nov 2013 21:58:13 -0500 Stéphane Graber wrote: > On Tue, Nov 26, 2013 at 04:04:36AM +0200, Marian Marinov wrote: > > Hey guys, > > I just read on LWN about the checkpoint/restore tool: > >http://lwn.net/Articles/574917/ > > > > With this, it seams possible to freeze and restore a

Re: [lxc-devel] LXC live migrate

2013-11-26 Thread Nikola Kotur
On Tue, 26 Nov 2013 05:27:34 +0200 Marian Marinov wrote: > On 11/26/2013 04:58 AM, Stéphane Graber wrote: > > On Tue, Nov 26, 2013 at 04:04:36AM +0200, Marian Marinov wrote: > >> I just read on LWN about the checkpoint/restore tool: > >> http://lwn.net/Articles/574917/ > > > > I think I las

Re: [lxc-devel] LXC live migrate

2013-11-25 Thread Marian Marinov
On 11/26/2013 04:58 AM, Stéphane Graber wrote: > On Tue, Nov 26, 2013 at 04:04:36AM +0200, Marian Marinov wrote: >> Hey guys, >> I just read on LWN about the checkpoint/restore tool: >> http://lwn.net/Articles/574917/ >> >> With this, it seams possible to freeze and restore a whole container fr

Re: [lxc-devel] LXC live migrate

2013-11-25 Thread Stéphane Graber
On Tue, Nov 26, 2013 at 04:04:36AM +0200, Marian Marinov wrote: > Hey guys, > I just read on LWN about the checkpoint/restore tool: >http://lwn.net/Articles/574917/ > > With this, it seams possible to freeze and restore a whole container from one > node to another. > > I'll give it a try thi

Re: [lxc-devel] lxc and network namespace

2013-11-12 Thread Stéphane Graber
On Tue, Nov 12, 2013 at 12:11:19PM -0800, Arjun Sambamoorthy wrote: > [Trying dev list as there was no response from user list] > > Hi, > > I am using lxc with a couple of veths on ubuntu. I'd like to know its > network namespace name so that i can dynamically add/remove veths to the > netns afte

Re: [lxc-devel] [lxc/lxc] 07520b: Update maintainers and URLs

2013-10-21 Thread Stéphane Graber
On Mon, Oct 21, 2013 at 01:14:21PM -0500, Serge Hallyn wrote: > Quoting Stéphane Graber (stgra...@ubuntu.com): > > On Sun, Oct 20, 2013 at 12:28:05PM +0200, Natanael Copa wrote: > > > On Sat, 19 Oct 2013 21:49:03 -0700 > > > GitHub wrote: > > > > > > > Branch: refs/heads/master > > > > Home:

Re: [lxc-devel] [lxc/lxc] 07520b: Update maintainers and URLs

2013-10-21 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > On Sun, Oct 20, 2013 at 12:28:05PM +0200, Natanael Copa wrote: > > On Sat, 19 Oct 2013 21:49:03 -0700 > > GitHub wrote: > > > > > Branch: refs/heads/master > > > Home: https://github.com/lxc/lxc > > > Commit: 07520b2af5495cbde94645d09b523de

Re: [lxc-devel] [lxc/lxc] 07520b: Update maintainers and URLs

2013-10-21 Thread Stéphane Graber
On Sun, Oct 20, 2013 at 12:28:05PM +0200, Natanael Copa wrote: > On Sat, 19 Oct 2013 21:49:03 -0700 > GitHub wrote: > > > Branch: refs/heads/master > > Home: https://github.com/lxc/lxc > > Commit: 07520b2af5495cbde94645d09b523de73047542d > > Would it be an idea to have a separate mailing

Re: [lxc-devel] [lxc/lxc] 07520b: Update maintainers and URLs

2013-10-20 Thread Natanael Copa
On Sat, 19 Oct 2013 21:49:03 -0700 GitHub wrote: > Branch: refs/heads/master > Home: https://github.com/lxc/lxc > Commit: 07520b2af5495cbde94645d09b523de73047542d Would it be an idea to have a separate mailing list for git commits? I think the mailing list is painfully noisy. -nc -

Re: [lxc-devel] lxc: Use Jessie and http.debian.net by default in Jessie/Sid?

2013-10-18 Thread Stéphane Graber
On Sun, Oct 13, 2013 at 11:04:27AM +0200, Petter Reinholdtsen wrote: > Hi. The Debian maintainer of lxc suggested I contacted this mailing > list, so here is my initial try. :) > > Please check out the patch proposal for the lxc-debian template on > http://bugs.debian.org/725187 > and see if it s

Re: [lxc-devel] lxc-start: Invalid argument - pivot_root syscall failed

2013-10-18 Thread Serge Hallyn
Quoting Peter Volkov (p...@gentoo.org): > В Пт, 18/10/2013 в 00:22 +0400, Peter Volkov пишет: > > В Чт, 10/10/2013 в 14:47 -0500, Serge Hallyn пишет: > > > Quoting Peter Volkov (p...@gentoo.org): > > > > I'm using 1.0.0.alpha1 although I've tried with 0.8.0 also and I'm > > > > unable to start cont

Re: [lxc-devel] lxc-start: Invalid argument - pivot_root syscall failed

2013-10-18 Thread Peter Volkov
В Пт, 18/10/2013 в 00:22 +0400, Peter Volkov пишет: > В Чт, 10/10/2013 в 14:47 -0500, Serge Hallyn пишет: > > Quoting Peter Volkov (p...@gentoo.org): > > > I'm using 1.0.0.alpha1 although I've tried with 0.8.0 also and I'm > > > unable to start container with the following error: > > > > > > lxc-s

Re: [lxc-devel] lxc-start: Invalid argument - pivot_root syscall failed

2013-10-17 Thread Peter Volkov
В Чт, 10/10/2013 в 14:47 -0500, Serge Hallyn пишет: > Quoting Peter Volkov (p...@gentoo.org): > > I'm using 1.0.0.alpha1 although I've tried with 0.8.0 also and I'm > > unable to start container with the following error: > > > > lxc-start: Invalid argument - pivot_root syscall failed > > lxc-start

Re: [lxc-devel] lxc: Use Jessie and http.debian.net by default in Jessie/Sid?

2013-10-16 Thread Petter Reinholdtsen
Hi. The Debian maintainer of lxc suggested I contacted this mailing list, so here is my initial try. :) Please check out the patch proposal for the lxc-debian template on http://bugs.debian.org/725187 > and see if it something you want to include upstream. -- Happy hacking Petter Reinholdtsen

Re: [lxc-devel] lxc-start: Invalid argument - pivot_root syscall failed

2013-10-10 Thread Serge Hallyn
Quoting Peter Volkov (p...@gentoo.org): > Hi, guys. > > I'm using 1.0.0.alpha1 although I've tried with 0.8.0 also and I'm > unable to start container with the following error: > > lxc-start: Invalid argument - pivot_root syscall failed > lxc-start: failed to setup pivot root > lxc-start: failed

Re: [lxc-devel] [lxc/lxc] 431fdc: Update lxc-fedora.in

2013-10-02 Thread Michael H. Warfield
On Wed, 2013-10-02 at 12:19 -0400, Stéphane Graber wrote: > Oops, sorry if I caused a few conflicts with your upcoming patchset... > We had the fedora 19 fix as a pull request on github for a while so I > just applied it when going through the outstanding merge proposals this > morning. > Then g

Re: [lxc-devel] [lxc/lxc] 431fdc: Update lxc-fedora.in

2013-10-02 Thread Michael H. Warfield
On Wed, 2013-10-02 at 12:19 -0400, Stéphane Graber wrote: > Oops, sorry if I caused a few conflicts with your upcoming patchset... > We had the fedora 19 fix as a pull request on github for a while so I > just applied it when going through the outstanding merge proposals this > morning. > Then g

Re: [lxc-devel] [lxc/lxc] 431fdc: Update lxc-fedora.in

2013-10-02 Thread Stéphane Graber
Oops, sorry if I caused a few conflicts with your upcoming patchset... We had the fedora 19 fix as a pull request on github for a while so I just applied it when going through the outstanding merge proposals this morning. Then git complained about a mixed tab/space in that patch, so I looked at t

Re: [lxc-devel] [lxc/lxc] 431fdc: Update lxc-fedora.in

2013-10-02 Thread Michael H. Warfield
On Wed, 2013-10-02 at 12:12 -0400, Michael H. Warfield wrote: > Ah Crap... Just when I'm almost done regression testing my updates to > the lxc-fedora template... > Stéphane, > When did this come in? I thought I had already fixed that version > gotcha for Fedora 19 (which is now up to -4 in up

Re: [lxc-devel] [lxc/lxc] 431fdc: Update lxc-fedora.in

2013-10-02 Thread Michael H. Warfield
Ah Crap... Just when I'm almost done regression testing my updates to the lxc-fedora template... Stéphane, When did this come in? I thought I had already fixed that version gotcha for Fedora 19 (which is now up to -4 in updates) and that it had been committed to staging long before Linux Plumbe

Re: [lxc-devel] [lxc/lxc] b65330: split up lxc_cgroup_load_meta2

2013-09-25 Thread Serge Hallyn
Quoting Christian Seiler (christ...@iwakd.de): > Hi there, > > > The result seems easier to reason about. > > I agree, thanks! > > > A question I had, is, should > > the kernel_subsystems ** be freed in the success case? I assumed it > > was > > being used elsewhere but I can't find where. C

Re: [lxc-devel] [lxc/lxc] b65330: split up lxc_cgroup_load_meta2

2013-09-25 Thread Christian Seiler
Hi there, > The result seems easier to reason about. I agree, thanks! > A question I had, is, should > the kernel_subsystems ** be freed in the success case? I assumed it > was > being used elsewhere but I can't find where. Currently it is only > being > freed in the error case. I suspect

Re: [lxc-devel] lxc-start fails on android

2013-09-23 Thread Serge Hallyn
Quoting riya khanna (riyakhanna1...@gmail.com): > Hi, > > I am trying to run a busybox based container on android. However, lxc-start > fails with the following msgs. Any idea what could be wrong here? Thanks > for your time and help! > > lxc-start 1378915396.741 WARN lxc_start - inherited

Re: [lxc-devel] [Lxc-users] Working LXC templates? EUREAKA! I think I've got it!

2013-09-20 Thread Michael H. Warfield
Hey Serge, On Fri, 2013-09-20 at 09:57 -0500, Serge Hallyn wrote: > Hey Michael, > tried this out on a saucy vm, and it looked good until it died with > >receiving incremental file list > >fedora-release-19-2.noarch.rpm > > > >sent 47 bytes received 33329 bytes 9536.00 bytes/sec > >total size

Re: [lxc-devel] [Lxc-users] Working LXC templates? EUREAKA! I think I've got it!

2013-09-20 Thread Michael H. Warfield
On Tue, 2013-09-17 at 10:26 -0700, Tony Su wrote: > Regarding > > LXC and the use of Linux Bridge devices for configured networking, > At least on openSUSE, LXC is not configured with any /etc/lxc/* by > default, and possibly because I also have libvirt configured to > support LXC (although that i

Re: [lxc-devel] [Lxc-users] Some important project changes

2013-09-20 Thread Dan Kegel
On Fri, Sep 20, 2013 at 9:37 AM, Stéphane Graber wrote: > In the end, the plan is to completely stop using sourceforge and instead > use github for everything but the mailing-lists which will be handled by > our own mailman server. +1 > Finally, I'd like to thank Daniel for the hard work he's be

Re: [lxc-devel] [Lxc-users] Working LXC templates? EUREAKA! I think I've got it!

2013-09-20 Thread Tony Su
After perusing the entire script now, It seems to me that Michael's major contribution is all the parts described in my previous post. In fact, it looks like Michael grafted his good work on to a Fedora setup script. If I'm right, then IMO substantial parts of what I posted about earlier may be r

Re: [lxc-devel] [Lxc-users] Working LXC templates? EUREAKA! I think I've got it!

2013-09-20 Thread Serge Hallyn
Hey Michael, tried this out on a saucy vm, and it looked good until it died with >receiving incremental file list >fedora-release-19-2.noarch.rpm > >sent 47 bytes received 33329 bytes 9536.00 bytes/sec >total size is 32472 speedup is 0.97 >warning: fedora-release-19-2.noarch.rpm: Header V3 RSA

Re: [lxc-devel] [Lxc-users] Working LXC templates? EUREAKA! I think I've got it!

2013-09-17 Thread Tony Su
Regarding LXC and the use of Linux Bridge devices for configured networking, At least on openSUSE, LXC is not configured with any /etc/lxc/* by default, and possibly because I also have libvirt configured to support LXC (although that is not working on my system). >From what I've seen though, I c

Re: [lxc-devel] [Lxc-users] Working LXC templates? EUREAKA! I think I've got it!

2013-09-17 Thread Michael H. Warfield
On Sun, 2013-09-15 at 16:17 -0700, Tony Su wrote: > Hello Michael, > > First a comment on problems with systemd you descrbe. > I probably have run into many of the things you itemized, but since my > time is usually focused on something I'm trying to use LXC and not LXC > itself, I usually just d

Re: [lxc-devel] [Lxc-users] Working LXC templates? EUREAKA! I think I've got it!

2013-09-16 Thread Tony Su
Michael, Considering your substantial existing work, if you'd post on github, I'd we willing to fork and contribute in that manner (of course, also opens up ways for others to contribute). I'd create the original repo myself except that your work should be credited by you (and contributions manage

Re: [lxc-devel] [Lxc-users] Working LXC templates?

2013-09-16 Thread Serge Hallyn
Quoting Michael H. Warfield (m...@wittsend.com): > So, all of this has led Serge to list me on the roster for the > LinuxPlumbers conference as the LXC "systemd expert". I'll get even > with him later next week for that one... Lol! Buy you a beer thu night? :) -serge --

Re: [lxc-devel] [Lxc-users] Working LXC templates? EUREAKA! I think I've got it!

2013-09-15 Thread Tony Su
Hello Michael, First a comment on problems with systemd you descrbe. I probably have run into many of the things you itemized, but since my time is usually focused on something I'm trying to use LXC and not LXC itself, I usually just drop any further attempts and move on to find a workaround(eg co

Re: [lxc-devel] [Lxc-users] Working LXC templates? EUREAKA! I think I've got it!

2013-09-14 Thread Tony Su
Cool. I'll block some significant time to look at what you built over the next 3 days. Tony -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Wi

Re: [lxc-devel] [Lxc-users] Working LXC templates? EUREAKA! I think I've got it!

2013-09-13 Thread Michael H. Warfield
Tony: On Fri, 2013-09-13 at 00:20 -0400, Michael H. Warfield wrote: > On Thu, 2013-09-12 at 15:23 -0400, Michael H. Warfield wrote: > > All - Especially Tony Su, > > > Couple of people where I work thought you couldn't do what I was trying > > to do, that it was "impossible". Oh well. Looks l

Re: [lxc-devel] [Lxc-users] Working LXC templates?

2013-09-13 Thread Michael H. Warfield
Hey Tony! I've kept meaning to revisit this and answer your question... On Wed, 2013-09-04 at 10:23 -0700, Tony Su wrote: > Thx for the thoughts, Michael... > > Would like to know specifically what you believe is incompatible > running 0.8.0 with systemd. Ok... Here are the things we know ab

Re: [lxc-devel] [Lxc-users] Working LXC templates? EUREAKA! I think I've got it!

2013-09-12 Thread Michael H. Warfield
On Thu, 2013-09-12 at 15:23 -0400, Michael H. Warfield wrote: > All - Especially Tony Su, > Couple of people where I work thought you couldn't do what I was trying > to do, that it was "impossible". Oh well. Looks like they were > wrong. :-P It may not be "efficient" but it can be made to wor

Re: [lxc-devel] [Lxc-users] Working LXC templates? EUREAKA! I think I've got it!

2013-09-12 Thread Michael H. Warfield
All - Especially Tony Su, Couple of people where I work thought you couldn't do what I was trying to do, that it was "impossible". Oh well. Looks like they were wrong. :-P It may not be "efficient" but it can be made to work. Way down below, in-line... On Mon, 2013-09-09 at 07:28 -0400, Mich

Re: [lxc-devel] [lxc/lxc] be9f76: Merge git://github.com/lxc/lxc

2013-09-10 Thread Stéphane Graber
For anyone wondering, that's me rebasing staging on master. Anyone with a local checkout of staging that's fairly up to date will have to use --force next time they update. On Tue, Sep 10, 2013 at 03:20:16PM -0700, GitHub wrote: > Branch: refs/heads/staging > Home: https://github.com/lxc/lx

Re: [lxc-devel] [Lxc-users] Working LXC templates?

2013-09-09 Thread Tony Su
Hello Michael, Yes, I would really appreciate your comments on what I'm attempting to do. Here is my thought process... In general, I've found that the problems you describe are all too common exactly because no one seems to have sat down and taken a close look at the flow involved in creating a

Re: [lxc-devel] [Lxc-users] Working LXC templates?

2013-09-09 Thread Shridhar Daithankar
On Monday, September 09, 2013 07:28:43 AM Michael H. Warfield wrote: > In the git-stage current Fedora template, the entire problem is embodied > in the "download_fedora" function starting around line 201... The > gotcha's are three commands around line 272 after we've identified and > downloaded

Re: [lxc-devel] [Lxc-users] Working LXC templates?

2013-09-09 Thread Michael H. Warfield
On Mon, 2013-09-09 at 17:23 +0530, Shridhar Daithankar wrote: > On Monday, September 09, 2013 07:28:43 AM Michael H. Warfield wrote: > > In the git-stage current Fedora template, the entire problem is embodied > > in the "download_fedora" function starting around line 201... The > > gotcha's are

Re: [lxc-devel] [Lxc-users] Working LXC templates?

2013-09-09 Thread Michael H. Warfield
On Mon, 2013-09-09 at 08:58 +0200, Natanael Copa wrote: > On Sun, 08 Sep 2013 20:33:16 -0400 > "Michael H. Warfield" wrote: > > > With all due respect... > > > > On Sun, 2013-09-08 at 16:08 -0700, Tony Su wrote: > > > After putting some thought into this, > > > IMO LXC badly needs a universal

Re: [lxc-devel] [Lxc-users] Working LXC templates?

2013-09-09 Thread Natanael Copa
On Sun, 08 Sep 2013 20:33:16 -0400 "Michael H. Warfield" wrote: > With all due respect... > > On Sun, 2013-09-08 at 16:08 -0700, Tony Su wrote: > > After putting some thought into this, > > IMO LXC badly needs a universal tool with the following features > > > > - A single script should be use

Re: [lxc-devel] [Lxc-users] Working LXC templates?

2013-09-08 Thread Michael H. Warfield
With all due respect... On Sun, 2013-09-08 at 16:08 -0700, Tony Su wrote: > After putting some thought into this, > IMO LXC badly needs a universal tool with the following features > > - A single script should be used to run on HostOS, creating > supported Container OS. Although this would mak

Re: [lxc-devel] [Lxc-users] Working LXC templates?

2013-09-08 Thread Tony Su
After putting some thought into this, IMO LXC badly needs a universal tool with the following features - A single script should be used to run on HostOS, creating supported Container OS. Although this would make the script extremely large, IMO it would actually be easier to maintain in the long

Re: [lxc-devel] lxc-destroy considered harmful

2013-09-04 Thread Serge Hallyn
Quoting Thomas Moschny (thomas.mosc...@gmail.com): > Hi, > > in https://bugzilla.redhat.com/show_bug.cgi?id=1003136 , a Fedora LXC > user reports a problem with lxc-destroy removing parts of his host > file system. > > He's using 0.8.0, and the obvious advice for him is to try with 0.9.0 > (which

Re: [lxc-devel] [Lxc-users] Working LXC templates?

2013-09-04 Thread Natanael Copa
On Wed, 04 Sep 2013 09:40:49 -0400 "Michael H. Warfield" wrote: > I do think it is an issue with the whole "distribution agnostic > template" problem that may require some help from the distros or some > innovative ideas of how we can bootstrap distros using distro agnostic > tools (like stone k

Re: [lxc-devel] [Lxc-users] Working LXC templates?

2013-09-04 Thread Michael H. Warfield
This issue really belongs on -devel since it's a template development issue that really impacts all the template writers. On Tue, 2013-09-03 at 09:26 -0700, Tony Su wrote: > Thx all for the replies, > - lxc-version returns 0.8.0. Looking around, there might be a more current > unstable, but AFAIK

Re: [lxc-devel] LXC and Ubuntu 13.04

2013-08-21 Thread Christian Seiler
Hi Andre, > I've found the following issue running lxc-start on Ubuntu 13.04: > >lxc-start: Read-only file system - failed to change apparmor > profile > to unconfined I had the same issue when playing around and the following patch that is already merged in staging fixes it: https://github

Re: [lxc-devel] lxc-start: Failed to find current cgroup

2013-08-19 Thread Harald Dunkel
Hi folks, On 08/19/13 00:57, Christian Seiler wrote: > Hi there, > > FYI: I had the same problem with current staging and the first patch I > sent in my latest series fixes this: > > http://thread.gmane.org/gmane.linux.kernel.containers.lxc.devel/3977 > > -- Christian > The current version fb760f7

Re: [lxc-devel] lxc-start: Failed to find current cgroup

2013-08-18 Thread Christian Seiler
Hi there, FYI: I had the same problem with current staging and the first patch I sent in my latest series fixes this: http://thread.gmane.org/gmane.linux.kernel.containers.lxc.devel/3977 -- Christian -- Get 100% visibil

Re: [lxc-devel] lxc-start: Failed to find current cgroup

2013-08-17 Thread Harald Dunkel
Hi Serge, On 08/17/13 15:29, Serge Hallyn wrote: Actually I suspect I know what happened. find_real_cgroup() doesn't look like how I remember doing it. Could you try the below (untested) patch? It'll enter you in a per-container subdir in the name=systemd cgroup, which we didn't use to do.

Re: [lxc-devel] lxc-start: Failed to find current cgroup

2013-08-17 Thread Harald Dunkel
Hi Serge, On 08/17/13 15:29, Serge Hallyn wrote: Quoting Harald Dunkel (ha...@afaics.de): Hi folks, Using the current (d24d56d7ee3420bb79238ff84cad07c20cf4757d) version lxc-start gives me # lxc-start -n lxc0 lxc-start: Failed to find current cgroup lxc-start: Out of memory reading cgroups lxc

Re: [lxc-devel] lxc-start: Failed to find current cgroup

2013-08-17 Thread Serge Hallyn
Quoting Harald Dunkel (ha...@afaics.de): > Hi folks, > > Using the current (d24d56d7ee3420bb79238ff84cad07c20cf4757d) > version lxc-start gives me > > # lxc-start -n lxc0 > lxc-start: Failed to find current cgroup > lxc-start: Out of memory reading cgroups > lxc-start: failed to spawn 'lxc0' > >

Re: [lxc-devel] LXC 1.0 and feature support on kernel level

2013-07-12 Thread Serge Hallyn
Quoting Jäkel, Guido (g.jae...@dnb.de): > Dear Core-Developers, > > i would like to ask for a discussion about the status of a kind of > improvements that -- as I know -- will need support by the kernel developers. > But a LXC (newbie) user may expect such things from a software level 1.0, > wi

Re: [lxc-devel] lxc

2013-07-07 Thread Tomas Pospisek
Am 06.07.2013 17:45, schrieb curley andie: > >> On Fri, Jul 5, 2013 at 7:51 PM, Tomas Pospisek wrote: >> >> http://catb.org/~esr/faqs/smart-questions.html#noprivate >> >> Please reply to the list :-) >> >> Am 05.07.2013 13:13, schrieb curley andie: >>> >>> When I try install using sudo apt-get i

Re: [lxc-devel] lxc

2013-07-05 Thread Tomas Pospisek
http://catb.org/~esr/faqs/smart-questions.html#noprivate Please reply to the list :-) Am 05.07.2013 13:13, schrieb curley andie: > When I try install using sudo apt-get install lxc I am getting the error > : unable to locate the package lxc. But the package lxc acutually exist. That's weird. Wha

Re: [lxc-devel] lxc

2013-07-05 Thread Tomas Pospisek
Am 05.07.2013 12:26, schrieb curley andie: > i am trying to install lxc on ubuntu. but i got the error u r missing > libcap support . so i installed libcap but still i am getting the same > error . pls provide a solution to ma problem asap http://catb.org/~esr/faqs/smart-questions.html#writewell

Re: [lxc-devel] lxc-execute and lxc-ls

2013-05-13 Thread Serge Hallyn
Quoting Purcareata Bogdan-B43198 (b43...@freescale.com): > Hello, > > Should lxc-ls list containers created with lxc-execute as well? > > E.g. when running "lxc-execute -n ctx1 /bin/bash", you may run "lxc-info -n > ctx1" and it will output > > state: RUNNING > pid: 4063 > > but when is

Re: [lxc-devel] lxc-start from git hangs in init

2013-04-29 Thread Serge Hallyn
Quoting Kevin Wilson (wkev...@gmail.com): > Hello, > This is the output (o1); I ran on > Ubuntu 12.10 (GNU/Linux 3.5.0-17-generic x86_64) > > lxc-start -n CN -l info -o o1 -f /etc/lxc/lxc.conf /sbin/init > > > And /etc/lxc/lxc.conf is in fact commented out: > more /etc/lxc/lxc.conf > #lxc.net

Re: [lxc-devel] lxc-start from git hangs in init

2013-04-26 Thread Kevin Wilson
Hello, This is the output (o1); I ran on Ubuntu 12.10 (GNU/Linux 3.5.0-17-generic x86_64) lxc-start -n CN -l info -o o1 -f /etc/lxc/lxc.conf /sbin/init And /etc/lxc/lxc.conf is in fact commented out: more /etc/lxc/lxc.conf #lxc.network.type=veth #lxc.network.link=lxcbr0 #lxc.network.flags=up

Re: [lxc-devel] lxc-start from git hangs in init

2013-04-22 Thread Serge Hallyn
Quoting Kevin Wilson (wkev...@gmail.com): > Hello, > I just want to add, following a different thread I read here, that: > > lxc-execute -n CN -f /etc/lxc/lxc.conf -- ps -ef > seems ok, it gives: > UIDPID PPID C STIME TTY TIME CMD > root 1 0 0 05:39 pts/100:00:0

Re: [lxc-devel] lxc-start from git hangs in init

2013-04-21 Thread Serge Hallyn
Quoting Kevin Wilson (wkev...@gmail.com): > Hello, > I just want to add, following a different thread I read here, that: > > lxc-execute -n CN -f /etc/lxc/lxc.conf -- ps -ef > seems ok, it gives: > UIDPID PPID C STIME TTY TIME CMD > root 1 0 0 05:39 pts/100:00:0

Re: [lxc-devel] lxc-start from git hangs in init

2013-04-20 Thread Kevin Wilson
Hello, I just want to add, following a different thread I read here, that: lxc-execute -n CN -f /etc/lxc/lxc.conf -- ps -ef seems ok, it gives: UIDPID PPID C STIME TTY TIME CMD root 1 0 0 05:39 pts/100:00:00 /usr/local/libexec/lxc/lxc-init root 2 1

Re: [lxc-devel] LXC 0.9 release, staging branch re-opened for 1.0

2013-04-08 Thread Serge Hallyn
Quoting Christian Seiler (christ...@iwakd.de): > Hi there, > > > A draft roadmap for 1.0 can be found at: > > https://wiki.ubuntu.com/LXC/1.0-roadmap > > > > Feel free to add items to that list. We'll use the mailing-list to > > coordinate the work as usual. > > I've been working on using LXC co

Re: [lxc-devel] LXC 0.9 release, staging branch re-opened for 1.0

2013-04-08 Thread Christian Seiler
Hi there, > A draft roadmap for 1.0 can be found at: > https://wiki.ubuntu.com/LXC/1.0-roadmap > > Feel free to add items to that list. We'll use the mailing-list to > coordinate the work as usual. I've been working on using LXC containers in a Pacemaker (Linux-HA) environment, i.e. writing reso

Re: [lxc-devel] [Lxc-users] LXC- ARM6 RaspberryPI Fedora core 14

2013-04-05 Thread Benito
Thanks for your help. I love the lxc idea though, and yes im trying to run a legacy app. All out of luck, qemu doesnt seem to be an option either. I have to look elsewhere for a solution. On 04/05/2013 03:29 PM, Michael H. Warfield wrote: > On Fri, 2013-04-05 at 14:02 +0200, Benito wrote: >> Hi

Re: [lxc-devel] [Lxc-users] LXC- ARM6 RaspberryPI Fedora core 14

2013-04-05 Thread Michael H. Warfield
On Fri, 2013-04-05 at 14:02 +0200, Benito wrote: > Hi Again > Just a follow up question, I had a chat today with an ArchArm user in > the IRC chat channel, and > he said that it is impossible to run a x86 container on Lxc with an ARM > host . Is this true ? > Because if it is, lxc doesn't really

Re: [lxc-devel] [Lxc-users] LXC- ARM6 RaspberryPI Fedora core 14

2013-04-05 Thread Serge Hallyn
Quoting Bas Pape (basp...@gmail.com): > > Just a follow up question, I had a chat today with an ArchArm user in > > the IRC chat channel, and > > he said that it is impossible to run a x86 container on Lxc with an ARM > > host . Is this true ? > > Yes, it is. Linux containers (the concept, not jus

Re: [lxc-devel] [Lxc-users] LXC- ARM6 RaspberryPI Fedora core 14

2013-04-05 Thread Bas Pape
> Just a follow up question, I had a chat today with an ArchArm user in > the IRC chat channel, and > he said that it is impossible to run a x86 container on Lxc with an ARM > host . Is this true ? Yes, it is. Linux containers (the concept, not just this particular set of tools) use the host kerne

Re: [lxc-devel] [Lxc-users] LXC- ARM6 RaspberryPI Fedora core 14

2013-04-05 Thread Benito
Hi Again Just a follow up question, I had a chat today with an ArchArm user in the IRC chat channel, and he said that it is impossible to run a x86 container on Lxc with an ARM host . Is this true ? Because if it is, lxc doesn't really help with the Pi at all . On 04/03/2013 11:10 PM, Michael

Re: [lxc-devel] [Lxc-users] LXC- ARM6 RaspberryPI Fedora core 14

2013-04-03 Thread Michael H. Warfield
Cross posting over to the developers list, since this is definitely a developer issue... On Wed, 2013-04-03 at 11:29 +0200, Benito wrote: > Hi There > > I've been working on a project on the Raspberry PI , where we want to > run a 32-bit /64-bit fedora 14 container > on the RaspberryPi . I've ha

Re: [lxc-devel] [Lxc-users] Containers slow to start after 1600

2013-03-19 Thread Serge Hallyn
Quoting Benoit Lourdelet (blour...@juniper.net): > Hello Serge, > > I forgot to mention that I removed it already ! Great, thanks. This is something we can to go the linux-kernel m-l with. If you don't mind, I'll send an email and cc: you? --

Re: [lxc-devel] [Lxc-users] Containers slow to start after 1600

2013-03-19 Thread Benoit Lourdelet
Hello Serge, I forgot to mention that I removed it already ! Benoit On 19/03/2013 16:52, "Serge Hallyn" wrote: >Quoting Benoit Lourdelet (blour...@juniper.net): >> Hello Serge, >> >> I put together a small table, running your script for various values : >> >> Time are in seconds, >> >> Numb

Re: [lxc-devel] [Lxc-users] Containers slow to start after 1600

2013-03-19 Thread Serge Hallyn
Quoting Benoit Lourdelet (blour...@juniper.net): > Hello Serge, > > I put together a small table, running your script for various values : > > Time are in seconds, > > Number of veth, time to create, time to delete: > > 500 18 26 > > 1000 57 70 > > 2000 193 250 > > 3000 435 510 > > 4000 7

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 shoul

Re: [lxc-devel] lxc-lenny: Remove deprecated template

2013-03-11 Thread Serge Hallyn
> Debian 5.0 Lenny turned out of support on the 6th of February 2012. > > From now on, the only supported Debian template is lxc-debian. > > Signed-off-by: Stéphane Graber -- Symantec Endpoint Protection 12 positioned as

Re: [lxc-devel] lxc-attach: NSS handling

2013-03-04 Thread Serge Hallyn
Quoting Christian Seiler (christ...@iwakd.de): > Hi there, > > I've run into the problem multiple times now that lxc-attach can't > detect the default shell of my current user properly, since the NSS > implementations of host and container are incompatible. > > One of the patches I just sent to t

Re: [lxc-devel] lxc-start exit code 130

2013-02-12 Thread Serge Hallyn
Quoting Alexander Vladimirov (alexander.idkfa.vladimi...@gmail.com): > Despite container seems to work and shutdown without any visible errors, I > get exit code 130 when lxc-start terminates. That's not much of a problem, > but requires some workarounds when running as systemd service and could >

Re: [lxc-devel] [Lxc-users] CentOS init.d services not started upon start

2013-01-17 Thread Shibashish
Thanks Mike for the reply. [root@myvm1 ~]# runlevel 3 3 I modified /etc/rc.d/rc.sysinit as suggested by http://lxc.teegra.net/#_init_setup and added the default gateway. On close inspection, i see that the default gw is not pushed and the services are still not starting up. Also, this behavior s

Re: [lxc-devel] [Lxc-users] CentOS init.d services not started upon start

2013-01-17 Thread Michael H. Warfield
On Thu, 2013-01-17 at 20:48 +0530, Shibashish wrote: > Hi, > My runlevel services, i.e. whatever is in /etc/init.d/ is not started when > I start a container using "/usr/bin/lxc-start -d -n myvm1". How do I start > those automatically? > I'm on CentOS 6.3, lxc built from git branch staging. Stra

Re: [lxc-devel] [Lxc-users] lxc-ps lxc-netstat not working

2013-01-07 Thread Natanael Copa
On Mon, 7 Jan 2013 09:33:30 -0600 Serge Hallyn wrote: > Quoting Shibashish (shi...@gmail.com): > > I am on CentOS 6.3 and got lxc working on it. But when I run lxc-ps > > or lxc-netstat, i get the following errors... > > > > lxc-ps: no cgroup mount point found > > lxc-netstat: no cgroup mount po

Re: [lxc-devel] [Lxc-users] lxc-ps lxc-netstat not working

2013-01-07 Thread Serge Hallyn
Quoting Shibashish (shi...@gmail.com): > I am on CentOS 6.3 and got lxc working on it. But when I run lxc-ps or > lxc-netstat, i get the following errors... > > lxc-ps: no cgroup mount point found > lxc-netstat: no cgroup mount point found > > > Relevant lines in lxc-ps.in... (I tried bot the op

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

2012-12-18 Thread Eric W. Biederman
Daniel Lezcano writes: > Hi Serge, > > thanks for the pointer. > > I though it was for user ns only. The pieces were closely interrelated so I used the same tree. > Cool to see Eric is taking care of the final bits of this feature. My apologies for letting it languish so long. That wasn't my

Re: [lxc-devel] lxc-clone

2012-12-14 Thread Serge Hallyn
Quoting Han Yuejuan-B42073 (b42...@freescale.com): > When I want to clone a container with "lxc-clone -o ctx1 -n ctx2": > There will be some error info about rsync as below: > > Tweaking configuration > Copying rootfs... > rsync: writefd_unbuffered failed to write 4092 bytes to socket [sender]: >

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

2012-12-13 Thread Stéphane Graber
On 12/13/2012 03:59 PM, Daniel Lezcano wrote: > 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: >> >> - Prope

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

2012-12-13 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 matc

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

2012-12-11 Thread Stéphane Graber
On 12/11/2012 10:07 AM, Frederic Crozat wrote: > Le mardi 11 décembre 2012 à 09:56 -0500, Stéphane Graber a écrit : >> On 12/11/2012 09:35 AM, Frederic Crozat wrote: >>> Le mardi 11 décembre 2012 à 09:23 -0500, Stéphane Graber a écrit : On 12/11/2012 05:12 AM, Daniel Lezcano wrote: > On 12

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

2012-12-11 Thread Frederic Crozat
Le mardi 11 décembre 2012 à 09:56 -0500, Stéphane Graber a écrit : > On 12/11/2012 09:35 AM, Frederic Crozat wrote: > > Le mardi 11 décembre 2012 à 09:23 -0500, Stéphane Graber a écrit : > >> On 12/11/2012 05:12 AM, Daniel Lezcano wrote: > >>> On 12/10/2012 11:36 PM, Stéphane Graber wrote: > H

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

2012-12-11 Thread Stéphane Graber
On 12/11/2012 09:35 AM, Frederic Crozat wrote: > Le mardi 11 décembre 2012 à 09:23 -0500, Stéphane Graber a écrit : >> On 12/11/2012 05:12 AM, Daniel Lezcano wrote: >>> On 12/10/2012 11:36 PM, Stéphane Graber wrote: Hi Daniel, You'll find the 0.9.alpha1 pull request below.

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

2012-12-11 Thread Frederic Crozat
Le mardi 11 décembre 2012 à 09:23 -0500, Stéphane Graber a écrit : > On 12/11/2012 05:12 AM, Daniel Lezcano wrote: > > 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 Copenhage

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

2012-12-11 Thread Stéphane Graber
On 12/11/2012 05:12 AM, Daniel Lezcano wrote: > 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: >> >> - Prope

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 matc

Re: [lxc-devel] LXC 0.9.alpha1

2012-12-10 Thread Stéphane Graber
On 12/10/2012 12:59 PM, Michael H. Warfield wrote: > On Mon, 2012-12-10 at 12:36 -0500, Stéphane Graber wrote: >> On 12/10/2012 12:30 PM, Michael H. Warfield wrote: >>> On Mon, 2012-12-10 at 12:09 -0500, Dwight Engen wrote: On Mon, 10 Dec 2012 10:35:17 -0500 Stéphane Graber wrote: >

Re: [lxc-devel] LXC 0.9.alpha1

2012-12-10 Thread Michael H. Warfield
On Mon, 2012-12-10 at 12:36 -0500, Stéphane Graber wrote: > On 12/10/2012 12:30 PM, Michael H. Warfield wrote: > > On Mon, 2012-12-10 at 12:09 -0500, Dwight Engen wrote: > >> On Mon, 10 Dec 2012 10:35:17 -0500 > >> Stéphane Graber wrote: > >> > >>> On 12/05/2012 11:54 AM, Stéphane Graber wrote: >

Re: [lxc-devel] LXC 0.9.alpha1

2012-12-10 Thread Stéphane Graber
On 12/10/2012 12:30 PM, Michael H. Warfield wrote: > On Mon, 2012-12-10 at 12:09 -0500, Dwight Engen wrote: >> On Mon, 10 Dec 2012 10:35:17 -0500 >> Stéphane Graber wrote: >> >>> On 12/05/2012 11:54 AM, Stéphane Graber wrote: Hello, After discussing this briefly with Daniel, I wante

Re: [lxc-devel] LXC 0.9.alpha1

2012-12-10 Thread Michael H. Warfield
On Mon, 2012-12-10 at 12:09 -0500, Dwight Engen wrote: > On Mon, 10 Dec 2012 10:35:17 -0500 > Stéphane Graber wrote: > > > On 12/05/2012 11:54 AM, Stéphane Graber wrote: > > > Hello, > > > > > > After discussing this briefly with Daniel, I wanted to make all of > > > you aware that we are curren

  1   2   3   >