[lxc-devel] [lxc/lxc] f81384: c/r: populate clone flags on restore
GitHub
noreply at github.com
Fri Apr 10 15:05:34 UTC 2015
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: f813849cee365da37341f3558689a908e7739b1b
https://github.com/lxc/lxc/commit/f813849cee365da37341f3558689a908e7739b1b
Author: Tycho Andersen <tycho.andersen at canonical.com>
Date: 2015-04-10 (Fri, 10 Apr 2015)
Changed paths:
M src/lxc/lxccontainer.c
M src/lxc/start.c
M src/lxc/start.h
Log Message:
-----------
c/r: populate clone flags on restore
Since attach asks the restore process what the clone flags were, if we forgot
to set them then the attach command ran in the hosts namespaces instead of the
containers, which is a Very Bad Thing :). Instead, we remember to set the clone
flags in the restore process' handler, so that we report them correctly to any
attach processes who ask.
Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
Commit: 4a49dda2341a01d967f47a88589e24283d90b976
https://github.com/lxc/lxc/commit/4a49dda2341a01d967f47a88589e24283d90b976
Author: Tycho Andersen <tycho.andersen at canonical.com>
Date: 2015-04-10 (Fri, 10 Apr 2015)
Changed paths:
M .gitignore
Log Message:
-----------
add vim swap files to .gitignore
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/3335c6089605...4a49dda2341a
More information about the lxc-devel
mailing list