[lxc-devel] [PATCH] call fclose() for pid_fp on failure

2013-12-07 Thread S . Çağlar Onur
Signed-off-by: S.Çağlar Onur --- src/lxc/lxc_start.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lxc/lxc_start.c b/src/lxc/lxc_start.c index 5e4565c..d006ba1 100644 --- a/src/lxc/lxc_start.c +++ b/src/lxc/lxc_start.c @@ -346,6 +346,8 @@ int main(int argc, char *argv[]) out:

[lxc-devel] [PATCH] use /var/lock/subsys/lxc-centos instead of /var/lock/subsys/lxc as a lock name

2013-12-07 Thread S . Çağlar Onur
Signed-off-by: S.Çağlar Onur --- templates/lxc-centos.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/lxc-centos.in b/templates/lxc-centos.in index 6000cf2..95802dc 100644 --- a/templates/lxc-centos.in +++ b/templates/lxc-centos.in @@ -376,7 +376,7 @@ install_

[lxc-devel] [PATCH] use $LOCALSTATEDIR/lock/subsys/lxc-ubuntu$release as lock filename

2013-12-07 Thread S . Çağlar Onur
Otherwise one cannot create two containers with different releases (let's say saucy [cached] and raring [not caced]) if both are not cached on the local filesystem already. The lock blocks cached one to move forward until not cached one finishes it's downloads. Fix that by seperating locks using r

[lxc-devel] [PATCH] add comments about running unconfined or nesting containers back to ubuntu.common.conf

2013-12-07 Thread S . Çağlar Onur
Signed-off-by: S.Çağlar Onur --- config/templates/ubuntu.common.conf.in | 7 +++ 1 file changed, 7 insertions(+) diff --git a/config/templates/ubuntu.common.conf.in b/config/templates/ubuntu.common.conf.in index 8c61033..1195175 100644 --- a/config/templates/ubuntu.common.conf.in +++ b/conf