[lxc-devel] [lxc/lxc] bdb3f4: lxc_abstract_unix_connect: accomodate containers s...

GitHub noreply at github.com
Mon Nov 11 21:27:33 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: bdb3f44147bc1a55a97131b4b39d42844ae4fb9e
      https://github.com/lxc/lxc/commit/bdb3f44147bc1a55a97131b4b39d42844ae4fb9e
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2013-11-11 (Mon, 11 Nov 2013)

  Changed paths:
    M src/lxc/af_unix.c

  Log Message:
  -----------
  lxc_abstract_unix_connect: accomodate containers started before Oct 28

commit aae93dd3dd20dd12c6b8f9f0490e2fb877ee3f09 fixed the command socket
name to use the right pathlen instead of always passing in the max
socket namelen.  However, this breaks lxc-info/lxc-list/etc for
containers started before that commit.  So if the correct command
sock name doesn't work, try the preexising one.

Note we can probably undo this "after awhile".  Maybe in august 2014.

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





More information about the lxc-devel mailing list