Re: [lxc-devel] [PATCH 2/6] shutdown fixes for openSUSE container

2013-03-05 Thread Jiri Slaby
On 02/19/2013 08:44 PM, Serge Hallyn wrote: > Quoting Jiri Slaby (jsl...@suse.cz): >> From: Frederic Crozat >> >> - mount /run on tmpfs outside container >> - replace /var/run bind mount on /run by a symlink >> --- > > Formality, but could you please s

Re: [lxc-devel] [PATCH 4/6] lxc-opensuse: update for 12.2

2013-03-05 Thread Jiri Slaby
On 02/19/2013 08:51 PM, Serge Hallyn wrote: > Quoting Jiri Slaby (jsl...@suse.cz): >> From: Frederic Crozat >> >> This adaptation of systemd. We also add network configuration support. > > Is there any point in worrying about support for older versions? > > (I

[lxc-devel] [PATCH 7/7] lxc-opensuse: print \n from one echo

2013-03-05 Thread Jiri Slaby
Otherwise the output looks like: Copying rootfs to /var/lib/lxc/tomcat/rootfs ...Please change root-password ! --- templates/lxc-opensuse.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/lxc-opensuse.in b/templates/lxc-opensuse.in index 1829ddf..d8aa2a1 100644 --- a

[lxc-devel] [PATCH 6/6] lxc-opensuse: proper failure

2013-03-05 Thread Jiri Slaby
Fail if something goes wrong. We used to continue and show one failure after another. --- templates/lxc-opensuse.in | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/templates/lxc-opensuse.in b/templates/lxc-opensuse.in index 820368e..1829ddf 100644 --- a/templates

[lxc-devel] [PATCH 4/6] lxc-opensuse: update for 12.2

2013-03-05 Thread Jiri Slaby
From: Frederic Crozat This adaptation of systemd. We also add network configuration support. Jiri Slaby: cleanups, rebase --- templates/lxc-opensuse.in | 121 +++--- 1 file changed, 61 insertions(+), 60 deletions(-) diff --git a/templates/lxc

[lxc-devel] [PATCH 2/6] shutdown fixes for openSUSE container

2013-03-05 Thread Jiri Slaby
From: Frederic Crozat - mount /run on tmpfs outside container - replace /var/run bind mount on /run by a symlink --- templates/lxc-opensuse.in | 5 + 1 file changed, 5 insertions(+) diff --git a/templates/lxc-opensuse.in b/templates/lxc-opensuse.in index f69eae1..56e93d7 100644 --- a/templa

[lxc-devel] [PATCH 3/6] give a hint if old cgroup can't be moved

2013-03-05 Thread Jiri Slaby
From: Frederic Crozat When cgroup can't be moved, it might be a hint container is already running. --- src/lxc/cgroup.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lxc/cgroup.c b/src/lxc/cgroup.c index 28f3474..6630d6c 100644 --- a/src/lxc/cgroup.c +++ b/src/lxc/cgroup.c @@ -560,6

[lxc-devel] [PATCH 1/6] various fixes for openSUSE template for lxc-clone usage

2013-03-05 Thread Jiri Slaby
From: Frederic Crozat - create /etc/hostname as symlink to /etc/HOSTNAME - fix inadequate space in lxc.mount config, preventing lxc-clone to work Jiri Slaby: some cleanups --- templates/lxc-opensuse.in | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/templates/lxc

[lxc-devel] [PATCH 5/6] lxc-opensuse: extend base

2013-03-05 Thread Jiri Slaby
Base no longer provides bash, sed and tar, but we need those. So add them. --- templates/lxc-opensuse.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/lxc-opensuse.in b/templates/lxc-opensuse.in index 32ff4ec..820368e 100644 --- a/templates/lxc-opensuse.in +++ b/tem