Tested and running here at Witt's End. Regards, Mike
On Sun, 2011-07-03 at 22:42 +0000, Daniel Lezcano wrote: > 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 <se...@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.hal...@ubuntu.com> > Signed-off-by: Daniel Lezcano <dlezc...@fr.ibm.com> > Tested-by: Michael H. Warfield <m...@wittsend.com> > > commit c840b37de865195a8742e219b4374d961a21d4d9 > Author: Frederic Crozat <fcro...@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 <fcro...@suse.com> > Signed-off-by: Daniel Lezcano <dlezc...@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 -- Michael H. Warfield (AI4NB) | (770) 985-6132 | m...@wittsend.com /\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/ NIC whois: MHW9 | An optimist believes we live in the best of all PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel