[lxc-devel] [GIT] lxc branch, master, updated. bcbd102cba31a0054fe4204a39b5e8a411cde42f
Daniel Lezcano
git at users.sourceforge.net
Sun Jul 3 22:42:36 UTC 2011
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "lxc".
The branch, master has been updated
via bcbd102cba31a0054fe4204a39b5e8a411cde42f (commit)
via c840b37de865195a8742e219b4374d961a21d4d9 (commit)
from c1c75c04a6b7d7926b6eaaf45309d35d7650f6d2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit bcbd102cba31a0054fe4204a39b5e8a411cde42f
Author: Serge E. Hallyn <serge at hallyn.com>
Date: Mon Jul 4 00:42:06 2011 +0200
cgroups: support cgroups mounted in multiple places (v3)
(sorry for the extra traffic.)
With this patch, lxc works for me both with all cgroups mounted with
ns cgroup on /cgroup, and with libcgroup mounting all cgroups
separately.
To do this, instead of looking for one cgroup called 'lxc' or
otherwise taking the first cgroup we find, we actually create a
container in every mounted cgroup fs. Right now it's done under the
root of each fs. We may want to put that under lxc, or, better yet,
make that configurable.
Changelog:
Michael H. Warfield: Handle the case where subsystem doesn't have '.'.
Daniel Lezcano: clean up incorrect reentrant use of mntent helpers
v3: use the rest of Daniel's cleanups
TODO: add a configurable directory name, 'lxc' by default, under which
all lxc cgroups are created (i.e. /sys/fs/cgroup/lxc)
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
Tested-by: Michael H. Warfield <mhw at WittsEnd.com>
commit c840b37de865195a8742e219b4374d961a21d4d9
Author: Frederic Crozat <fcrozat at suse.com>
Date: Mon Jul 4 00:35:52 2011 +0200
templates: add openSUSE template.
The good news is, starting with next openSUSE release (and next SLES 11
Service Pack), patching /etc/init.d/boot won't be needed anymore for
LXC, we integrated detection of LXC (through container variable set to
lxc) in /etc/init.d/boot and /dev is no longer mounted automatically by
initscript.
Signed-off-by: Frederic Crozat <fcrozat at suse.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 1 +
src/lxc/cgroup.c | 250 +++++++++++++++++--------------
src/lxc/cgroup.h | 2 +-
src/lxc/freezer.c | 2 +-
src/lxc/lxc.h | 8 +-
src/lxc/state.c | 2 +-
templates/Makefile.am | 1 +
templates/lxc-opensuse.in | 368 +++++++++++++++++++++++++++++++++++++++++++++
8 files changed, 517 insertions(+), 117 deletions(-)
create mode 100644 templates/lxc-opensuse.in
hooks/post-receive
--
lxc
More information about the lxc-devel
mailing list