[lxc-devel] [PATCH] lxc-ls: Optimize things a bit

2014-03-22 Thread Stéphane Graber
Don't bother access information that the user didn't request. Signed-off-by: Stéphane Graber --- src/lxc/lxc-ls.in | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lxc/lxc-ls.in b/src/lxc/lxc-ls.in index 7e35ab2..4665314 100755 --- a/src/lxc/lxc-ls.in +++ b/src/lxc

[lxc-devel] [lxc/lxc] 1418df: Fix arch cross-build when running distro cross-bui...

2014-03-22 Thread GitHub
Branch: refs/heads/stable-1.0 Home: https://github.com/lxc/lxc Commit: 1418dfc72928a256e2fbd58ff4f2c0165374b1d8 https://github.com/lxc/lxc/commit/1418dfc72928a256e2fbd58ff4f2c0165374b1d8 Author: Michael H. Warfield Date: 2014-03-22 (Sat, 22 Mar 2014) Changed paths: M tem

[lxc-devel] [lxc/lxc] dfb229: Fix arch cross-build when running distro cross-bui...

2014-03-22 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: dfb2291eca56361d0ffa2fcbca6bfecb65a623a7 https://github.com/lxc/lxc/commit/dfb2291eca56361d0ffa2fcbca6bfecb65a623a7 Author: Michael H. Warfield Date: 2014-03-22 (Sat, 22 Mar 2014) Changed paths: M templat

Re: [lxc-devel] [PATCH 4/4] Added root_password_expired password control tuning knob.

2014-03-22 Thread Stéphane Graber
On Sat, Mar 22, 2014 at 01:59:59PM -0400, Michael H. Warfield wrote: > Added root_password_expired password control tuning knob. > > Added the environment variable "root_password_expired" to > control if the initial, temporary, root password is initially > set up as "expired". If set to "yes" (de

Re: [lxc-devel] [PATCH 3/4] Support SIGPWR in Fedora and Centos containers.

2014-03-22 Thread Stéphane Graber
On Sat, Mar 22, 2014 at 01:58:35PM -0400, Michael H. Warfield wrote: > Support SIGPWR in Fedora and Centos containers. > > Added code to catch SIGPWR for Upstart in Fedora and CentOS > containers as well as for Systemd in Fedora containers. > > Signed-off-by: Michael H. Warfield Acked-by: Stéph

Re: [lxc-devel] [PATCH 2/4] Set timezone for new container if not previously defined.

2014-03-22 Thread Stéphane Graber
On Sat, Mar 22, 2014 at 01:57:36PM -0400, Michael H. Warfield wrote: > Set timezone for new container if not previously defined. > > If the container does not already contain an /etc/localtime > timezone definition, then copy a definition from the host to > the container. This is often a symlink

Re: [lxc-devel] [PATCH 1/4] Fix arch cross-build when running distro cross-build.

2014-03-22 Thread Stéphane Graber
On Sat, Mar 22, 2014 at 01:56:41PM -0400, Michael H. Warfield wrote: > Fix arch cross-build when running distro cross-build. > > Corner case existed when building a cross-arch container (i686 on x86_64) > on a cross-distro host (Fedora container on Ubuntu host). Fixed the > arch "fixup" code to d

[lxc-devel] [PATCH] lxc-ls: Fix memory reporting

2014-03-22 Thread Stéphane Graber
This resolves the memory math when memsw is enabled and fixes reporting of nested containers memory when using cgmanager. Signed-off-by: Stéphane Graber --- src/lxc/lxc-ls.in | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/lxc/lxc-ls.in b/src/lxc/lxc-ls.i

[lxc-devel] [PATCH 4/4] Added root_password_expired password control tuning knob.

2014-03-22 Thread Michael H. Warfield
Added root_password_expired password control tuning knob. Added the environment variable "root_password_expired" to control if the initial, temporary, root password is initially set up as "expired". If set to "yes" (default), the root password is set as "expired" and the user must change it at fi

[lxc-devel] [PATCH 3/4] Support SIGPWR in Fedora and Centos containers.

2014-03-22 Thread Michael H. Warfield
Support SIGPWR in Fedora and Centos containers. Added code to catch SIGPWR for Upstart in Fedora and CentOS containers as well as for Systemd in Fedora containers. Signed-off-by: Michael H. Warfield --- templates/lxc-centos.in | 12 templates/lxc-fedora.in | 15 +++ 2 f

[lxc-devel] [PATCH 2/4] Set timezone for new container if not previously defined.

2014-03-22 Thread Michael H. Warfield
Set timezone for new container if not previously defined. If the container does not already contain an /etc/localtime timezone definition, then copy a definition from the host to the container. This is often a symlink to an appropriate system timezone definition files and is presumed to exist in

[lxc-devel] [PATCH 1/4] Fix arch cross-build when running distro cross-build.

2014-03-22 Thread Michael H. Warfield
Fix arch cross-build when running distro cross-build. Corner case existed when building a cross-arch container (i686 on x86_64) on a cross-distro host (Fedora container on Ubuntu host). Fixed the arch "fixup" code to do the right thing when running from the bootstrap. Signed-off-by: Michael H. W

[lxc-devel] [PATCH 0/4] Updates for CentOS and Fedora Templates.

2014-03-22 Thread Michael H. Warfield
Various fixes and enhancements to the Fedora and CentOS templates. Per request from Stéphane, these have been broken out individually to allow him to cherry pick what he wants in which rev. One is to address and issue he reported to me earlier. Michael H. Warfield (4): Fix arch cross-build whe

[lxc-devel] [PATCH] criu: Add exec-cmd option (v3)

2014-03-22 Thread Deyan Doychev
From: Deyan Doychev The --exec-cmd option specifies a command that will be execvp()-ed on successful restore. This way the command specified here will become the parent process of the restored process tree. Waiting for the restored processes to finish is responsibility of this command. All serv