[lxc-devel] [lxc/lxc] a6d106: lxc_spawn: initialize netpipe

GitHub noreply at github.com
Mon Apr 7 21:06:40 UTC 2014


  Branch: refs/heads/stable-1.0
  Home:   https://github.com/lxc/lxc
  Commit: a6d106e39e439410dd920278371235767b9a6a08
      https://github.com/lxc/lxc/commit/a6d106e39e439410dd920278371235767b9a6a08
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-04-07 (Mon, 07 Apr 2014)

  Changed paths:
    M src/lxc/start.c

  Log Message:
  -----------
  lxc_spawn: initialize netpipe

When rebooting an unprivileged container, netpipe starts out
as not -1.  If count_veths somehow changed this could lead
to trying to send data over nonexistent pipe.  (Ok can't
*really* happen, as it currently stands, but it's an open
end)

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: f3415954cfb6c15bd60bca35874d75f9706feb5f
      https://github.com/lxc/lxc/commit/f3415954cfb6c15bd60bca35874d75f9706feb5f
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-04-07 (Mon, 07 Apr 2014)

  Changed paths:
    M src/lxc/lxc_start.c

  Log Message:
  -----------
  lxc_start: return 1 not -1 on error

So that exit status doesn't show up as 255.

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


  Commit: a344c06029773870c1b052dabedb3186baa6ea0b
      https://github.com/lxc/lxc/commit/a344c06029773870c1b052dabedb3186baa6ea0b
  Author: Ryan Mulligan <ryan at ryantm.com>
  Date:   2014-04-07 (Mon, 07 Apr 2014)

  Changed paths:
    M templates/lxc-archlinux.in

  Log Message:
  -----------
  archlinux: add debugging info for missing network link

Signed-off-by: Ryan Mulligan <ryan at ryantm.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/e89ed2acface...a344c0602977


More information about the lxc-devel mailing list