[lxc-devel] [lxc/lxc] dd2271: yet another problem with new overlay fs

GitHub noreply at github.com
Wed Jan 21 04:32:27 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: dd2271e6bbee568064b35aa488716d478e6ea195
      https://github.com/lxc/lxc/commit/dd2271e6bbee568064b35aa488716d478e6ea195
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2015-01-20 (Tue, 20 Jan 2015)

  Changed paths:
    M src/lxc/lxc-start-ephemeral.in

  Log Message:
  -----------
  yet another problem with new overlay fs

It turns out that the new upstream overlay fs requires that the delta
and work dirs be under the same mount.  So create a $lxcpath/tmpfs
and create delta0 and work0 under that.  If the user asks for a
tmpfs that'll be mounted under $lxcpath/tmpfs and workdir and delta0
both created under that.

This isn't heavily tested.  But if fixes mounting of 'overlay' fs
for me.

It's "not backward compatible", since it moves delta0, but that
shouldn't matter since ephemeral containers are either destroyed
on exit, or re-started with lxc-start.

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


  Commit: 124fa0a869c4cf5b4dc3ea2281446df32f0a7980
      https://github.com/lxc/lxc/commit/124fa0a869c4cf5b4dc3ea2281446df32f0a7980
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2015-01-20 (Tue, 20 Jan 2015)

  Changed paths:
    M config/templates/archlinux.common.conf.in
    M config/templates/opensuse.common.conf.in
    M doc/lxc.container.conf.sgml.in
    M src/lxc/conf.c
    M templates/lxc-centos.in
    M templates/lxc-debian.in
    M templates/lxc-fedora.in
    M templates/lxc-openmandriva.in
    M templates/lxc-oracle.in

  Log Message:
  -----------
  Turn autodev on by default

Now that autodev works fine with unprivileged containers and shouldn't
come with any side effect, lets turn it on by default.

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


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

  Changed paths:
    M config/templates/archlinux.common.conf.in
    M doc/lxc.container.conf.sgml.in
    M src/lxc/conf.c
    M templates/lxc-debian.in
    M templates/lxc-fedora.in
    M templates/lxc-oracle.in
    M templates/lxc-sshd.in

  Log Message:
  -----------
  Set kmsg to 0 by default

It's now been proven over and over again that the symlink from /dev/kmsg
to /dev/console is harmful for everything but upstart systems. As Ubuntu
is now switching over to systemd too, lets switch the default.

Upstart users wishing to see boot messages can always set lxc.kmsg = 1
manually in their config (so long as they don't expect to then
dist-upgrade the container to systemd succesfuly).

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


  Commit: 4662c6dee0b2f3ee065897aac616b6a8ad02b67e
      https://github.com/lxc/lxc/commit/4662c6dee0b2f3ee065897aac616b6a8ad02b67e
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2015-01-20 (Tue, 20 Jan 2015)

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

  Log Message:
  -----------
  Add common.conf.d

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


Compare: https://github.com/lxc/lxc/compare/5fdd4b0c119f...4662c6dee0b2


More information about the lxc-devel mailing list