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
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)
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,
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
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[])
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
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
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
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,
> > >>
> > >>
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 @@
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
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,
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
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
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:
> >>
> >> [...]
> >> >
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
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
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.
[...
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
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).
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 |
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
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
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
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
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
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
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
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
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.
> >
> > -
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
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
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
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
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
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
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
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
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
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/
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
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
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
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
>
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.
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
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
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
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
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
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
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
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
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
+++
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
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
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
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
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
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
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
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
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 |
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
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
65 matches
Mail list logo