[lxc-devel] [lxc/lxc] 48fd63: lxc: manually move NICs back to host after contain...

GitHub noreply at github.com
Fri Mar 7 22:35:15 UTC 2014


  Branch: refs/heads/stable-1.0
  Home:   https://github.com/lxc/lxc
  Commit: 48fd6371c6148278202041642582d009ecd3f94f
      https://github.com/lxc/lxc/commit/48fd6371c6148278202041642582d009ecd3f94f
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-03-07 (Fri, 07 Mar 2014)

  Changed paths:
    M src/lxc/conf.c
    M src/lxc/conf.h
    M src/lxc/start.c

  Log Message:
  -----------
  lxc: manually move NICs back to host after container stops

This prevents things like bridges from being destroyed by the kernel.

My hope is that just doing this will be enough to also ensure that
the device will be available to be renamed immediately, so that
we don't need to do a retry loop.

Tested with a dummy device.  renaming dummy0 to dummy5 in container,
then shutting down container, returns dummy0 to the host.

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


  Commit: b5d7cd13c2af6ac1084e383c122f00a336a761fe
      https://github.com/lxc/lxc/commit/b5d7cd13c2af6ac1084e383c122f00a336a761fe
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-03-07 (Fri, 07 Mar 2014)

  Changed paths:
    M doc/lxc-autostart.sgml.in

  Log Message:
  -----------
  lxc-autostart: Document -a and -g

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


  Commit: c9bd1357e9643a51a4e0a7ecd964f19357d09e89
      https://github.com/lxc/lxc/commit/c9bd1357e9643a51a4e0a7ecd964f19357d09e89
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-03-07 (Fri, 07 Mar 2014)

  Changed paths:
    M doc/lxc-ls.sgml.in
    M src/lxc/lxc-ls.in

  Log Message:
  -----------
  lxc-ls: Update help message to include fields

Instead of maintaining hardcoded lists, point everyone to --help and
have the current list of valid and default fields printed there.

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


Compare: https://github.com/lxc/lxc/compare/5fa128152823...c9bd1357e964


More information about the lxc-devel mailing list