1. 29 Oct, 2014 1 commit
  2. 27 Oct, 2014 9 commits
  3. 22 Oct, 2014 4 commits
  4. 20 Oct, 2014 4 commits
  5. 17 Oct, 2014 4 commits
  6. 15 Oct, 2014 11 commits
  7. 13 Oct, 2014 1 commit
  8. 09 Oct, 2014 3 commits
  9. 08 Oct, 2014 3 commits
    • systemd/selinux init scripts fixups · f3b8088d
      Dwight Engen authored
      - RHEL/OL 7 doesn't have the ifconfig command by default so have the
        lxc-net script check for its existence before use, and fall back
        to using the ip command if ifconfig is not available
      
      - When lxc-net is run from systemd on a system with selinux enabled,
        the mkdir -p ${varrun} will create /run/lxc as init_var_run_t which
        dnsmasq can't write its pid into, so we restorecon it
        after creation (to var_run_t)
      
      - The lxc-net systemd .service file needs an [Install] section so that
        "systemctl enable lxc-net" will work
      Signed-off-by: 's avatarDwight Engen <dwight.engen@oracle.com>
    • lxc-checkpoint: close stdout/stdin when daemonizing · 7943ec56
      Tycho Andersen authored
      If we don't close these running lxc-checkpoint via:
      
      ssh host "sudo lxc-checkpoint ..."
      
      just hangs. We leave stderr open so that subesquent errors will print correctly
      (and also because for whatever reason it doesn't break ssh :).
      
      Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
      Signed-off-by: 's avatarSerge Hallyn <serge.hallyn@ubuntu.com>
    • restore: create cgroups for criu · 2ba7a429
      Tycho Andersen authored
      Previously, we let criu create the cgroups for a container as it was restoring
      things. In some cases (i.e. migration across hosts), if the container being
      migrated was in /lxc/u1-3, it would be migrated to the target host in
      /lxc/u1-3, even if there was no /lxc/u1-2 (or worse, if there was already an
      alive container in u1-3).
      
      Instead, we use lxc's cgroup_create, and then tell criu where to restore to.
      Signed-off-by: 's avatarTycho Andersen <tycho.andersen@canonical.com>
      Acked-by: 's avatarSerge E. Hallyn <serge.hallyn@ubuntu.com>