Re: [lxc-devel] lxc-destroy erased my hard disc

2014-01-14 Thread Dan Fandrich
On Tue, Jan 14, 2014 at 04:48:57PM -0600, Serge Hallyn wrote: > Quoting Dan Fandrich (d...@coneharvesters.com): > > On Mon, Jan 13, 2014 at 06:23:24PM -0600, Serge Hallyn wrote: > > > Gah, that really does suck, sorry. The need to run as root has always > > > been annoying. We're finally at the p

[lxc-devel] [PATCH] cgroup.c: redefine the valid cgroup name

2014-01-14 Thread Qiang Huang
Signed-off-by: Qiang Huang --- src/lxc/cgroup.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lxc/cgroup.c b/src/lxc/cgroup.c index 6d837f9..69910cc 100644 --- a/src/lxc/cgroup.c +++ b/src/lxc/cgroup.c @@ -1669,7 +1669,11 @@ bool is_valid_cgroup(const char *name)

Re: [lxc-devel] Last minute template addition - universal image based template

2014-01-14 Thread Stéphane Graber
On Tue, Jan 14, 2014 at 10:02:39PM -0500, S.Çağlar Onur wrote: > On Tue, Jan 14, 2014 at 9:50 PM, Stéphane Graber wrote: > > On Tue, Jan 14, 2014 at 09:48:13PM -0500, Stéphane Graber wrote: > >> On Tue, Jan 14, 2014 at 09:30:50PM -0500, S.Çağlar Onur wrote: > >> > On Tue, Jan 14, 2014 at 9:24 PM,

Re: [lxc-devel] Last minute template addition - universal image based template

2014-01-14 Thread S . Çağlar Onur
On Tue, Jan 14, 2014 at 9:50 PM, Stéphane Graber wrote: > On Tue, Jan 14, 2014 at 09:48:13PM -0500, Stéphane Graber wrote: >> On Tue, Jan 14, 2014 at 09:30:50PM -0500, S.Çağlar Onur wrote: >> > On Tue, Jan 14, 2014 at 9:24 PM, Stéphane Graber >> > wrote: >> > > On Tue, Jan 14, 2014 at 09:12:31PM

[lxc-devel] [PATCH] Always try to create lxcpath

2014-01-14 Thread Stéphane Graber
Signed-off-by: Stéphane Graber --- src/lxc/lxc_create.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lxc/lxc_create.c b/src/lxc/lxc_create.c index d02dacc..6d94709 100644 --- a/src/lxc/lxc_create.c +++ b/src/lxc/lxc_create.c @@ -206,6 +206,9 @@ int main(int argc, char *argv[])

[lxc-devel] [PATCH] lxc-download: Fix undefined DOWNLOAD_FORCE_CACHE

2014-01-14 Thread Stéphane Graber
Signed-off-by: Stéphane Graber --- templates/lxc-download.in | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/lxc-download.in b/templates/lxc-download.in index aa93b59..d1d1e5b 100644 --- a/templates/lxc-download.in +++ b/templates/lxc-download.in @@ -35,6 +35,7 @@ DOWNLOAD_KEYID="0x

[lxc-devel] [lxc/lxc] b02274: lxccontainer.c: check lxc_conf before referance ha...

2014-01-14 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: b022744452e07085a6b0fd1d110fee77263a2581 https://github.com/lxc/lxc/commit/b022744452e07085a6b0fd1d110fee77263a2581 Author: Qiang Huang Date: 2014-01-14 (Tue, 14 Jan 2014) Changed paths: M src/lxc/lxccont

Re: [lxc-devel] [PATCH] lxccontainer.c: check lxc_conf before referance haltsignal

2014-01-14 Thread Stéphane Graber
On Wed, Jan 15, 2014 at 10:45:18AM +0800, Qiang Huang wrote: > If we start container with rcfile(see comments in lxc_start.c), it > is possible that we have no config file in /usr/local/var/lib/lxc. > So when we try lxc_stop, lxc_container_new will not load any config > so we'll get c->lxc_conf = N

Re: [lxc-devel] Last minute template addition - universal image based template

2014-01-14 Thread Stéphane Graber
On Tue, Jan 14, 2014 at 09:48:13PM -0500, Stéphane Graber wrote: > On Tue, Jan 14, 2014 at 09:30:50PM -0500, S.Çağlar Onur wrote: > > On Tue, Jan 14, 2014 at 9:24 PM, Stéphane Graber > > wrote: > > > On Tue, Jan 14, 2014 at 09:12:31PM -0500, S.Çağlar Onur wrote: > > >> Hey Stéphane, > > >> > > >>

[lxc-devel] [PATCH] lxc-download: Fix wrong option parsing

2014-01-14 Thread Stéphane Graber
Signed-off-by: Stéphane Graber --- templates/lxc-download.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/lxc-download.in b/templates/lxc-download.in index 04f5846..aa93b59 100644 --- a/templates/lxc-download.in +++ b/templates/lxc-download.in @@ -172,7 +172,7 @@

Re: [lxc-devel] Last minute template addition - universal image based template

2014-01-14 Thread Stéphane Graber
On Tue, Jan 14, 2014 at 09:30:50PM -0500, S.Çağlar Onur wrote: > On Tue, Jan 14, 2014 at 9:24 PM, Stéphane Graber wrote: > > On Tue, Jan 14, 2014 at 09:12:31PM -0500, S.Çağlar Onur wrote: > >> Hey Stéphane, > >> > >> On Tue, Jan 14, 2014 at 6:52 PM, Stéphane Graber > >> wrote: > >> > On Tue, Jan

[lxc-devel] [PATCH] lxccontainer.c: check lxc_conf before referance haltsignal

2014-01-14 Thread Qiang Huang
If we start container with rcfile(see comments in lxc_start.c), it is possible that we have no config file in /usr/local/var/lib/lxc. So when we try lxc_stop, lxc_container_new will not load any config so we'll get c->lxc_conf = NULL. In that case, we'll get Segmentation fault in lxcapi_shutdown,

[lxc-devel] [PATCH] lxc-download: POSIX doesn't specify -f for chown

2014-01-14 Thread Stéphane Graber
Signed-off-by: Stéphane Graber --- templates/lxc-download.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/lxc-download.in b/templates/lxc-download.in index c318041..04f5846 100644 --- a/templates/lxc-download.in +++ b/templates/lxc-download.in @@ -396,7 +396,7

Re: [lxc-devel] Last minute template addition - universal image based template

2014-01-14 Thread S . Çağlar Onur
On Tue, Jan 14, 2014 at 9:24 PM, Stéphane Graber wrote: > On Tue, Jan 14, 2014 at 09:12:31PM -0500, S.Çağlar Onur wrote: >> Hey Stéphane, >> >> On Tue, Jan 14, 2014 at 6:52 PM, Stéphane Graber wrote: >> > On Tue, Jan 14, 2014 at 06:38:43PM -0500, Dwight Engen wrote: >> >> On Mon, 13 Jan 2014 20:5

Re: [lxc-devel] Last minute template addition - universal image based template

2014-01-14 Thread Stéphane Graber
On Tue, Jan 14, 2014 at 09:12:31PM -0500, S.Çağlar Onur wrote: > Hey Stéphane, > > On Tue, Jan 14, 2014 at 6:52 PM, Stéphane Graber wrote: > > On Tue, Jan 14, 2014 at 06:38:43PM -0500, Dwight Engen wrote: > >> On Mon, 13 Jan 2014 20:56:23 -0500 > >> Stéphane Graber wrote: > >> > >> [...] > >> >

Re: [lxc-devel] Last minute template addition - universal image based template

2014-01-14 Thread S . Çağlar Onur
Hey Stéphane, On Tue, Jan 14, 2014 at 6:52 PM, Stéphane Graber wrote: > On Tue, Jan 14, 2014 at 06:38:43PM -0500, Dwight Engen wrote: >> On Mon, 13 Jan 2014 20:56:23 -0500 >> Stéphane Graber wrote: >> >> [...] >> > >> > Yeah, I did a few last-minute changes. >> > >> > fstab is no longer required

Re: [lxc-devel] Last minute template addition - universal image based template

2014-01-14 Thread Stéphane Graber
On Tue, Jan 14, 2014 at 06:38:43PM -0500, Dwight Engen wrote: > On Mon, 13 Jan 2014 20:56:23 -0500 > Stéphane Graber wrote: > > [...] > > > > Yeah, I did a few last-minute changes. > > > > fstab is no longer required (only copied over if it's there). > > > > If the expiry file is messing, it's

Re: [lxc-devel] Last minute template addition - universal image based template

2014-01-14 Thread Dwight Engen
On Mon, 13 Jan 2014 20:56:23 -0500 Stéphane Graber wrote: [...] > > Yeah, I did a few last-minute changes. > > fstab is no longer required (only copied over if it's there). > > If the expiry file is messing, it's simply assumed that the container > won't expire. Nice, that makes sense. [...

[lxc-devel] [lxc/lxc] 3139ae: Fix return value of userns_exec_1

2014-01-14 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 3139aead4d5e91147ae6dfc1ac3ef516bcde7222 https://github.com/lxc/lxc/commit/3139aead4d5e91147ae6dfc1ac3ef516bcde7222 Author: Stéphane Graber Date: 2014-01-14 (Tue, 14 Jan 2014) Changed paths: M src/lxc/con

Re: [lxc-devel] [PATCH] Fix return value of userns_exec_1

2014-01-14 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > Instead of always returning -1 and call SYSERROR when the child returns > non-zero. Have userns_exec_1 always return the return value from the > function it's calling and let the caller do the error handling (as is > already done by its only caller).

[lxc-devel] [PATCH] Fix return value of userns_exec_1

2014-01-14 Thread Stéphane Graber
Instead of always returning -1 and call SYSERROR when the child returns non-zero. Have userns_exec_1 always return the return value from the function it's calling and let the caller do the error handling (as is already done by its only caller). Signed-off-by: Stéphane Graber --- src/lxc/conf.c |

[lxc-devel] [Fixed] lxc/lxc#62 (master - 275a2d0)

2014-01-14 Thread Travis CI
Build Update for lxc/lxc - Build: #62 Status: Fixed Duration: 2 minutes and 59 seconds Commit: 275a2d0 (master) Author: Stéphane Graber Message: tests: Fix startone's call to want_daemonize Signed-off-by: Stéphane Graber View the changeset: https://github.c

[lxc-devel] [PATCH 1/2] debian: Support ssh host keys regeneration

2014-01-14 Thread Stéphane Graber
Signed-off-by: Stéphane Graber --- templates/lxc-debian.in | 24 1 file changed, 24 insertions(+) diff --git a/templates/lxc-debian.in b/templates/lxc-debian.in index d6f07b9..f399c0b 100644 --- a/templates/lxc-debian.in +++ b/templates/lxc-debian.in @@ -93,6 +93,30 @@ E

[lxc-devel] [PATCH 2/2] ubuntu: Fix path to openssh-server's postinst

2014-01-14 Thread Stéphane Graber
The path isn't relative to @LOCALSTATEDIR@ Signed-off-by: Stéphane Graber --- templates/lxc-ubuntu.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/lxc-ubuntu.in b/templates/lxc-ubuntu.in index a707f5b..d9bb8a4 100644 --- a/templates/lxc-ubuntu.in +++ b/templa

[lxc-devel] [Still Failing] lxc/lxc#61 (master - b335cf8)

2014-01-14 Thread Travis CI
Build Update for lxc/lxc - Build: #61 Status: Still Failing Duration: 3 minutes and 59 seconds Commit: b335cf8 (master) Author: Stéphane Graber Message: lxc-archlinux: Cleanup fstab It's been brought to my attention that the read-only mount of /proc/sys is cau

Re: [lxc-devel] [PATCH] gentoo template (updated network management, master rebase)

2014-01-14 Thread lxc
Le 14/01/2014 23:40, Stéphane Graber a écrit : > On Tue, Jan 14, 2014 at 11:34:19PM +0100, l...@zitta.fr wrote: >> Le 14/01/2014 22:42, Stéphane Graber a écrit : >>> On Tue, Jan 14, 2014 at 12:06:26AM +0100, l...@zitta.fr wrote: Gentoo template Signed-off-by: gza >>> Hi, >>> >>> I

Re: [lxc-devel] lxc-destroy erased my hard disc

2014-01-14 Thread Serge Hallyn
Quoting Dan Fandrich (d...@coneharvesters.com): > On Mon, Jan 13, 2014 at 06:23:24PM -0600, Serge Hallyn wrote: > > Gah, that really does suck, sorry. The need to run as root has always > > been annoying. We're finally at the point that some containers can be > > created and run entirely as non-r

[lxc-devel] [PATCH 1/1] Initial support for cgmanager

2014-01-14 Thread Serge Hallyn
This patch splits out most of the cgroupfs-specific code, so that cgroup-manager versions can be plugged in. The case I did not handle is cgroup_enter at lxc_attach. I'm hoping that case can be greatly simplified, but will worry about it after fleshing out the cgroup manager handlers. This also

Re: [lxc-devel] [PATCH] gentoo template (updated network management, master rebase)

2014-01-14 Thread Stéphane Graber
On Tue, Jan 14, 2014 at 11:34:19PM +0100, l...@zitta.fr wrote: > > Le 14/01/2014 22:42, Stéphane Graber a écrit : > > On Tue, Jan 14, 2014 at 12:06:26AM +0100, l...@zitta.fr wrote: > >> Gentoo template > >> > >> Signed-off-by: gza > > Hi, > > > > I must admit having only very briefly gone through

Re: [lxc-devel] [PATCH] Modify lxc-fedora and lxc-centos for multiple issues...

2014-01-14 Thread Michael H. Warfield
On Tue, 2014-01-14 at 17:02 -0500, Stéphane Graber wrote: > On Sun, Jan 12, 2014 at 08:53:49PM -0500, Michael H. Warfield wrote: > > This is a reissue of two previous patches along with some additional > > changes for hardening the root password process based on discussions > > on-list. > > > > -

[lxc-devel] [lxc/lxc] 275a2d: tests: Fix startone's call to want_daemonize

2014-01-14 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 275a2d0bcacb6e584083988c28166be780a156e4 https://github.com/lxc/lxc/commit/275a2d0bcacb6e584083988c28166be780a156e4 Author: Stéphane Graber Date: 2014-01-14 (Tue, 14 Jan 2014) Changed paths: M src/tests/s

[lxc-devel] [Still Failing] lxc/lxc#59 (master - d16079b)

2014-01-14 Thread Travis CI
Build Update for lxc/lxc - Build: #59 Status: Still Failing Duration: 3 minutes and 9 seconds Commit: d16079b (master) Author: Stéphane Graber Message: ubuntu: Set default hwaddr to match template Signed-off-by: Stéphane Graber View the changeset: https://g

[lxc-devel] [Still Failing] lxc/lxc#60 (master - b4f7af7)

2014-01-14 Thread Travis CI
Build Update for lxc/lxc - Build: #60 Status: Still Failing Duration: 2 minutes and 6 seconds Commit: b4f7af7 (master) Author: Michael H. Warfield Message: Modify lxc-fedora and lxc-centos for multiple issues... This is a reissue of two previous patches along

Re: [lxc-devel] [PATCH] gentoo template (updated network management, master rebase)

2014-01-14 Thread lxc
Le 14/01/2014 22:42, Stéphane Graber a écrit : > On Tue, Jan 14, 2014 at 12:06:26AM +0100, l...@zitta.fr wrote: >> Gentoo template >> >> Signed-off-by: gza > Hi, > > I must admit having only very briefly gone through the code as I'm not > familiar with Gentoo and it's a rather massive template to

[lxc-devel] [lxc/lxc] d8c77a: lxc-archlinux: don't drop mknod capability

2014-01-14 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: d8c77af0ae59a3c48a44a11c95b991bd10473713 https://github.com/lxc/lxc/commit/d8c77af0ae59a3c48a44a11c95b991bd10473713 Author: John Lane Date: 2014-01-14 (Tue, 14 Jan 2014) Changed paths: M templates/lxc-arc

[lxc-devel] [Still Failing] lxc/lxc#58 (master - f8d0243)

2014-01-14 Thread Travis CI
Build Update for lxc/lxc - Build: #58 Status: Still Failing Duration: 2 minutes and 8 seconds Commit: f8d0243 (master) Author: l...@zitta.fr Message: gentoo: Initial template Signed-off-by: gza Acked-by: Stéphane Graber View the changeset: https://github.c

Re: [lxc-devel] [PATCH] Modify lxc-fedora and lxc-centos for multiple issues...

2014-01-14 Thread Stéphane Graber
On Sun, Jan 12, 2014 at 08:53:49PM -0500, Michael H. Warfield wrote: > This is a reissue of two previous patches along with some additional > changes for hardening the root password process based on discussions > on-list. > > -- > This patch modifies the lxc-fedora and lxc-centos templates for 3

[lxc-devel] [lxc/lxc] b4f7af: Modify lxc-fedora and lxc-centos for multiple issu...

2014-01-14 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: b4f7af7a520b23c873e404562ec518a576e63d4c https://github.com/lxc/lxc/commit/b4f7af7a520b23c873e404562ec518a576e63d4c Author: Michael H. Warfield Date: 2014-01-14 (Tue, 14 Jan 2014) Changed paths: M templat

[lxc-devel] [Broken] lxc/lxc#57 (master - c8ad5f4)

2014-01-14 Thread Travis CI
Build Update for lxc/lxc - Build: #57 Status: Broken Duration: 2 minutes and 57 seconds Commit: c8ad5f4 (master) Author: Serge Hallyn Message: api change: default container->daemonize to true Pretty much the only case where we do NOT want to daemonize a contai

[lxc-devel] [lxc/lxc] d16079: ubuntu: Set default hwaddr to match template

2014-01-14 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: d16079b6cb98290f474851611c9f6d264e9b30e7 https://github.com/lxc/lxc/commit/d16079b6cb98290f474851611c9f6d264e9b30e7 Author: Stéphane Graber Date: 2014-01-14 (Tue, 14 Jan 2014) Changed paths: M config/etc/

[lxc-devel] [lxc/lxc] f8d024: gentoo: Initial template

2014-01-14 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5b https://github.com/lxc/lxc/commit/f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5b Author: l...@zitta.fr Date: 2014-01-14 (Tue, 14 Jan 2014) Changed paths: M .gitignore

Re: [lxc-devel] [PATCH] gentoo template (updated network management, master rebase)

2014-01-14 Thread Stéphane Graber
On Tue, Jan 14, 2014 at 12:06:26AM +0100, l...@zitta.fr wrote: > Gentoo template > > Signed-off-by: gza Hi, I must admit having only very briefly gone through the code as I'm not familiar with Gentoo and it's a rather massive template to do a full review of. I just noticed you're missing a .gi

[lxc-devel] [lxc/lxc] c8ad5f: api change: default container->daemonize to true

2014-01-14 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: c8ad5f4623bb5e61b1065047a22b90182daa2e66 https://github.com/lxc/lxc/commit/c8ad5f4623bb5e61b1065047a22b90182daa2e66 Author: Serge Hallyn Date: 2014-01-14 (Tue, 14 Jan 2014) Changed paths: M src/lxc/lxc_st

Re: [lxc-devel] [PATCH 1/1] RFC: api change: default container->daemonize to true

2014-01-14 Thread Stéphane Graber
On Mon, Jan 13, 2014 at 11:08:48AM -0600, Serge Hallyn wrote: > Pretty much the only case where we do NOT want to daemonize > a container start is lxc-start. So make c->daemonize true > by default, and have lxc-start set it to false. > > If there are existing API users who rely on daemonize by >

[lxc-devel] [lxc/lxc] 4213a7: Make ubuntu templates squid-deb-proxy-client aware

2014-01-14 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 4213a747e8f2f953114be798bab0e2bf11da4563 https://github.com/lxc/lxc/commit/4213a747e8f2f953114be798bab0e2bf11da4563 Author: Chris Glass Date: 2014-01-14 (Tue, 14 Jan 2014) Changed paths: M hooks/Makefile.

[lxc-devel] [lxc/lxc] 17abf2: handle simple bashisms:

2014-01-14 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 17abf2784de1047fb2904ff130ee5efe4ea7b598 https://github.com/lxc/lxc/commit/17abf2784de1047fb2904ff130ee5efe4ea7b598 Author: Elan Ruusamäe Date: 2014-01-14 (Tue, 14 Jan 2014) Changed paths: M templates/lxc

[lxc-devel] [lxc/lxc] 3aa0ac: lxc-start-ephemeral: Fix syntax error in aufs

2014-01-14 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 3aa0acaf0cbb70088ef1517b3ed97c39f3693606 https://github.com/lxc/lxc/commit/3aa0acaf0cbb70088ef1517b3ed97c39f3693606 Author: Åsmund Grammeltvedt Date: 2014-01-14 (Tue, 14 Jan 2014) Changed paths: M src/lxc

[lxc-devel] [lxc/lxc] 33aa35: download: Fix download_sig logic

2014-01-14 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 33aa351ac13936fb2549403f18a44fed32b2edfb https://github.com/lxc/lxc/commit/33aa351ac13936fb2549403f18a44fed32b2edfb Author: Stéphane Graber Date: 2014-01-14 (Tue, 14 Jan 2014) Changed paths: M templates/l

Re: [lxc-devel] [PATCH 4/4] download: Improve cache handling

2014-01-14 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > This adds a new --force-cache parameter which will force use of the > cache even for expired images. > > An expired image is now only flushed from the cache once a new one is > successfuly downloaded (to avoid destroying the local cache when the > h

Re: [lxc-devel] [PATCH 3/4] download: Support listing available images

2014-01-14 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > Signed-off-by: Stéphane Graber (Didn't test, but looks ok) Acked-by: Serge E. Hallyn > --- > templates/lxc-download.in | 60 > ++- > 1 file changed, 54 insertions(+), 6 deletions(-) > > diff --git a

Re: [lxc-devel] [PATCH 2/4] download: Don't use an hardcoded exclude list

2014-01-14 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > Instead of hardcoding --exclude=./dev/*, use a new metadata file > "excludes" which lists all the paths or patterns to exclude during > extraction (one per line). > > Signed-off-by: Stéphane Graber Acked-by: Serge E. Hallyn > --- > templates/lx

Re: [lxc-devel] [PATCH 1/4] download: Fix download_sig logic

2014-01-14 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > Signed-off-by: Stéphane Graber Acked-by: Serge E. Hallyn > --- > templates/lxc-download.in | 19 +-- > 1 file changed, 13 insertions(+), 6 deletions(-) > > diff --git a/templates/lxc-download.in b/templates/lxc-download.in > ind

[lxc-devel] [PATCH 4/4] download: Improve cache handling

2014-01-14 Thread Stéphane Graber
This adds a new --force-cache parameter which will force use of the cache even for expired images. An expired image is now only flushed from the cache once a new one is successfuly downloaded (to avoid destroying the local cache when the host doesn't have internet connectivity). The ID of the bui

[lxc-devel] [PATCH 3/4] download: Support listing available images

2014-01-14 Thread Stéphane Graber
Signed-off-by: Stéphane Graber --- templates/lxc-download.in | 60 ++- 1 file changed, 54 insertions(+), 6 deletions(-) diff --git a/templates/lxc-download.in b/templates/lxc-download.in index 2298a9b..70a2389 100644 --- a/templates/lxc-download.in +++

[lxc-devel] [PATCH 1/4] download: Fix download_sig logic

2014-01-14 Thread Stéphane Graber
Signed-off-by: Stéphane Graber --- templates/lxc-download.in | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/templates/lxc-download.in b/templates/lxc-download.in index fa54686..4f28d0c 100644 --- a/templates/lxc-download.in +++ b/templates/lxc-download.in

[lxc-devel] [PATCH 2/4] download: Don't use an hardcoded exclude list

2014-01-14 Thread Stéphane Graber
Instead of hardcoding --exclude=./dev/*, use a new metadata file "excludes" which lists all the paths or patterns to exclude during extraction (one per line). Signed-off-by: Stéphane Graber --- templates/lxc-download.in | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) d

Re: [lxc-devel] Pull request: make ubuntu templates apt proxy aware

2014-01-14 Thread Stéphane Graber
On Tue, Jan 14, 2014 at 06:07:32PM +0100, Chris Glass wrote: > Should I post the patch to this list instead or is it simply that > nobody had time to look at it yet? > I don't mean to sound pushy at all (sorry if I do), I'm just trying to > contribute "the right way" :) > > Thanks > > - Chris No

Re: [lxc-devel] Pull request: make ubuntu templates apt proxy aware

2014-01-14 Thread Chris Glass
Should I post the patch to this list instead or is it simply that nobody had time to look at it yet? I don't mean to sound pushy at all (sorry if I do), I'm just trying to contribute "the right way" :) Thanks - Chris On Mon, Jan 13, 2014 at 6:23 PM, Chris Glass wrote: > (gmail is messing with m

Re: [lxc-devel] Last minute template addition - universal image based template

2014-01-14 Thread KATOH Yasufumi
Hi, > Due to the way the Jenkins job were setup, we always start from a clean > environment, so that means re-downloading everything every time. > For templates using http that's not a big problem because I have a > gigabit Debian and Ubuntu mirror on site and I have a gigabit squid > proxy for

Re: [lxc-devel] Last minute template addition - universal image based template

2014-01-14 Thread Stéphane Graber
On Tue, Jan 14, 2014 at 09:04:32PM +0900, KATOH Yasufumi wrote: > Hi, > > >>> On Mon, 13 Jan 2014 18:33:04 -0500 > in message "Re: [lxc-devel] Last minute template addition - universal > image based template" > St$(D+1(Bphane Graber-san wrote: > > > I've added pla

Re: [lxc-devel] RFC: cgroups aware proc

2014-01-14 Thread Peter Zijlstra
On Tue, Jan 14, 2014 at 02:58:14AM +0200, Marian Marinov wrote: > On 01/13/2014 07:12 PM, Peter Zijlstra wrote: > >On Mon, Jan 13, 2014 at 06:23:50PM +0200, Marian Marinov wrote: > >>Hello Peter, > >> > >>I need help with the scheduler. > >> > >>I'm currently trying to patch the /proc/loadavg to sh

[lxc-devel] [lxc/lxc] 83b4b1: doc: Update lxc.conf(5)

2014-01-14 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 83b4b1dca80ab147a7596ffb634863c138b8d9cf https://github.com/lxc/lxc/commit/83b4b1dca80ab147a7596ffb634863c138b8d9cf Author: KATOH Yasufumi Date: 2014-01-14 (Tue, 14 Jan 2014) Changed paths: M doc/ja/lxc.c

Re: [lxc-devel] [PATCH] doc: Update lxc.conf(5)

2014-01-14 Thread Stéphane Graber
On Tue, Jan 14, 2014 at 03:51:47PM +0900, KATOH Yasufumi wrote: > * Update Japanese lxc.conf(5) for commit > 508c263ee6ed2fac73f6979af287caba38963b4b > * Remove duplicate line in English lxc.conf(5) > > Signed-off-by: KATOH Yasufumi Acked-by: Stéphane Graber > --- > doc/ja/lxc.conf.sgml.in |

Re: [lxc-devel] Last minute template addition - universal image based template

2014-01-14 Thread KATOH Yasufumi
Hi, >>> On Mon, 13 Jan 2014 18:33:04 -0500 in message "Re: [lxc-devel] Last minute template addition - universal image based template" St$(D+1(Bphane Graber-san wrote: > I've added plamo support to Jenkins and built two initial images. I > still need to hook Jenkins to

Re: [lxc-devel] lxc-destroy erased my hard disc

2014-01-14 Thread Dan Fandrich
On Mon, Jan 13, 2014 at 06:23:24PM -0600, Serge Hallyn wrote: > Gah, that really does suck, sorry. The need to run as root has always > been annoying. We're finally at the point that some containers can be > created and run entirely as non-root, so that your host should be a lot > safer. That's