[lxc-devel] [lxc/lxc] 136873: storage: use userns_exec_full()

GitHub noreply at github.com
Sun Sep 24 22:29:05 UTC 2017


  Branch: refs/heads/stable-2.0
  Home:   https://github.com/lxc/lxc
  Commit: 1368733706696ff20db598f5c0555ea4705eb0c8
      https://github.com/lxc/lxc/commit/1368733706696ff20db598f5c0555ea4705eb0c8
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-09-24 (Sun, 24 Sep 2017)

  Changed paths:
    M src/lxc/storage/aufs.c
    M src/lxc/storage/btrfs.c
    M src/lxc/storage/overlay.c
    M src/lxc/storage/storage.c
    M src/lxc/storage/storage.h

  Log Message:
  -----------
  storage: use userns_exec_full()

Closes #1800.

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 9dacc13cc4b21b2f59615e7da2caaf0dfde86061
      https://github.com/lxc/lxc/commit/9dacc13cc4b21b2f59615e7da2caaf0dfde86061
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-09-24 (Sun, 24 Sep 2017)

  Changed paths:
    M src/lxc/network.c

  Log Message:
  -----------
  network: remove dead assignments

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: a7ae7b4c77f8bbd5358e6580af4a668b69a3965c
      https://github.com/lxc/lxc/commit/a7ae7b4c77f8bbd5358e6580af4a668b69a3965c
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-09-24 (Sun, 24 Sep 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: preserve newlines

Users were confused when the config file created during cloning or copying a
container suddenly missed all newlines. Let's keep them.

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: f17ddbee407858017c1db77753b9338d1a7a07c6
      https://github.com/lxc/lxc/commit/f17ddbee407858017c1db77753b9338d1a7a07c6
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-09-24 (Sun, 24 Sep 2017)

  Changed paths:
    M src/lxc/conf.c
    M src/lxc/console.c

  Log Message:
  -----------
  execute: enable console & standard /dev symlinks

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: a7dd79097de8d2b9ec3ec133bf7f1f9eada6fa7e
      https://github.com/lxc/lxc/commit/a7dd79097de8d2b9ec3ec133bf7f1f9eada6fa7e
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-09-24 (Sun, 24 Sep 2017)

  Changed paths:
    M src/lxc/storage/storage.c

  Log Message:
  -----------
  storage: avoid segfault

When the "lxc.rootfs.path" property is not set and users request a container
copy we would segfault since strstr() would be called on a NULL pointer.

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 204bdc01b26e61c4f1149c5914bcc3ed5b058c64
      https://github.com/lxc/lxc/commit/204bdc01b26e61c4f1149c5914bcc3ed5b058c64
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-09-24 (Sun, 24 Sep 2017)

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

  Log Message:
  -----------
  doc: document missing env variables

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: bab07a29c42702002d21caacbbadf003470af330
      https://github.com/lxc/lxc/commit/bab07a29c42702002d21caacbbadf003470af330
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-09-24 (Sun, 24 Sep 2017)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c

  Log Message:
  -----------
  cgfsng: fail when limits fail to apply

So far, we silently skipped over limits that failed to be applied which is very
odd. Let's error on when cgroup limits fail to apply.

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: d3cf9a1b97a37720ae5c17002de9d30d6928f4af
      https://github.com/lxc/lxc/commit/d3cf9a1b97a37720ae5c17002de9d30d6928f4af
  Author: Stéphane Graber <stgraber at stgraber.org>
  Date:   2017-09-24 (Sun, 24 Sep 2017)

  Changed paths:
    M doc/lxc.container.conf.sgml.in
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/conf.c
    M src/lxc/confile.c
    M src/lxc/console.c
    M src/lxc/network.c
    M src/lxc/storage/aufs.c
    M src/lxc/storage/btrfs.c
    M src/lxc/storage/overlay.c
    M src/lxc/storage/storage.c
    M src/lxc/storage/storage.h

  Log Message:
  -----------
  Merge pull request #1829 from brauner/2017-09-24/stable_2.0_backports

stable 2.0: backports


Compare: https://github.com/lxc/lxc/compare/7d9d482b7420...d3cf9a1b97a3


More information about the lxc-devel mailing list