[lxc-devel] [GIT] lxc branch, master, updated. 0411a75203ef20037ff5d9ac59c10ca5890e8fc8

2011-03-22 Thread Daniel Lezcano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "lxc".

The branch, master has been updated
   via  0411a75203ef20037ff5d9ac59c10ca5890e8fc8 (commit)
   via  bf83c5b90b347c4d61d5f0cff917c131c09edcd0 (commit)
   via  95642a106820def0499d7aa24baa0d119d998700 (commit)
   via  6d10f1fcdc50789ffab87313a9b54d15ba4365db (commit)
   via  dae3fdf6b66f5bc309c4482e4a304c744569a81a (commit)
   via  76f74594a176fe1591c5e6910c08a80364ff8640 (commit)
  from  f3bc28bd6128b61efb84906a617e9d09df88eecc (commit)

Those revisions listed 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 0411a75203ef20037ff5d9ac59c10ca5890e8fc8
Author: François-Xavier Bourlet 
Date:   Tue Mar 22 15:10:37 2011 +0100

lxc_cgroup_path_get, cache the right value

lxc_cgroup_path_get currently cache the cgroup mount point plus the
container name at the same time, making every call of the function
returning the same value.
It mean that actually every call to lxc_cgroup_get with a different
container name will in fact use the same container name as used for
the primary call.

I join a patch to fix that, still doing some caching, but only caching
the cgroup moint point this time. This patch actually work for me, as
I am using the liblxc for retrieving statistics about all running
containers, using lxc_cgroup_get to retrieve every interesting values.

Signed-off-by: Daniel Lezcano 

commit bf83c5b90b347c4d61d5f0cff917c131c09edcd0
Author: Michael Santos 
Date:   Sat Mar 19 11:11:31 2011 -0400

confile: check allocation succeeds

Signed-off-by: Michael Santos 
Signed-off-by: Daniel Lezcano 

commit 95642a106820def0499d7aa24baa0d119d998700
Author: Michael Santos 
Date:   Sat Mar 19 11:11:03 2011 -0400

conf: increase buffer size to include spaces

Signed-off-by: Michael Santos 
Signed-off-by: Daniel Lezcano 

commit 6d10f1fcdc50789ffab87313a9b54d15ba4365db
Author: Michael Santos 
Date:   Sat Mar 19 11:10:34 2011 -0400

arguments: check allocation succeeds

Signed-off-by: Michael Santos 
Signed-off-by: Daniel Lezcano 

commit dae3fdf6b66f5bc309c4482e4a304c744569a81a
Author: Michael Santos 
Date:   Sat Mar 19 11:10:12 2011 -0400

network: ensure interface name is NULL terminated

IFNAMSIZ includes the trailing NULL.

Signed-off-by: Michael Santos 
Signed-off-by: Daniel Lezcano 

commit 76f74594a176fe1591c5e6910c08a80364ff8640
Author: Michael Santos 
Date:   Sat Mar 19 11:09:44 2011 -0400

lxc_unshare: edit help output

Signed-off-by: Michael Santos 
Signed-off-by: Daniel Lezcano 

---

Summary of changes:
 src/lxc/arguments.c   |   16 +---
 src/lxc/cgroup.c  |   29 +
 src/lxc/conf.c|8 ++--
 src/lxc/confile.c |   37 +
 src/lxc/lxc_unshare.c |4 ++--
 src/lxc/network.c |   22 +++---
 6 files changed, 74 insertions(+), 42 deletions(-)


hooks/post-receive
-- 
lxc

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel


Re: [lxc-devel] [PATCH 1/5] lxc_unshare: edit help output

2011-03-22 Thread Daniel Lezcano
On 03/19/2011 04:09 PM, Michael Santos wrote:
> Signed-off-by: Michael Santos
> ---
All patches applied.

Thanks

   -- Daniel

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel


Re: [lxc-devel] [PATCH] lxc_cgroup_path_get cache the wrong data

2011-03-22 Thread Daniel Lezcano
On 03/20/2011 05:19 AM, Francois-Xavier Bourlet wrote:
> Hi,
>
> lxc_cgroup_path_get currently cache the cgroup mount point plus the
> container name at the same time, making every call of the function
> returning the same value.
> It mean that actually every call to lxc_cgroup_get with a different
> container name will in fact use the same container name as used for
> the primary call.
>
> I join a patch to fix that, still doing some caching, but only caching
> the cgroup moint point this time. This patch actually work for me, as
> I am using the liblxc for retrieving statistics about all running
> containers, using lxc_cgroup_get to retrieve every interesting values.

Applied Thanks
   -- Daniel

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel


[lxc-devel] [GIT] lxc branch, master, updated. 1a91da6ca6b3679944757cad2aef93d85ea33ed0

2011-03-22 Thread Daniel Lezcano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "lxc".

The branch, master has been updated
   via  1a91da6ca6b3679944757cad2aef93d85ea33ed0 (commit)
  from  0411a75203ef20037ff5d9ac59c10ca5890e8fc8 (commit)

Those revisions listed 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 1a91da6ca6b3679944757cad2aef93d85ea33ed0
Author: Michel Normand 
Date:   Tue Mar 15 20:19:07 2011 +0100

lxc-* tools are vulnerable for arguments with spaces

this is related to the bug

http://sourceforge.net/tracker/?func=detail&aid=3113612&group_id=163076&atid=826303
that suggested to modify bash lxc script to properly use "$@" in place of 
"$*"

Signed-off-by: Michel Normand 
Signed-off-by: Daniel Lezcano 

---

Summary of changes:
 src/lxc/lxc-ls.in  |4 ++--
 src/lxc/lxc-netstat.in |6 +++---
 src/lxc/lxc-setcap.in  |4 ++--
 src/lxc/lxc-setuid.in  |6 +++---
 4 files changed, 10 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
lxc

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel


Re: [lxc-devel] [PATCH] lxc-* tools are vulnerable for arguments with spaces

2011-03-22 Thread Daniel Lezcano
On 03/15/2011 08:19 PM, Michel Normand wrote:
> this is related to the bug
> http://sourceforge.net/tracker/?func=detail&aid=3113612&group_id=163076&atid=826303
> that suggested to modify bash lxc script to properly use "$@" in place of "$*"
>
> Signed-off-by: Michel Normand
Applied, thanks Michel.

   -- Daniel

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel