[lxc-devel] [GIT] lxc branch, master, updated. 0d9f8e188c1c4832e4f6b9de646478947ae86877
Daniel Lezcano
git at users.sourceforge.net
Mon Jul 13 21:12:30 UTC 2009
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 0d9f8e188c1c4832e4f6b9de646478947ae86877 (commit)
via 2b31f553fab7daa0d62dea9e6e50c7aab2aca0ab (commit)
from 74741dcc9e4a30a57cd30fdf938ae94d14a23734 (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 0d9f8e188c1c4832e4f6b9de646478947ae86877
Author: Daniel Lezcano <daniel.lezcano at free.fr>
Date: Mon Jul 13 23:12:10 2009 +0200
detect a cgroup named 'lxc'
This patch makes lxc to detect a specific cgroup dedicated to lxc
which is mounted with the lxc name. That allows to mount different
cgroup in different places with different options (aka subsystems)
and assign one to be used by lxc. If no such mount point is found,
the first cgroup mount point is used.
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 2b31f553fab7daa0d62dea9e6e50c7aab2aca0ab
Author: Michel Normand <normand at fr.ibm.com>
Date: Mon Jul 13 23:12:09 2009 +0200
lxc-execute or lxc-start to fail if cgroup not mounted
Before this patch a container was able to be started
without mounted cgroup. (only a warning was logged)
But the lxc-ps is using the /proc/<pid>/cgroup to identify
the lxc container in which pid is running.
So to be consistent between all lxc command I force an error
if cgroup is not mounted at time of lxc-execute or lxc-start.
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
-----------------------------------------------------------------------
Summary of changes:
doc/lxc.sgml.in | 31 ++++++++++++++++++++-----------
src/lxc/cgroup.c | 32 ++++++++++++++++++++++----------
src/lxc/start.c | 2 +-
3 files changed, 43 insertions(+), 22 deletions(-)
hooks/post-receive
--
lxc
More information about the lxc-devel
mailing list