[lxc-devel] [PATCH] [cosmetic] use same ifndef/define format for all headers

2014-05-08 Thread S . Çağlar Onur
Signed-off-by: S.Çağlar Onur --- src/lxc/af_unix.h| 4 src/lxc/arguments.h | 4 ++-- src/lxc/attach.h | 4 ++-- src/lxc/attach_options.h | 4 ++-- src/lxc/caps.h | 4 ++-- src/lxc/cgroup.h | 4 ++-- src/lxc/commands.h | 4 ++-- src/lxc/conf.h

Re: [lxc-devel] [PATCH] Documentation for Autoboot behaviour.

2014-05-08 Thread Serge Hallyn
Quoting Michael H. Warfield (m...@wittsend.com): > This is a part of (now) 4 patches controlling the autoboot process. > Dwight submitted the first patch to change the sysvinit script and the > systemd service to use the sysvinit script during the autoboot process. > > Subject: [PATCH v2] have sys

Re: [lxc-devel] [lxc/lxc] 31efc3: archlinux template: added sigpwr handling to syste...

2014-05-08 Thread Leonid Isaev
On Wed, 7 May 2014 18:37:29 -0400 Dwight Engen wrote: > [...] > > I think lxc-fedora has similar. I don't think its wrong per se, given > that man systemd(1) says "When this signal is received the systemd > manager will start the sigpwr.target unit.". The dependency tree for poweroff.target an

[lxc-devel] [lxc/lxc] 29b0b0: cgmanager: detect whether cgmanager supports name=...

2014-05-08 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 29b0b04b32a5aa22ebcf043984a2a12c180104d3 https://github.com/lxc/lxc/commit/29b0b04b32a5aa22ebcf043984a2a12c180104d3 Author: Serge Hallyn Date: 2014-05-08 (Thu, 08 May 2014) Changed paths: M src/lxc/cgmana

Re: [lxc-devel] [PATCH 1/1] cgmanager: detect whether cgmanager supports name= subsystems

2014-05-08 Thread Stéphane Graber
On Thu, May 08, 2014 at 12:23:53PM -0500, Serge Hallyn wrote: > On older cgmanager the support was broken. So rather than > fail container starts altogether, just keep the old lxc behavior > in this case by not using name= subsystems. > > Signed-off-by: Serge Hallyn Acked-by: Stéphane Graber

[lxc-devel] [PATCH 1/1] cgmanager: detect whether cgmanager supports name= subsystems

2014-05-08 Thread Serge Hallyn
On older cgmanager the support was broken. So rather than fail container starts altogether, just keep the old lxc behavior in this case by not using name= subsystems. Signed-off-by: Serge Hallyn --- src/lxc/cgmanager.c | 21 - 1 file changed, 20 insertions(+), 1 deletion(-)

Re: [lxc-devel] Probably more of a user list than a devel lis question but ...

2014-05-08 Thread Michael J Coss
On 5/8/2014 9:41 AM, Serge Hallyn wrote: Probably only means that you have a mtab file and should use mount -n. Agreed. This is not mysterious. You're mounting sysfs under /etc/lxc/xxx/sys from lxc.clone.mount hook. This won't show up on the host bc you're already in a new ns. Next lxc will

Re: [lxc-devel] [RFC] lxc-start: daemonize by default

2014-05-08 Thread Deyan Doychev
On 04/30/2014 05:20 PM, John Peacock wrote: > Yes, Yes, 1024 times Yes! And 1024 times more! Speaking of defaults here is another proposal. Since all the lxc- commands are always invoked using the -n option and specifying a container name, we could allow for -n to be skipped. For example if we h

[lxc-devel] [lxc/lxc] 58291e: doc: Fix Japanese lxc.container.conf(5)

2014-05-08 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 58291e3a431ec735bd45d5abd27496fb462e8b9b https://github.com/lxc/lxc/commit/58291e3a431ec735bd45d5abd27496fb462e8b9b Author: KATOH Yasufumi Date: 2014-05-08 (Thu, 08 May 2014) Changed paths: M doc/ja/lxc.c

Re: [lxc-devel] [PATCH] doc: Fix Japanese lxc.container.conf(5)

2014-05-08 Thread Serge Hallyn
Quoting KATOH Yasufumi (ka...@jazz.email.ne.jp): > commit aafea1f was incomplete. > > Signed-off-by: KATOH Yasufumi Acked-by: Serge E. Hallyn > --- > doc/ja/lxc.container.conf.sgml.in | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/doc/ja/lxc.container.conf.sgml.

Re: [lxc-devel] [PATCH] doc: Fix Japanese lxc.container.conf(5)

2014-05-08 Thread Stéphane Graber
On Thu, May 08, 2014 at 06:04:55PM +0900, KATOH Yasufumi wrote: > commit aafea1f was incomplete. > > Signed-off-by: KATOH Yasufumi Acked-by: Stéphane Graber > --- > doc/ja/lxc.container.conf.sgml.in | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/doc/ja/lxc.conta

Re: [lxc-devel] Probably more of a user list than a devel lis question but ...

2014-05-08 Thread Serge Hallyn
Quoting Michael J Coss (michael.c...@alcatel-lucent.com): > On 5/7/2014 5:33 PM, Serge Hallyn wrote: > >http://www.freedesktop.org/wiki/Software/systemd/ContainerInterface/ > >says that if /sys is pre-mounted readonly , then systemd will not > >mount it. But of course if it's empty i could easily s

[lxc-devel] [PATCH] doc: Fix Japanese lxc.container.conf(5)

2014-05-08 Thread KATOH Yasufumi
commit aafea1f was incomplete. Signed-off-by: KATOH Yasufumi --- doc/ja/lxc.container.conf.sgml.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/ja/lxc.container.conf.sgml.in b/doc/ja/lxc.container.conf.sgml.in index 9ce4abd..0135648 100644 --- a/doc/ja/lxc.contain