Re: [lxc-devel] [PATCH 2/3] document lxc.rebootsignal

2015-02-16 Thread Serge Hallyn
Quoting Bogdan Purcareata (bogdan.purcare...@freescale.com): Also fix some minor indentation mishaps since we're here. Signed-off-by: Bogdan Purcareata bogdan.purcare...@freescale.com Acked-by: Serge E. Hallyn serge.hal...@ubuntu.com --- doc/lxc-stop.sgml.in | 4 +-

Re: [lxc-devel] [PATCH 1/3] add lxc.rebootsignal

2015-02-16 Thread Serge Hallyn
Quoting Bogdan Purcareata (bogdan.purcare...@freescale.com): Following the model of f0f1d8c076ae93d8ecf735c2eeae471e27ca6abd, add a reboot signal for special init processes that work on something other than SIGINT. Signed-off-by: Bogdan Purcareata bogdan.purcare...@freescale.com Acked-by:

[lxc-devel] [PATCH] /proc/stat in lxcfs

2015-02-16 Thread Christian Brauner
+else if (sscanf(cpu_char, %d, cpu) != 1) { This is an unorthodox (for lxc) coding style. Could you explain exactly what you're doing here? I would expect just: if (sscanf(cpu_char, %d, cpu) != 1)) continue; if (!cpu_in_cpuset(cpu, cpuset)) continue;

[lxc-devel] [lxc/lxc] fd0bef: Update CONTRIBUTING

2015-02-16 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: fd0bef1e5ef831fe1955eef6b1f3edb7fbec1781 https://github.com/lxc/lxc/commit/fd0bef1e5ef831fe1955eef6b1f3edb7fbec1781 Author: Дмитрий Пацура zaets28...@gmail.com Date: 2015-02-14 (Sat, 14 Feb 2015) Changed

[lxc-devel] ugly error messages

2015-02-16 Thread Tamas Papp
hi, root@brewers:/etc/lxc# lxc-create -n unicorn lxc_container: lxc_create.c: main: 271 Error creating container unicorn root@brewers:/etc/lxc# lxc-create -n unicorn -t ubuntu 'debootstrap' command is missing lxc_container: lxccontainer.c: create_run_template: 1125 container creation template

Re: [lxc-devel] Systemd creates btrfs subvolume under /var/lib/machines and makes lxc-destroy fail

2015-02-16 Thread Serge Hallyn
Quoting Christian Brauner (christianvanbrau...@gmail.com): On Sun, Feb 15, 2015 at 05:21:19PM +0100, Christian Brauner wrote: Hello, I test the newest systemd from git on a regular basis by compiling it and installing it into a container and booting it. I did that with the

Re: [lxc-devel] [PATCH] /proc/stat in lxcfs

2015-02-16 Thread Serge Hallyn
Quoting Christian Brauner (christianvanbrau...@gmail.com): Hello, /proc/stat mounted at /var/lib/lxcfs/ is currently missing (a) the cpu average-line from the hosts /proc/stat and (b) the numbering of the cores starts with 1 and not with the 0. (This will e.g. cause confusion for top/htop

[lxc-devel] [PATCH 3/3] lxc-busybox: use lxc.rebootsignal = SIGTERM

2015-02-16 Thread Bogdan Purcareata
Otherwise lxc-stop -r has no effect on the container. Signed-off-by: Bogdan Purcareata bogdan.purcare...@freescale.com --- templates/lxc-busybox.in | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in index 72531d6..7e05bd6 100644 ---

[lxc-devel] [PATCH 0/3] Add lxc.rebootsignal and apply to Busybox template

2015-02-16 Thread Bogdan Purcareata
Following the model of lxc.haltsignal and lxc.stopsignal, implement a lxc.rebootsignal option for a customized reboot signal. Required for Busybox containers, since Busybox init expects SIGTERM to reboot the container [1]. Sending SIGINT to a Busybox running container has no effect. Sent against

[lxc-devel] [PATCH 2/3] document lxc.rebootsignal

2015-02-16 Thread Bogdan Purcareata
Also fix some minor indentation mishaps since we're here. Signed-off-by: Bogdan Purcareata bogdan.purcare...@freescale.com --- doc/lxc-stop.sgml.in | 4 +- doc/lxc.container.conf.sgml.in | 106 + 2 files changed, 67 insertions(+), 43