[lxc-devel] [lxc/lxc] 0011e0: lxc_init: don't mount filesystems

GitHub noreply at github.com
Tue Feb 27 21:04:56 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 0011e0975c229e8a37aeaf3e21ebe4afa6201628
      https://github.com/lxc/lxc/commit/0011e0975c229e8a37aeaf3e21ebe4afa6201628
  Author: Serge Hallyn <shallyn at cisco.com>
  Date:   2018-02-27 (Tue, 27 Feb 2018)

  Changed paths:
    M src/lxc/cmd/lxc_init.c
    M src/lxc/initutils.c

  Log Message:
  -----------
  lxc_init: don't mount filesystems

We have an extensive set of container config options to do this
for us, and doing this unconditionally breaks several use cases.
For instance, if we want to bind mount a /dev/shm using the
container configuration, then lxc-execute, then lxc-init will
rudely unmount the /dev/shm and remount it as a private tmpfs.

Signed-off-by: Serge Hallyn <shallyn at cisco.com>


  Commit: d931b24349ca97651886888e3f42066d736b61ea
      https://github.com/lxc/lxc/commit/d931b24349ca97651886888e3f42066d736b61ea
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-02-27 (Tue, 27 Feb 2018)

  Changed paths:
    M src/lxc/cmd/lxc_init.c
    M src/lxc/initutils.c

  Log Message:
  -----------
  Merge pull request #2194 from hallyn/2018-02-27/lxcinit-umountdev

lxc_init: don't mount filesystems


Compare: https://github.com/lxc/lxc/compare/9e49a491de31...d931b24349ca


More information about the lxc-devel mailing list