[lxc-devel] [lxc/lxc] ccef56: call fclose() for pid_fp on failure

GitHub noreply at github.com
Mon Dec 9 20:07:08 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: ccef566eb0d1a8a4c8c85cb9839c4b7ed317745c
      https://github.com/lxc/lxc/commit/ccef566eb0d1a8a4c8c85cb9839c4b7ed317745c
  Author: S.Çağlar Onur <caglar at 10ur.org>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M src/lxc/lxc_start.c

  Log Message:
  -----------
  call fclose() for pid_fp on failure

Signed-off-by: S.Çağlar Onur <caglar at 10ur.org>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 826eb798825af0106bc2d475a5417dcf7152011d
      https://github.com/lxc/lxc/commit/826eb798825af0106bc2d475a5417dcf7152011d
  Author: S.Çağlar Onur <caglar at 10ur.org>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M templates/lxc-centos.in

  Log Message:
  -----------
  use /var/lock/subsys/lxc-centos instead of /var/lock/subsys/lxc as a lock name

Signed-off-by: S.Çağlar Onur <caglar at 10ur.org>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 802f869f4096b1be3d8c4d8615788e6817bb5d14
      https://github.com/lxc/lxc/commit/802f869f4096b1be3d8c4d8615788e6817bb5d14
  Author: S.Çağlar Onur <caglar at 10ur.org>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M templates/lxc-ubuntu.in

  Log Message:
  -----------
  use $LOCALSTATEDIR/lock/subsys/lxc-ubuntu$release as lock filename

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 release names

Signed-off-by: S.Çağlar Onur <caglar at 10ur.org>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: d3928441889e4c91d986bbbb41e791e18d2b1e91
      https://github.com/lxc/lxc/commit/d3928441889e4c91d986bbbb41e791e18d2b1e91
  Author: S.Çağlar Onur <caglar at 10ur.org>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M config/templates/ubuntu.common.conf.in

  Log Message:
  -----------
  ubuntu: add comments about running unconfined or nested containers

Signed-off-by: S.Çağlar Onur <caglar at 10ur.org>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/7f1dea04a404...d3928441889e


More information about the lxc-devel mailing list