1. 12 Nov, 2016 1 commit
  2. 11 Nov, 2016 1 commit
  3. 10 Nov, 2016 5 commits
  4. 09 Nov, 2016 1 commit
  5. 08 Nov, 2016 1 commit
  6. 07 Nov, 2016 1 commit
  7. 03 Nov, 2016 7 commits
  8. 02 Nov, 2016 6 commits
  9. 31 Oct, 2016 3 commits
    • Merge pull request #1266 from tych0/do-mount-rewriting · 52e12945
      Stéphane Graber authored
      Do mount rewriting
    • log: bump LXC_LOG_BUFFER_SIZE to 4096 · ed408e66
      Tycho Andersen authored
      We need to log longer lines due to CRIU arguments.
      Signed-off-by: 's avatarTycho Andersen <tycho.andersen@canonical.com>
    • c/r: explicitly emit bind mounts as criu arguments · 5f4e44a2
      Tycho Andersen authored
      We switched to --ext-mount-map auto because of "system" (liblxc) added
      mounts like the cgmanager socket that weren't in the config file. This had
      the added advantage that we could drop all the mount processing code,
      because we no longer needed an --ext-mount-map argument.
      
      The problem here is that mounts can move between hosts. While
      --ext-mount-map auto does its best to detect this situation, it explicitly
      disallows moves that change the path name. In LXD, we bind mount
      /var/lib/lxd/shmounts/$container to /dev/.lxd-mounts for each container,
      and so when a container is renamed in a migration, the name changes.
      --ext-mount-map auto won't detect this, and so the migration fails.
      
      We *could* implement mount rewriting in CRIU, but my experience with cgroup
      and apparmor rewriting is that this is painful and error prone. Instead, it
      is much easier to go back to explicitly listing --ext-mount-map arguments
      from the config file, and allow the source of the bind to change. We leave
      --ext-mount-map auto to catch any stragling (or future) system added
      mounts.
      
      I believe this should fix Launchpad Bug 1580765
      Signed-off-by: 's avatarTycho Andersen <tycho.andersen@canonical.com>
  10. 30 Oct, 2016 10 commits
  11. 29 Oct, 2016 4 commits