[lxc-devel] [PATCH] Add lxc.disable_kmsg option

2013-03-12 Thread Alexander Vladimirov
Disables /dev/kmsg symlinking if set to 1. Signed-off-by: Alexander Vladimirov --- doc/lxc.conf.sgml.in | 19 +++ src/lxc/conf.c | 6 -- src/lxc/conf.h | 1 + src/lxc/confile.c| 12 4 files changed, 36 insertions(+), 2 deletions(-) diff --git a

Re: [lxc-devel] [PATCH] Remove MAKEDEV call, add autodev hooks, add environment variables for hook scripts.

2013-03-12 Thread Ward, David - 0663 - MITLL
On 03/12/2013 06:12 PM, Michael H. Warfield wrote: Hey all. On Tue, 2013-03-12 at 15:55 -0500, Serge Hallyn wrote: Quoting Ward, David - 0663 - MITLL (david.w...@ll.mit.edu): Michael, Serge, On 01/09/2013 03:38 PM, Michael H. Warfield wrote: 4) clearenv and putenv( "container=lxc" ) calls we

Re: [lxc-devel] [PATCH] Remove MAKEDEV call, add autodev hooks, add environment variables for hook scripts.

2013-03-12 Thread Michael H. Warfield
Hey all. On Tue, 2013-03-12 at 15:55 -0500, Serge Hallyn wrote: > Quoting Ward, David - 0663 - MITLL (david.w...@ll.mit.edu): > > Michael, Serge, > > > > On 01/09/2013 03:38 PM, Michael H. Warfield wrote: > > >4) clearenv and putenv( "container=lxc" ) calls were moved to just after > > >the "star

Re: [lxc-devel] [PATCH] Make /dev/kmsg symlinking optional, add lxc.kmsg option

2013-03-12 Thread Serge Hallyn
Quoting Alexander Vladimirov (alexander.idkfa.vladimi...@gmail.com): > Had this changeset hanging around for some time, maybe this would be useful > until some better solution come up. If the default becomes 1, then ack. > Signed-off-by: Alexander Vladimirov > --- > src/lxc/conf.c| 6 -

Re: [lxc-devel] [PATCH] Remove MAKEDEV call, add autodev hooks, add environment variables for hook scripts.

2013-03-12 Thread Serge Hallyn
Quoting Ward, David - 0663 - MITLL (david.w...@ll.mit.edu): > Michael, Serge, > > On 01/09/2013 03:38 PM, Michael H. Warfield wrote: > >4) clearenv and putenv( "container=lxc" ) calls were moved to just after > >the "start" hook in the container just prior to actually firing up the > >container so

Re: [lxc-devel] [PATCH] oracle template: fixes for older releases

2013-03-12 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > This fixes some issues found by Oracle QA, including several cosmetic > errors seen during container bootup. > > The rpm database needs moving on Debian hosts similar to on Ubuntu. > > I took Serge's suggestions: Do the yum install in an unshared

Re: [lxc-devel] [PATCH] Remove MAKEDEV call, add autodev hooks, add environment variables for hook scripts.

2013-03-12 Thread Ward, David - 0663 - MITLL
Michael, Serge, On 01/09/2013 03:38 PM, Michael H. Warfield wrote: 4) clearenv and putenv( "container=lxc" ) calls were moved to just after the "start" hook in the container just prior to actually firing up the container so we could use environment variables prior to that and have them flushed t

[lxc-devel] [PATCH] oracle template: fixes for older releases

2013-03-12 Thread Dwight Engen
This fixes some issues found by Oracle QA, including several cosmetic errors seen during container bootup. The rpm database needs moving on Debian hosts similar to on Ubuntu. I took Serge's suggestions: Do the yum install in an unshared mount namespace so the /proc mount done during OL4 install d

Re: [lxc-devel] [PATCH/RFC] Add lxc.stopsignal config option

2013-03-12 Thread Serge Hallyn
Quoting Alexander Vladimirov (alexander.idkfa.vladimi...@gmail.com): > I remember discussion about implementing proper way to shutdown > guests using different signals, so here's a patch proposal. > It allows to use specific signal numbers to shutdown guests > gracefully, for example SIGRTMIN+4 sta

[lxc-devel] [PATCH/RFC] Add lxc.stopsignal config option

2013-03-12 Thread Alexander Vladimirov
I remember discussion about implementing proper way to shutdown guests using different signals, so here's a patch proposal. It allows to use specific signal numbers to shutdown guests gracefully, for example SIGRTMIN+4 starts poweroff.target in systemd. Signed-off-by: Alexander Vladimirov --- do