[lxc-devel] [lxc/lxc] 7ed0ee: doc: add lxc.console.logpath to Japanese lxc.conta...

GitHub noreply at github.com
Mon Aug 18 13:02:29 UTC 2014


  Branch: refs/heads/stable-1.0
  Home:   https://github.com/lxc/lxc
  Commit: 7ed0eea61f550c7930e7a93acbb1bad52eba236b
      https://github.com/lxc/lxc/commit/7ed0eea61f550c7930e7a93acbb1bad52eba236b
  Author: KATOH Yasufumi <karma at jazz.email.ne.jp>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

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

  Log Message:
  -----------
  doc: add lxc.console.logpath to Japanese lxc.container.conf(5)

Update for commit 96f15ca

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


  Commit: bd0c964703cb345dd3509cf2171a1b0bea8697d8
      https://github.com/lxc/lxc/commit/bd0c964703cb345dd3509cf2171a1b0bea8697d8
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M src/lxc/lxccontainer.c

  Log Message:
  -----------
  coverity: don't use newname after null check

Actually, get rid of the temporary variables, and set newname
and lxcpath to usable values if they were NULL.

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


  Commit: 7aa66be8b12876f10b34da185093fb7a4003fbaf
      https://github.com/lxc/lxc/commit/7aa66be8b12876f10b34da185093fb7a4003fbaf
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M src/lxc/bdev.c

  Log Message:
  -----------
  coverity: malloc the right size for btrs_node tree

We were allocating sizeof(tree) instead of sizeof(*tree).

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


  Commit: eeefb7848783735c9d6139cfcdb17a43d71ed542
      https://github.com/lxc/lxc/commit/eeefb7848783735c9d6139cfcdb17a43d71ed542
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M src/tests/lxc-test-unpriv

  Log Message:
  -----------
  lxc-test-unpriv: test lxc-clone -s

This would have caught a regression in Ubuntu's 3.16 kernel.

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


  Commit: 590ff60c48383b02ed44d35cabd82d74d9850e64
      https://github.com/lxc/lxc/commit/590ff60c48383b02ed44d35cabd82d74d9850e64
  Author: S.Çağlar Onur <caglar at 10ur.org>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  introduce --with-distro=raspbian

Raspberry Pi kernel finally supports all the bits required by LXC [1]

This patch makes "./configure --with-distro=raspbian" to install lxcbr0
based config file and upstart jobs.
Also src/lxc/lxc.net now checks the existence of the lxc-dnsmasq user
(and fallbacks to dnsmasq)

RPI users still need to pass
"MIRROR=http://archive.raspbian.org/raspbian/" parameter to lxc-create
to pick the correct packages

MIRROR=http://archive.raspbian.org/raspbian/ lxc-create -t debian -n rpi

[1] https://github.com/raspberrypi/linux/issues/176

stable-1.0: Cherry-picked from master minus the lxc-net change as
lxc-net isn't available in LXC 1.0.x. Instead it is assumed that the
distribution will take care of setting up the network (lxcbr0 in this
case).

Signed-off-by: S.Çağlar Onur <caglar at 10ur.org>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


  Commit: c72e9abb073ffb95115653ef92e83709f5998709
      https://github.com/lxc/lxc/commit/c72e9abb073ffb95115653ef92e83709f5998709
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M src/lxc/cgmanager.c

  Log Message:
  -----------
  cgmanager get/set: clean up child (v2)

(Thanks, Dwight, this one look right?)

Make sure we reap our child at cgm_{s,g}et.

Changelog: Fix change in behavior on empty read from the do_cgm_get()
     helper that was spotted by Dwight.

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


  Commit: c3be52b2d8e70808f83d2417fd7f2460dd85dfe2
      https://github.com/lxc/lxc/commit/c3be52b2d8e70808f83d2417fd7f2460dd85dfe2
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M src/lxc/lxccontainer.c

  Log Message:
  -----------
  chmod container dir to 0770

This prevents u2 from going into /home/u1/.local/share/lxc/u1/rootfs
and running setuid-root applications to get write access to u1's
container rootfs.

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


  Commit: 7ba0b753162aa1cd7bfa1ed8379e7ae7d8f352ac
      https://github.com/lxc/lxc/commit/7ba0b753162aa1cd7bfa1ed8379e7ae7d8f352ac
  Author: Lars Wikberg <lars.wikberg at anvia.com>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M README
    M doc/ja/lxc.sgml.in
    M doc/lxc.sgml.in

  Log Message:
  -----------
  doc: language correction

Signed-off-by: Lars Wikberg <lars.wikberg at anvia.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 99e5ef7363c0c5a5172f81d54cc6215c2a9eb5cd
      https://github.com/lxc/lxc/commit/99e5ef7363c0c5a5172f81d54cc6215c2a9eb5cd
  Author: Micahel J. Evans <mjevans1983 at gmail.com>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M src/lxc/namespace.c
    M src/lxc/start.c

  Log Message:
  -----------
  Add extra debugging

This is an hybrid between Micahel's original patch and me making the new
debugging statements look like our existing ones.

Signed-off-by: "Micahel J. Evans" <mjevans1983 at gmail.com>
Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 196ab66bca3ad6ffad38912db73bbe82fdc8e58f
      https://github.com/lxc/lxc/commit/196ab66bca3ad6ffad38912db73bbe82fdc8e58f
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M src/lxc/start.c

  Log Message:
  -----------
  Fix typo in the previous commit...

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


  Commit: ed3b37b287a3045f05e625dd539eb85aa7932c44
      https://github.com/lxc/lxc/commit/ed3b37b287a3045f05e625dd539eb85aa7932c44
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-08-16 (Sat, 16 Aug 2014)

  Changed paths:
    M src/lxc/lxccontainer.c

  Log Message:
  -----------
  Revert "chmod container dir to 0770"

This commit broke the testsuite for unprivileged containers as the
container directory is now 0750 with the owner being the container root
and the group being the user's group, meaning that the parent user can
only enter the directory, not create entries in there.

This reverts commit c86da6a3ac517b78e6f710df7efe2f51d153b73c.


  Commit: b57501721fef8485869cb7ee15898288ab11944f
      https://github.com/lxc/lxc/commit/b57501721fef8485869cb7ee15898288ab11944f
  Author: KATOH Yasufumi <karma at jazz.email.ne.jp>
  Date:   2014-08-18 (Mon, 18 Aug 2014)

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

  Log Message:
  -----------
  doc: Fix Japanese translation of lxc.container.conf(5)

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


  Commit: a7c1b4d68062f99f6219824b6f2b02bf8dd90abd
      https://github.com/lxc/lxc/commit/a7c1b4d68062f99f6219824b6f2b02bf8dd90abd
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-08-18 (Mon, 18 Aug 2014)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  do_mount_entry: add nexec, nosuid, nodev, rdonly flags if needed at remount

See http://lkml.org/lkml/2014/8/13/746 and its history.  The kernel now refuses
mounts if we don't add ro,nosuid,nodev,noexec flags if they were already there.

Also use the newly found info to skip remount if unneeded.  For background, if
you want to create a read-only bind mount, then you must first mount(2) with
MS_BIND to create the bind mount, then re-mount(2) again to get the new mount
options to apply.  So if this wasn't a bind mount, or no new mount options were
introduced, then we don't do the second mount(2).

null_endofword() and get_field() were not changed, only moved up in
the file.

(Note, while I can start containers inside a privileged container with
this patch, most of the lxc tests still fail with the kernel in question;
Andy's patch seems to still be needed - a kernel with which is available
at https://launchpad.net/~serge-hallyn/+archive/ubuntu/userns-natty
ppa:serge-hallyn/userns-natty)

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


  Commit: 62bc64f3e4811a571a39ad14fb25e1638743795b
      https://github.com/lxc/lxc/commit/62bc64f3e4811a571a39ad14fb25e1638743795b
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-08-18 (Mon, 18 Aug 2014)

  Changed paths:
    M src/tests/lxc-test-autostart

  Log Message:
  -----------
  tests: Call sync before testing a shutdown

This should avoid tests failure when the machine running the tests has
either very slow disks or a lot of data waiting to be flushed.

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


Compare: https://github.com/lxc/lxc/compare/a21f8a049ab2...62bc64f3e481


More information about the lxc-devel mailing list