[lxc-devel] [lxc/lxc] a9bf60: lxc-debian: support systemd as PID 1

GitHub noreply at github.com
Mon Nov 24 21:38:57 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: a9bf60bab547013a9873a3fb9efe61155e8694b8
      https://github.com/lxc/lxc/commit/a9bf60bab547013a9873a3fb9efe61155e8694b8
  Author: Antonio Terceiro <terceiro at debian.org>
  Date:   2014-11-24 (Mon, 24 Nov 2014)

  Changed paths:
    M templates/lxc-debian.in

  Log Message:
  -----------
  lxc-debian: support systemd as PID 1

Containers with systemd need a somewhat special setup, which I borrowed
and adapted from lxc-fedora. These changes are required so that Debian 8
(jessie) containers work properly, and are a no-op for previous Debian
versions.

Signed-off-by: Antonio Terceiro <terceiro at debian.org>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


  Commit: 6df4f94574b39071b6aa7d3f751100cd1920bfa1
      https://github.com/lxc/lxc/commit/6df4f94574b39071b6aa7d3f751100cd1920bfa1
  Author: TAMUKI Shoichi <tamuki at linet.gr.jp>
  Date:   2014-11-24 (Mon, 24 Nov 2014)

  Changed paths:
    M config/templates/plamo.common.conf.in
    M templates/lxc-plamo.in

  Log Message:
  -----------
  lxc-plamo: mount tmpfs on /dev/shm

Do mkdir $rootfs/dev/shm and then mount tmpfs on /dev/shm.

Signed-off-by: TAMUKI Shoichi <tamuki at linet.gr.jp>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


  Commit: 0dcbd62472d5062ff9df89e130176c517e42aec9
      https://github.com/lxc/lxc/commit/0dcbd62472d5062ff9df89e130176c517e42aec9
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-11-24 (Mon, 24 Nov 2014)

  Changed paths:
    M doc/lxc.sgml.in

  Log Message:
  -----------
  Fix the lxc manpage a bit

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


  Commit: 4086cea56d351ddaf3c16ed556431297276a6e90
      https://github.com/lxc/lxc/commit/4086cea56d351ddaf3c16ed556431297276a6e90
  Author: Dwight Engen <dwight.engen at oracle.com>
  Date:   2014-11-24 (Mon, 24 Nov 2014)

  Changed paths:
    M src/lua-lxc/core.c
    M src/lua-lxc/test/apitest.lua

  Log Message:
  -----------
  lua: fix return value of attach() method

Add simple test case for attach() method. Add assert for return value
from create() method which also returns a boolean.

Signed-off-by: Dwight Engen <dwight.engen at oracle.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: d52f2fd374b31c05f875fb2d8061e2a9271c8339
      https://github.com/lxc/lxc/commit/d52f2fd374b31c05f875fb2d8061e2a9271c8339
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-11-24 (Mon, 24 Nov 2014)

  Changed paths:
    M src/lxc/lxc_info.c

  Log Message:
  -----------
  lxc_info: flush stdout before calling routines which may fork

Otherwise both resulting takss will print what they had flushed when they
exit.

This fixes https://bugs.launchpad.net/bugs/1389244

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Tested-by: Tycho Andersen <tycho.andersen at canonical.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: a589434ecf980842b9ab1b4d81dc54410f389bef
      https://github.com/lxc/lxc/commit/a589434ecf980842b9ab1b4d81dc54410f389bef
  Author: Joel Nider <JOELN at il.ibm.com>
  Date:   2014-11-24 (Mon, 24 Nov 2014)

  Changed paths:
    M src/lxc/conf.c
    M src/lxc/conf.h
    M src/lxc/lxc_user_nic.c

  Log Message:
  -----------
  conf.c: change 'instanciate' to 'instantiate'

This is a multipart message in MIME format.

Fixes a small (but consistent) spelling mistake in conf.c

Signed-off-by: Joel Nider <joeln at il.ibm.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 6b4105628005f9fdf29aa15a80f85da48960c2d4
      https://github.com/lxc/lxc/commit/6b4105628005f9fdf29aa15a80f85da48960c2d4
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-11-24 (Mon, 24 Nov 2014)

  Changed paths:
    M templates/lxc-cirros.in

  Log Message:
  -----------
  lxc-cirros: support creating+running unprivileged

Support creation and use of lxc-cirros by unprivileged users.

If we detect we are an unprivileged user, then insist that we
be in a userns with a id mapping.

If we are in a userns, then don't extract /dev when extracting
the rootfs.

If we are not root, then save the tarball to ~/.cache/lxc/cirros
instead of /var/cache/lxc/cirros.

If we are not roo, then include entries to auto-mount proc and sys,
as well as bind-mount devices.

Cc: Scott Moser <smoser at ubuntu.com>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: c33bdec826338ce0b6da5c29101499cd139d6c1a
      https://github.com/lxc/lxc/commit/c33bdec826338ce0b6da5c29101499cd139d6c1a
  Author: Petar Koretic <petar.koretic at sartura.hr>
  Date:   2014-11-24 (Mon, 24 Nov 2014)

  Changed paths:
    M config/templates/Makefile.am
    A config/templates/openwrt.common.conf.in
    M configure.ac

  Log Message:
  -----------
  openwrt: add common configuration file

This adds OpenWrt common config file.

Signed-off-by: Petar Koretic <petar.koretic at sartura.hr>
CC: Luka Perkov <luka.perkov at sartura.hr>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/80cf8077b3f5...c33bdec82633


More information about the lxc-devel mailing list