[lxc-devel] [lxc/lxc] 370f2e: lxc-net: Rework/cleanup

GitHub noreply at github.com
Tue Apr 28 06:24:46 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 370f2e811c154109df7aea6ea1f9788768d0dd76
      https://github.com/lxc/lxc/commit/370f2e811c154109df7aea6ea1f9788768d0dd76
  Author: St├ęphane Graber <stgraber at ubuntu.com>
  Date:   2015-04-28 (Tue, 28 Apr 2015)

  Changed paths:
    M config/init/common/lxc-net.in

  Log Message:
  -----------
  lxc-net: Rework/cleanup

This updates lxc-net with the following changes:
 - Better recover from crashes/partial runs
 - Better error detection and reporting
 - Less code duplication (use the stop code on crash)
 - Better state tracking
 - Allow for restart of all of lxc-net except for the bridge itself
 - Only support iproute from this point on (ifconfig's been deprecated
   for years)

V2: Use template variables everywhere

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


  Commit: 85c50991da2a5b20756bdfbc5a147b14690855b7
      https://github.com/lxc/lxc/commit/85c50991da2a5b20756bdfbc5a147b14690855b7
  Author: Tycho Andersen <tycho.andersen at canonical.com>
  Date:   2015-04-28 (Tue, 28 Apr 2015)

  Changed paths:
    M src/lxc/lxccontainer.c

  Log Message:
  -----------
  c/r: check for criu images in the checkpoint directory

CRIU can get confused if there are two dumps that are written to the same
directory, so we make some minimal effort to prevent people from doing this.
This is a better alternative than forcing liblxc to create the directory, since
it is mostly race free (and neither solution is bullet proof anyway if someone
rsyncs some bad images over the top of the good ones).

Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/83828d6770ff...85c50991da2a


More information about the lxc-devel mailing list