[lxc-devel] [lxc/lxc] dbe92c: centos: Fix booting a Centos 6 container

GitHub noreply at github.com
Fri Jan 30 09:12:10 UTC 2015


  Branch: refs/heads/stable-1.0
  Home:   https://github.com/lxc/lxc
  Commit: dbe92cfb77856372b5698665e22a39757692d7fd
      https://github.com/lxc/lxc/commit/dbe92cfb77856372b5698665e22a39757692d7fd
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2015-01-29 (Thu, 29 Jan 2015)

  Changed paths:
    M templates/lxc-centos.in

  Log Message:
  -----------
  centos: Fix booting a Centos 6 container

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


  Commit: ca1bc485157632627759dc0231b2928f24efbfd8
      https://github.com/lxc/lxc/commit/ca1bc485157632627759dc0231b2928f24efbfd8
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2015-01-29 (Thu, 29 Jan 2015)

  Changed paths:
    M templates/lxc-oracle.in

  Log Message:
  -----------
  oracle: Fix /dev/shm

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


  Commit: e8a1665479c979e74950cb2b07568636c8290561
      https://github.com/lxc/lxc/commit/e8a1665479c979e74950cb2b07568636c8290561
  Author: Michael Adam <obnox at samba.org>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M templates/lxc-fedora.in

  Log Message:
  -----------
  lxc-fedora: when using systemd, set lxc.kmsg = 0 in the config

This is to prevent systemd-journald to enter a 100% cpu loop.

Signed-off-by: Michael Adam <obnox at samba.org>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


  Commit: 479da11fa40ddeef8d8f132f47795df085a70be0
      https://github.com/lxc/lxc/commit/479da11fa40ddeef8d8f132f47795df085a70be0
  Author: Michael Adam <obnox at samba.org>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M templates/lxc-fedora.in

  Log Message:
  -----------
  lxc-fedora: In fedora21, the fedora-repos package is needed.

fedora-release has been split into fedora-release and fedora-repos.

Signed-off-by: Michael Adam <obnox at samba.org>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


  Commit: fca113ed229df759a831b65f6ea6d130ccd93030
      https://github.com/lxc/lxc/commit/fca113ed229df759a831b65f6ea6d130ccd93030
  Author: Natanael Copa <ncopa at alpinelinux.org>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M templates/lxc-alpine.in

  Log Message:
  -----------
  lxc-alpine: use yaml for detection of latest release

Alpine Linux provides yaml files with latest release instead of the old
approach with .latest.txt.

Signed-off-by: Natanael Copa <ncopa at alpinelinux.org>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 1a18db0a6cd4b8a9db6245b2d59367a3f8c337c0
      https://github.com/lxc/lxc/commit/1a18db0a6cd4b8a9db6245b2d59367a3f8c337c0
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M config/apparmor/abstractions/container-base
    M config/apparmor/abstractions/container-base.in

  Log Message:
  -----------
  apparmor: Block access to /proc/kcore

Just like we block access to mem and kmem, there's no good reason for
the container to have access to kcore.

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


  Commit: 32d9a5f177f3cdeefb91a19bf748c9aec6c34965
      https://github.com/lxc/lxc/commit/32d9a5f177f3cdeefb91a19bf748c9aec6c34965
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  Also drop caps in unpriv containers

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


  Commit: 6efee35cac5dd43d28d8dac1dd0232d3371cb1f1
      https://github.com/lxc/lxc/commit/6efee35cac5dd43d28d8dac1dd0232d3371cb1f1
  Author: Martin Pitt <martin.pitt at ubuntu.com>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M config/apparmor/abstractions/start-container

  Log Message:
  -----------
  apparmor: Fix slave bind mounts

The permission to make a mount "slave" is spelt "make-slave", not "slave", see
https://launchpad.net/bugs/1401619. Also, we need to make all mounts slave, not
just the root dir.

https://launchpad.net/bugs/1350947


  Commit: 1f746dccf7180f8c1466ac26bc96599a92518bed
      https://github.com/lxc/lxc/commit/1f746dccf7180f8c1466ac26bc96599a92518bed
  Author: Michael Adam <obnox at samba.org>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M templates/lxc-debian.in

  Log Message:
  -----------
  lxc-debian: fix parsing of option "--clean": it takes no argument.

Signed-off-by: Michael Adam <obnox at samba.org>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: e5f558376e7ae6da449ca0c7da102aae917524e0
      https://github.com/lxc/lxc/commit/e5f558376e7ae6da449ca0c7da102aae917524e0
  Author: Michael Adam <obnox at samba.org>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M templates/lxc-debian.in

  Log Message:
  -----------
  lxc-debian: document "--clean" in the usage.

Signed-off-by: Michael Adam <obnox at samba.org>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: 17b9040910b1020ce0700c2494152822694ec483
      https://github.com/lxc/lxc/commit/17b9040910b1020ce0700c2494152822694ec483
  Author: Michael Adam <obnox at samba.org>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M templates/lxc-debian.in

  Log Message:
  -----------
  lxc-debian: protect possibly unset variable with quotes for -z check

Signed-off-by: Michael Adam <obnox at samba.org>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: 2987371f83b0f3ada434cf21a102530f273feb0e
      https://github.com/lxc/lxc/commit/2987371f83b0f3ada434cf21a102530f273feb0e
  Author: Michael Adam <obnox at samba.org>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M templates/lxc-opensuse.in

  Log Message:
  -----------
  lxc-opensuse: fix parsing of option "--clean": it takes no argument

Signed-off-by: Michael Adam <obnox at samba.org>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: ffc36deb7758b21f39069d21a0fe68b9553a1189
      https://github.com/lxc/lxc/commit/ffc36deb7758b21f39069d21a0fe68b9553a1189
  Author: Michael Adam <obnox at samba.org>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M templates/lxc-opensuse.in

  Log Message:
  -----------
  lxc-opensuse: protect possibly unset variable with quotes in -z check

Signed-off-by: Michael Adam <obnox at samba.org>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: 21b11e837d94f0d23772e419b6194c9b29dece2d
      https://github.com/lxc/lxc/commit/21b11e837d94f0d23772e419b6194c9b29dece2d
  Author: Michael Adam <obnox at samba.org>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M templates/lxc-altlinux.in

  Log Message:
  -----------
  lxc-altlinux: fix parsing of option "--clean": it takes no argument

Signed-off-by: Michael Adam <obnox at samba.org>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: 1af6ee0fe224a3f4ccdb39299e76259f6693cd14
      https://github.com/lxc/lxc/commit/1af6ee0fe224a3f4ccdb39299e76259f6693cd14
  Author: Michael Adam <obnox at samba.org>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M templates/lxc-altlinux.in

  Log Message:
  -----------
  lxc-altlinux: protect possibly unset variable with quotes for -z check

Signed-off-by: Michael Adam <obnox at samba.org>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: c9abed30ac5c0d9e44f1c39859137f236f5c7419
      https://github.com/lxc/lxc/commit/c9abed30ac5c0d9e44f1c39859137f236f5c7419
  Author: Michael Adam <obnox at samba.org>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M templates/lxc-openmandriva.in

  Log Message:
  -----------
  lxc-openmandriva: fix parsing of option "--clean": it takes no argument

Signed-off-by: Michael Adam <obnox at samba.org>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: e182043368c7c6351edc2e393694e2106a88ddf0
      https://github.com/lxc/lxc/commit/e182043368c7c6351edc2e393694e2106a88ddf0
  Author: Michael Adam <obnox at samba.org>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M templates/lxc-openmandriva.in

  Log Message:
  -----------
  lxc-openmandriva: protect possibly unset variable with quotes in -z check

Signed-off-by: Michael Adam <obnox at samba.org>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: b60ce6b26f8f14adfcddb4f716459a872681e0a7
      https://github.com/lxc/lxc/commit/b60ce6b26f8f14adfcddb4f716459a872681e0a7
  Author: Michael Adam <obnox at samba.org>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M templates/lxc-centos.in

  Log Message:
  -----------
  lxc-centos: fix parsing of option "--clean": it takes no argument

Signed-off-by: Michael Adam <obnox at samba.org>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: f2e0cfa949bf46ebde1b02300a96a0e8a8b48c77
      https://github.com/lxc/lxc/commit/f2e0cfa949bf46ebde1b02300a96a0e8a8b48c77
  Author: Michael Adam <obnox at samba.org>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M templates/lxc-centos.in

  Log Message:
  -----------
  lxc-centos: fix tab/space mixup in help text.

Signed-off-by: Michael Adam <obnox at samba.org>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: 2575832f88d0e6d483fc86f13044cf602fb9bb10
      https://github.com/lxc/lxc/commit/2575832f88d0e6d483fc86f13044cf602fb9bb10
  Author: Michael Adam <obnox at samba.org>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M templates/lxc-centos.in

  Log Message:
  -----------
  lxc-centos: protect possibly unset variable with quotes for -z check

Signed-off-by: Michael Adam <obnox at samba.org>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: 562f7f4701b2494df4c2a4e6bccd31a52a4b74a3
      https://github.com/lxc/lxc/commit/562f7f4701b2494df4c2a4e6bccd31a52a4b74a3
  Author: Michael Adam <obnox at samba.org>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M templates/lxc-fedora.in

  Log Message:
  -----------
  lxc-fedora: fix parsing of option "--clean": it takes no argument

Signed-off-by: Michael Adam <obnox at samba.org>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: eb2dc4cfd79c0f99a37372682d8f37d6f4799bab
      https://github.com/lxc/lxc/commit/eb2dc4cfd79c0f99a37372682d8f37d6f4799bab
  Author: Michael Adam <obnox at samba.org>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M templates/lxc-fedora.in

  Log Message:
  -----------
  lxc-fedora: protect possibly unset variable with quotes for -z check

Signed-off-by: Michael Adam <obnox at samba.org>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: cfa21b346d986ad318f579347a7b6d58f26f391b
      https://github.com/lxc/lxc/commit/cfa21b346d986ad318f579347a7b6d58f26f391b
  Author: Michael Adam <obnox at samba.org>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M templates/lxc-fedora.in

  Log Message:
  -----------
  lxc-fedora: let help text fit into 80 columns

by breaking and shortening some lines.

Signed-off-by: Michael Adam <obnox at samba.org>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: a79b3d60076967cc418763b7f0fd1dbfeeeeeace
      https://github.com/lxc/lxc/commit/a79b3d60076967cc418763b7f0fd1dbfeeeeeace
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  Fix reversed args in mount call

Riya Khanna reported that with a ramfs rootfs the mount to make
/ rprivate was returning -EFAULT.  NULL was being passed as the
mount target.  Pass "/" instead.

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


  Commit: 15b208c100acdf405e37b6535c75f61e234c0920
      https://github.com/lxc/lxc/commit/15b208c100acdf405e37b6535c75f61e234c0920
  Author: Axel Neumann <neumann at cgws.de>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  Fix instantiation of multiple vlan interfaces with same id

Container fail to start with configs (as shown below) where the same
vlan id is used for several type=vlan container interfaces.
Then, during the instantiation of the vlan interfaces, an error occurs
because the lxc code tries to assign the same temporary name to both
of them before it is bound into the container.

> lxc.network.type      = vlan
> lxc.network.flags     = up
> lxc.network.link      = eth1
> lxc.network.vlan.id   = 3842
> lxc.network.name      = iso0
>
> lxc.network.type      = vlan
> lxc.network.flags     = up
> lxc.network.link      = eth2
> lxc.network.vlan.id   = 3842
> lxc.network.name      = iso1

Signed-off-by: Axel Neumann <neumann at cgws.de>


  Commit: dd955df0e908f90101cde5404dc6cc722a0d14d2
      https://github.com/lxc/lxc/commit/dd955df0e908f90101cde5404dc6cc722a0d14d2
  Author: Michael Adam <obnox at samba.org>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M doc/lxc.container.conf.sgml.in

  Log Message:
  -----------
  doc: clarify the description of the veth network type in the  manpage.

Signed-off-by: Michael Adam <obnox at samba.org>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 61795f78c7d98299696e40ccbe52721585179b8b
      https://github.com/lxc/lxc/commit/61795f78c7d98299696e40ccbe52721585179b8b
  Author: Michael Adam <obnox at samba.org>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M templates/lxc-download.in

  Log Message:
  -----------
  lxc-download: fix typo in help text.

Signed-off-by: Michael Adam <obnox at samba.org>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 7f774d9e109559d3d513d81e20f866e92b01781c
      https://github.com/lxc/lxc/commit/7f774d9e109559d3d513d81e20f866e92b01781c
  Author: Michael Adam <obnox at samba.org>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M templates/lxc-download.in

  Log Message:
  -----------
  lxc-download: make --list more useful.

Make it possible to use --list without having to specify
--dist, --release, and --arch, which does not make a lot
of sense.

Signed-off-by: Michael Adam <obnox at samba.org>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 1d467358817ab1ad1007b717e8829578a470009a
      https://github.com/lxc/lxc/commit/1d467358817ab1ad1007b717e8829578a470009a
  Author: Michael Adam <obnox at samba.org>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M templates/lxc-download.in

  Log Message:
  -----------
  lxc-download: improve help text.

--help and --list are special in the sense that they
are independent of the other options and exit early.
Document them separately.

Signed-off-by: Michael Adam <obnox at samba.org>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 3745e7528a3b12d356a36c7632f1f6395677eda4
      https://github.com/lxc/lxc/commit/3745e7528a3b12d356a36c7632f1f6395677eda4
  Author: KATOH Yasufumi <karma at jazz.email.ne.jp>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M doc/ja/lxc.container.conf.sgml.in

  Log Message:
  -----------
  doc: Update the description of the veth in the Japanese lxc.container.conf(5)

Update for the commit 38005c5

Signed-off-by: KATOH Yasufumi <karma at jazz.email.ne.jp>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 40b263899f7b7e13662ba4d131322c216fe9fe70
      https://github.com/lxc/lxc/commit/40b263899f7b7e13662ba4d131322c216fe9fe70
  Author: Alexander Vladimirov <alexander.idkfa.vladimirov at gmail.com>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M templates/lxc-centos.in

  Log Message:
  -----------
  lxc-centos: pass releasever parameter to yum

Signed-off-by: Alexander Vladimirov <alexander.idkfa.vladimirov at gmail.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 548c34c37206a3903110059cffa97e3707f91927
      https://github.com/lxc/lxc/commit/548c34c37206a3903110059cffa97e3707f91927
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  Update MAINTAINERS

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


  Commit: 0e4e95fdf9d9a2d3f895912998b599473656814a
      https://github.com/lxc/lxc/commit/0e4e95fdf9d9a2d3f895912998b599473656814a
  Author: Michael Adam <obnox at samba.org>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M templates/lxc-fedora.in

  Log Message:
  -----------
  add "--mask-tmp" to lxc-fedora, plus some template script fixes]

Hi Michael,

do you have any concerns with the attached patch to
the fedora template that adds an option --mask-tmp
that prevents fedora/systemd from over-mounting
/tmp with tmpfs, which is useful in some cases?

Thanks - Michael

----- Forwarded message from Michael Adam <obnox at samba.org> -----

Date: Sat, 10 Jan 2015 13:12:06 +0100
From: Michael Adam <obnox at samba.org>
To: LXC development mailing-list <lxc-devel at lists.linuxcontainers.org>
Subject: Re: [lxc-devel] [PATCHES] add "--mask-tmp" to lxc-fedora, plus some
	template script fixes
User-Agent: Mutt/1.5.23 (2014-03-12)

On 2015-01-10 at 13:08 +0100, Michael Adam wrote:
> On 2015-01-10 at 04:05 +0000, Serge Hallyn wrote:
>
> > The less controversial one is adding mask-tmp to the fedora template.
> > It looks fine to me, but that should go separately to mwarfield, our
> > fedora template maintainer :)
>
> I had notified mhw of my patches on irc, but apparently he is
> currently very busy.
>
> For a start, following is an update of the uncontroversial fix
> patches, i.e. the fix patche without the path ones, and without
> the mask-tmp patch.

And here comes the mask-tmp patch.
It needs to be applied onto the previous fix-patchset.

>From 9589dca113535ed2f4faad89db2fab33bb8a9d7e Mon Sep 17 00:00:00 2001
From: Michael Adam <obnox at samba.org>
Date: Thu, 8 Jan 2015 10:25:24 +0100
Subject: [PATCH] lxc-fedora: add a new option --mask-tmp

This will configure the container to prevent the standard
behaviour of over-mounting /tmp with tmpfs, which can be
undesirable in some cases.

My personal use case is vagrant-lxc in combination with
vagrant-cachier.

Signed-off-by: Michael Adam <obnox at samba.org>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


  Commit: 2cb4c7a2d24b86bc0e468c3ffd5f32cb39624177
      https://github.com/lxc/lxc/commit/2cb4c7a2d24b86bc0e468c3ffd5f32cb39624177
  Author: Thomas Moschny <thomas.moschny at gmx.de>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

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

  Log Message:
  -----------
  Small fix for Lua 5.3 compatibility.

Signed-off-by: Thomas Moschny <thomas.moschny at gmail.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 7a5448c37921759d2995a5475091d004fd5f06a1
      https://github.com/lxc/lxc/commit/7a5448c37921759d2995a5475091d004fd5f06a1
  Author: Vicente Olivert Riera <Vincent.Riera at imgtec.com>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M templates/lxc-gentoo.in

  Log Message:
  -----------
  Gentoo template - Add a hwaddr if there is only one veth

Reuse the code from the Debian template to associate a hwaddr if there
is only one veth interface in the container's config file.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera at imgtec.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 896003e2eb3fc5940b367fd3653f9359b1821651
      https://github.com/lxc/lxc/commit/896003e2eb3fc5940b367fd3653f9359b1821651
  Author: Patrick O'Leary <patrick.oleary at gmail.com>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M src/lxc/bdev.c
    M src/lxc/cgfs.c
    M src/lxc/conf.c
    M src/lxc/confile.c
    M src/lxc/lsm/apparmor.c
    M src/lxc/lxc_usernsexec.c
    M src/lxc/lxccontainer.c
    M src/tests/attach.c

  Log Message:
  -----------
  replace deprecated `index` with `strchr`

The `index` libc function was removed in POSIX 2008, and `strchr` is a direct
replacement. The bionic (Android) libc has removed `index` when you are
compiling for a 64-bit architecture, such as AArch64.

Signed-off-by: Patrick O'Leary <patrick.oleary at gmail.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: c21cf4cdbf277157fd54af9c762fd42af5434abd
      https://github.com/lxc/lxc/commit/c21cf4cdbf277157fd54af9c762fd42af5434abd
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M src/lua-lxc/lxc.lua

  Log Message:
  -----------
  lua: fix crash on missing blkio

Closes: #403

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


  Commit: 388db0d9ebf1b24c538a68813077b7ace31db68f
      https://github.com/lxc/lxc/commit/388db0d9ebf1b24c538a68813077b7ace31db68f
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M src/lxc/bdev.c

  Log Message:
  -----------
  Use 'overlay' as fs name when needed

Close #389

We will probably also want to switch the order of the mount attempts, as
the new overlay fs should quickly become the more common scenario.

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Acked-by: KATOH Yasufumi <karma at jazz.email.ne.jp>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 191b612f30668bc376c9df01d66ec1065997349c
      https://github.com/lxc/lxc/commit/191b612f30668bc376c9df01d66ec1065997349c
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M templates/lxc-busybox.in

  Log Message:
  -----------
  fix busybox unpriv

1. tty5 is not needed
2. the devices should be optional in case they didn't exist in the
host / parent-container
3. switch from 'touch $rootfs/dev/$dev' to using create=file in the
mount entry.

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: c5cfcff14fff3ebe3bd3e8f3bbb318e4ed6ef1f6
      https://github.com/lxc/lxc/commit/c5cfcff14fff3ebe3bd3e8f3bbb318e4ed6ef1f6
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M templates/lxc-centos.in
    M templates/lxc-fedora.in

  Log Message:
  -----------
  lxc-{centos|fedora}: Respect --rootfs

Close #406

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


  Commit: 355823a670499dfe6d3ae72dc6bcefdd4da74fc0
      https://github.com/lxc/lxc/commit/355823a670499dfe6d3ae72dc6bcefdd4da74fc0
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  Fix clearing IPv4/IPv6 addresses

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


  Commit: 2bb376c61a5f3ab2df22177001c7986af4e5f308
      https://github.com/lxc/lxc/commit/2bb376c61a5f3ab2df22177001c7986af4e5f308
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M src/lxc/bdev.c

  Log Message:
  -----------
  clone_paths: use 'rootfs' for destination directory

We were trying to be smart and use whatever the last part of
the container's rootfs path was.  However for block devices
that doesn't make much sense.  I.e. if lxc.rootfs = /dev/md-1,
chances are that /var/lib/lxc/c1/md-1 does not exist.

So always use the $lxcpath/$lxcname/rootfs, and if it does
not exist, try to create it.

With this, 'lxc-clone -s -o c1 -n c2' where c1 has an lvm backend
is fixed.  See https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1414771

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


  Commit: c2f490ed52ca1bc039af87dff79ee400618f614a
      https://github.com/lxc/lxc/commit/c2f490ed52ca1bc039af87dff79ee400618f614a
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

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

  Log Message:
  -----------
  ubuntu: Drop lucid support and refresh releaess list

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


Compare: https://github.com/lxc/lxc/compare/a4aed378f802...c2f490ed52ca


More information about the lxc-devel mailing list