Branch: refs/heads/staging
Home: https://github.com/lxc/lxc
Commit: 692ba18faeb83e1a92743c198484f18b4fc18bc5
https://github.com/lxc/lxc/commit/692ba18faeb83e1a92743c198484f18b4fc18bc5
Author: Serge Hallyn <serge.hal...@ubuntu.com>
Date: 2013-09-11 (Wed, 11 Sep 2013)
Changed paths:
M src/lxc/cgroup.c
M src/lxc/cgroup.h
M src/lxc/start.c
Log Message:
-----------
cgroup: re-introduce ns cgroup support
If a cgroup hierarchy has ns cgroup composed, then we need to treat
that differently:
1. The container init will have already been switched to a new cgroup
called after its pid.
2. We can't move the container init to new deeper cgroup directories.
So, if we detect an ns cgroup, don't bother trying to construct a new
name according to the pattern. Just rename the current one to the
container name, and save that path for us to later enter and remove.
Note I'm not dealing with the subpaths so nested containers probably
won't work. However as ns cgroup is very much legacy, that should be
ok. Eventually we should be able to drop ns cgroup support altogether,
but not just yet.
Signed-off-by: Serge Hallyn <serge.hal...@ubuntu.com>
Acked-by: Stéphane Graber <stgra...@ubuntu.com>
Commit: 9e60f51d0d1d295bdd77f2fa848f3046e04e6804
https://github.com/lxc/lxc/commit/9e60f51d0d1d295bdd77f2fa848f3046e04e6804
Author: Dwight Engen <dwight.en...@oracle.com>
Date: 2013-09-11 (Wed, 11 Sep 2013)
Changed paths:
M src/lxc/lxc_monitord.c
M src/lxc/lxclock.c
M src/lxc/monitor.c
M src/lxc/monitor.h
M src/lxc/utils.c
M src/lxc/utils.h
Log Message:
-----------
move monitor-fifo and monitor-sock to /run
Moving these files should allow $lxcpath to be a read-only fs.
Signed-off-by: Dwight Engen <dwight.en...@oracle.com>
Signed-off-by: Serge Hallyn <serge.hal...@ubuntu.com>
Compare: https://github.com/lxc/lxc/compare/c3cb8580407b...9e60f51d0d1d
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel