[lxc-devel] [lxc/lxc] 3f5f5d: Fix some typos

GitHub noreply at github.com
Mon Jan 13 00:28:56 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 3f5f5d99b0ea1c204699b13d4a0caf4d9e745449
      https://github.com/lxc/lxc/commit/3f5f5d99b0ea1c204699b13d4a0caf4d9e745449
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-01-12 (Sun, 12 Jan 2014)

  Changed paths:
    M templates/lxc-ubuntu-cloud.in
    M templates/lxc-ubuntu.in

  Log Message:
  -----------
  Fix some typos

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 71d3a6590fe665421d7a0026d699b0654ddfc7f6
      https://github.com/lxc/lxc/commit/71d3a6590fe665421d7a0026d699b0654ddfc7f6
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-01-12 (Sun, 12 Jan 2014)

  Changed paths:
    M .gitignore
    M config/templates/Makefile.am
    M config/templates/ubuntu-cloud.userns.conf.in
    A config/templates/ubuntu.userns.conf.in
    M configure.ac
    M templates/Makefile.am
    A templates/lxc-download.in

  Log Message:
  -----------
  download: Initial template

This adds a new template called "download". It's a fairly simple
template with a minimal set of dependency which will grab any pre-built
image available on https://images.linuxcontainers.org
Note that the serverside is still work in progress (missing SSL support).

Access is done over https by default with a warning being emitted if
fallback to http was required (may be needed for testing, when behind
proxy and with private servers). All index files and tarballs are
gpg-signed with the default pubkeyid contained in the template itself.

The main benefit of this template is to be entirely
distribution-agnostic, any template that can be integrated with the
server build infrastructure will then work on any LXC machine when using
the download template. This template is also compatible with user
namespaces and will hopefully help widden the number of distros that may
work in unprivileged LXC.

This commit also bundles a small change to the template configs to have
the ubuntu template (used by the download template) to work with
unprivileged LXC.

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


  Commit: 603c64c289e0413c26f650fbf0fd5adcfed0c153
      https://github.com/lxc/lxc/commit/603c64c289e0413c26f650fbf0fd5adcfed0c153
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-01-12 (Sun, 12 Jan 2014)

  Changed paths:
    M src/lxc/cgroup.c

  Log Message:
  -----------
  cgroup: recursively delete cgroups when asked

Currently when a container is shut down, lxc walks the set of all
cgroup paths it created, in reverse order, and tries to remove them.
This doesn't suffice if the container has also created new cgroups.

It'd be impolite to recursively remove all the cgroup paths we created,
since this can include '/lxc' and thereunder all other containers
started since.

This patch changes container shutdown to only delete the container's own
path, but do so recursively.  Note that if we fail during startup,
the container won't have created any cgroup paths so it the old
way works fine.

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


  Commit: df2d4205073d3f57543951ca7ffabf891b230634
      https://github.com/lxc/lxc/commit/df2d4205073d3f57543951ca7ffabf891b230634
  Author: Dwight Engen <dwight.engen at oracle.com>
  Date:   2014-01-12 (Sun, 12 Jan 2014)

  Changed paths:
    M doc/lxc.conf.sgml.in
    M src/lxc/confile.c

  Log Message:
  -----------
  ensure all config items are duplicated on clone/write_config

Since previously I had found a config item that wasn't being propagated
by lxc-clone, I went through all the config items and made sure that:
 a) Each item is documented in lxc.conf
 b) Each item is written out by write_config

The only one that isn't is lxc.include, which by its nature only pulls
in other config item types.

Signed-off-by: Dwight Engen <dwight.engen at oracle.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/2e59ba029ebd...df2d4205073d


More information about the lxc-devel mailing list