[lxc-devel] [PATCH] oracle template: use @LOCALSTATEDIR@ instead of hardcoded /var for lock dir

2012-12-06 Thread Dwight Engen
Signed-off-by: Dwight Engen --- templates/lxc-oracle.in |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/lxc-oracle.in b/templates/lxc-oracle.in index 243f0e4..eadee3a 100644 --- a/templates/lxc-oracle.in +++ b/templates/lxc-oracle.in @@ -337,7 +337,7 @@ cont

Re: [lxc-devel] [PATCH 2/4] lxc-archlinux: Don't hardcode /var/lib/lxc in help

2012-12-06 Thread Stéphane Graber
On 12/06/2012 12:07 AM, Serge Hallyn wrote: > Quoting Stéphane Graber (stgra...@ubuntu.com): >> Signed-off-by: Stéphane Graber >> --- >> templates/lxc-archlinux.in | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/templates/lxc-archlinux.in b/templates/lxc-archlinux.in >

Re: [lxc-devel] [PATCH 3/4] templates: Consistent use of locking

2012-12-06 Thread Stéphane Graber
On 12/06/2012 12:14 AM, Serge Hallyn wrote: > Quoting Stéphane Graber (stgra...@ubuntu.com): >> Move to per-template lock (except for oracle that's per-container). >> Also ensure that the path used for the lock is relative to LOCALSTATEDIR. >> >> Signed-off-by: Stéphane Graber > > I believe a few

Re: [lxc-devel] [PATCH] oracle template: use @LOCALSTATEDIR@ instead of hardcoded /var for lock dir

2012-12-06 Thread Stéphane Graber
On 12/06/2012 09:19 AM, Dwight Engen wrote: > > Signed-off-by: Dwight Engen Thanks but I already proposed that yesterday and it landed a few minutes ago :) > --- > templates/lxc-oracle.in |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/templates/lxc-oracle.in

Re: [lxc-devel] [PATCH] oracle template: use @LOCALSTATEDIR@ instead of hardcoded /var for lock dir

2012-12-06 Thread Dwight Engen
On Thu, 06 Dec 2012 09:42:47 -0500 Stéphane Graber wrote: > On 12/06/2012 09:19 AM, Dwight Engen wrote: > > > > Signed-off-by: Dwight Engen > > Thanks but I already proposed that yesterday and it landed a few > minutes ago :) Sounds good. I just did a pull and didn't see it in there, which is

[lxc-devel] [PATCH] lxc.spec: add openssl and rsync as Required since both are used in lxc-clone

2012-12-06 Thread Dwight Engen
Signed-off-by: Dwight Engen --- lxc.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxc.spec.in b/lxc.spec.in index 094c34d..51997b5 100644 --- a/lxc.spec.in +++ b/lxc.spec.in @@ -29,7 +29,7 @@ Summary: %{name} : Linux Container Group: Applications/System License: LG

[lxc-devel] [PATCH RFC] Enable use of user namespaces in containers

2012-12-06 Thread Serge Hallyn
The rootfs will need to be chowned to the mapped userids, which can be done with the /usr/bin/uidmapshift tool shipped with the nsexec package in ppa:serge-hallyn/userns-natty. The container config supports new entries of the form: lxc.id_map = U 10 0 1 lxc.id_map = G 10 0 1 meani

Re: [lxc-devel] [PATCH] lxc.spec: add openssl and rsync as Required since both are used in lxc-clone

2012-12-06 Thread Stéphane Graber
On 12/06/2012 09:58 AM, Dwight Engen wrote: > Signed-off-by: Dwight Engen Acked-by: Stéphane Graber And pushed to staging. Thanks > --- > lxc.spec.in | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lxc.spec.in b/lxc.spec.in > index 094c34d..51997b5 100644 > --- a/lxc

Re: [lxc-devel] LXC 0.9.alpha1

2012-12-06 Thread Michael H. Warfield
On Wed, 2012-12-05 at 11:54 -0500, Stéphane Graber wrote: > Hello, > After discussing this briefly with Daniel, I wanted to make all of you > aware that we are currently planning on sending a pull request of the > staging branch on the 10th of December (next Monday). > This pull request will very

Re: [lxc-devel] LXC 0.9.alpha1

2012-12-06 Thread Michael H. Warfield
Deep down below... A correction... On Thu, 2012-12-06 at 11:57 -0500, Michael H. Warfield wrote: > On Wed, 2012-12-05 at 11:54 -0500, Stéphane Graber wrote: > > Hello, > > > After discussing this briefly with Daniel, I wanted to make all of you > > aware that we are currently planning on sending

Re: [lxc-devel] LXC 0.9.alpha1

2012-12-06 Thread Dwight Engen
On Thu, 06 Dec 2012 12:30:18 -0500 "Michael H. Warfield" wrote: > Deep down below... A correction... > > On Thu, 2012-12-06 at 11:57 -0500, Michael H. Warfield wrote: > > On Wed, 2012-12-05 at 11:54 -0500, Stéphane Graber wrote: > > > Hello, > > > > > After discussing this briefly with Daniel,

Re: [lxc-devel] LXC 0.9.alpha1

2012-12-06 Thread Michael H. Warfield
On Thu, 2012-12-06 at 12:46 -0500, Dwight Engen wrote: > On Thu, 06 Dec 2012 12:30:18 -0500 > "Michael H. Warfield" wrote: > Yeah, the duplicates are just warnings, but we probably should fix it by > listing the files individually instead of using the glob. > > > > Also got a /usr/local/var/li

Re: [lxc-devel] LXC 0.9.alpha1

2012-12-06 Thread Dwight Engen
On Thu, 6 Dec 2012 12:46:28 -0500 Dwight Engen wrote: > On Thu, 06 Dec 2012 12:30:18 -0500 > "Michael H. Warfield" wrote: > > > Deep down below... A correction... > > > > On Thu, 2012-12-06 at 11:57 -0500, Michael H. Warfield wrote: > > > On Wed, 2012-12-05 at 11:54 -0500, Stéphane Graber wro

[lxc-devel] [PATCH] assume LXCPATH took on default localstatedir based value in configure

2012-12-06 Thread Dwight Engen
On Thu, 06 Dec 2012 13:10:09 -0500 "Michael H. Warfield" wrote: > On Thu, 2012-12-06 at 12:46 -0500, Dwight Engen wrote: > > On Thu, 06 Dec 2012 12:30:18 -0500 > > "Michael H. Warfield" wrote: > > > > > Yeah, the duplicates are just warnings, but we probably should fix > > it by listing the f

Re: [lxc-devel] [PATCH RFC] Enable use of user namespaces in containers

2012-12-06 Thread Stéphane Graber
On 12/06/2012 10:02 AM, Serge Hallyn wrote: > The rootfs will need to be chowned to the mapped userids, which can > be done with the /usr/bin/uidmapshift tool shipped with the nsexec > package in ppa:serge-hallyn/userns-natty. > The container config supports new entries of the form: > lxc.id_map =

[lxc-devel] [PATCH 1/1] api: add set_cgroup_item and get_cgroup_item (to c api)

2012-12-06 Thread Serge Hallyn
set_cgroup_item takes a pointer to a running container, a cgroup subsystem name, and a char *value and it mimicks 'lxc-cgroup -n containername subsys value' get_cgroup_item takes a pointer to a running container, a a cgroup subsystem name, a destination value * and the length of the value b

Re: [lxc-devel] [PATCH RFC] Enable use of user namespaces in containers

2012-12-06 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): ... > I'm also wondering, what's the state of lxc-attach wrt user namespaces? > does it need any updating too? I need to check that still - I'm not sure. > > @@ -1221,7 +1221,7 @@ static int setup_kmsg(const struct lxc_rootfs *rootfs, > > return