Re: [lxc-devel] Howto user namespaces?

2013-04-10 Thread Eric W. Biederman
richard -rw- weinberger writes: > On Wed, Apr 10, 2013 at 8:55 PM, Serge Hallyn wrote: >> Quoting richard -rw- weinberger (richard.weinber...@gmail.com): >>> This one? >>> https://launchpad.net/~ubuntu-lxc/+archive/kernel/+packages >>> >>> I'm not an Ubuntu guy and not very familiar with this pp

Re: [lxc-devel] [PATCH] Use container specific domain socket name

2013-04-10 Thread Daniel Lezcano
On 04/10/2013 09:42 PM, Stéphane Graber wrote: > On 04/10/2013 08:15 PM, Serge Hallyn wrote: >> Quoting Christian Seiler (christ...@iwakd.de): >>> Hi there, >>> Let's say I do sudo lxc-monitor -n r1 -n r2 and now do sudo lxc-start -n r1 How do we k

Re: [lxc-devel] Howto user namespaces?

2013-04-10 Thread richard -rw- weinberger
On Wed, Apr 10, 2013 at 8:55 PM, Serge Hallyn wrote: > Quoting richard -rw- weinberger (richard.weinber...@gmail.com): >> This one? >> https://launchpad.net/~ubuntu-lxc/+archive/kernel/+packages >> >> I'm not an Ubuntu guy and not very familiar with this ppa thingy. >> Isn't there a git repo to fi

Re: [lxc-devel] [PATCH] remove unused lxc_copy_file

2013-04-10 Thread Serge Hallyn
Quoting Serge Hallyn (serge.hal...@ubuntu.com): > Quoting Dwight Engen (dwight.en...@oracle.com): > > Commit e3642c43 added lxc_copy_file for use in 64e1ae63. The use of it > > was removed in commit 1bc60a65. Removing it reduces dead code and the > > footprint of liblxc. > > > > Signed-off-by: Dwi

Re: [lxc-devel] [PATCH] Use container specific domain socket name

2013-04-10 Thread Stéphane Graber
On 04/10/2013 08:15 PM, Serge Hallyn wrote: > Quoting Christian Seiler (christ...@iwakd.de): >> Hi there, >> >>> Let's say I do >>> >>> sudo lxc-monitor -n r1 -n r2 >>> >>> and now do >>> >>> sudo lxc-start -n r1 >>> >>> How do we know to send the 'started' event to the lxc-monitor, since >

Re: [lxc-devel] Howto user namespaces?

2013-04-10 Thread Serge Hallyn
Quoting richard -rw- weinberger (richard.weinber...@gmail.com): > On Tue, Apr 9, 2013 at 11:33 PM, richard -rw- weinberger > wrote: > > On Tue, Apr 9, 2013 at 11:07 PM, Serge Hallyn > > wrote: > >> Quoting richard -rw- weinberger (richard.weinber...@gmail.com): > >>> On Tue, Apr 9, 2013 at 3:19

Re: [lxc-devel] Howto user namespaces?

2013-04-10 Thread richard -rw- weinberger
On Tue, Apr 9, 2013 at 11:33 PM, richard -rw- weinberger wrote: > On Tue, Apr 9, 2013 at 11:07 PM, Serge Hallyn wrote: >> Quoting richard -rw- weinberger (richard.weinber...@gmail.com): >>> On Tue, Apr 9, 2013 at 3:19 PM, Serge Hallyn >>> wrote: >>> > Quoting richard -rw- weinberger (richard.we

[lxc-devel] Hostname setting in Fedora template

2013-04-10 Thread Thomas Moschny
Hi, Fedora systems using systemd should use /etc/hostname instead of /etc/sysconfig/network (the HOSTNAME=... setting), cf. https://bugzilla.redhat.com/show_bug.cgi?id=881785 So, we should probably change the lxc-fedora template to use this. - Thomas

Re: [lxc-devel] [PATCH] Use container specific domain socket name

2013-04-10 Thread Serge Hallyn
Quoting Christian Seiler (christ...@iwakd.de): > Hi there, > > > Let's say I do > > > > sudo lxc-monitor -n r1 -n r2 > > > > and now do > > > > sudo lxc-start -n r1 > > > > How do we know to send the 'started' event to the lxc-monitor, since > > there was not yet a lxc-start daemon run

Re: [lxc-devel] [PATCH] Use container specific domain socket name

2013-04-10 Thread Christian Seiler
Hi there, > Let's say I do > > sudo lxc-monitor -n r1 -n r2 > > and now do > > sudo lxc-start -n r1 > > How do we know to send the 'started' event to the lxc-monitor, since > there was not yet a lxc-start daemon running? Just to throw my 2¢ in there - why not use DBus for that? It

Re: [lxc-devel] [PATCH] Use container specific domain socket name

2013-04-10 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > On 04/10/2013 06:43 PM, Serge Hallyn wrote: > > Quoting Stéphane Graber (stgra...@ubuntu.com): > >> On 04/10/2013 06:49 AM, Serge Hallyn wrote: > >>> Quoting S.Çağlar Onur (cag...@10ur.org): > Hi Serge, > > On Tue, Apr 9, 2013 at 4:47

Re: [lxc-devel] [PATCH] Use container specific domain socket name

2013-04-10 Thread Stéphane Graber
On 04/10/2013 06:43 PM, Serge Hallyn wrote: > Quoting Stéphane Graber (stgra...@ubuntu.com): >> On 04/10/2013 06:49 AM, Serge Hallyn wrote: >>> Quoting S.Çağlar Onur (cag...@10ur.org): Hi Serge, On Tue, Apr 9, 2013 at 4:47 PM, Serge Hallyn wrote: > All right you made m

Re: [lxc-devel] [PATCH] Use container specific domain socket name

2013-04-10 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > On 04/10/2013 06:49 AM, Serge Hallyn wrote: > > Quoting S.Çağlar Onur (cag...@10ur.org): > >> Hi Serge, > >> > >> On Tue, Apr 9, 2013 at 4:47 PM, Serge Hallyn > >> wrote: > >> > >>> All right you made me finally take a closer look at the monitor cod

Re: [lxc-devel] [PATCH] Use container specific domain socket name

2013-04-10 Thread Stéphane Graber
On 04/10/2013 06:49 AM, Serge Hallyn wrote: > Quoting S.Çağlar Onur (cag...@10ur.org): >> Hi Serge, >> >> On Tue, Apr 9, 2013 at 4:47 PM, Serge Hallyn wrote: >> >>> All right you made me finally take a closer look at the monitor code >>> (which I'd been avoiding). It's much simpler than I'd imagin

Re: [lxc-devel] [PATCH] Enable support for chroot on busybox hosts

2013-04-10 Thread Serge Hallyn
Quoting Purcareata Bogdan-B43198 (b43...@freescale.com): > Hello, > > Thank you very much for your reply! I'm sorry for sending this in a hurry, > and not providing enough explanations. Please find my additional comment > inline. I understand waht you're trying to do, and agree with the basic p

Re: [lxc-devel] [PATCH] remove unused lxc_copy_file

2013-04-10 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > Commit e3642c43 added lxc_copy_file for use in 64e1ae63. The use of it > was removed in commit 1bc60a65. Removing it reduces dead code and the > footprint of liblxc. > > Signed-off-by: Dwight Engen Thanks, I had noticed this while implementing my

[lxc-devel] [PATCH] remove unused lxc_copy_file

2013-04-10 Thread Dwight Engen
Commit e3642c43 added lxc_copy_file for use in 64e1ae63. The use of it was removed in commit 1bc60a65. Removing it reduces dead code and the footprint of liblxc. Signed-off-by: Dwight Engen --- src/lxc/utils.c | 71 - src/lxc/utils.h | 1 -