diff options
author | Michel Normand <normand@fr.ibm.com> | 2009-07-13 23:12:09 +0200 |
---|---|---|
committer | Daniel Lezcano <dlezcano@fr.ibm.com> | 2009-07-13 23:12:09 +0200 |
commit | 2b31f553fab7daa0d62dea9e6e50c7aab2aca0ab (patch) | |
tree | 0497f22676847c340859c9d9a5244a09a6d3d7b3 /doc | |
parent | create the lxc directory with lxc-setcap (diff) | |
download | lxc-2b31f553fab7daa0d62dea9e6e50c7aab2aca0ab.tar.gz lxc-2b31f553fab7daa0d62dea9e6e50c7aab2aca0ab.tar.bz2 lxc-2b31f553fab7daa0d62dea9e6e50c7aab2aca0ab.zip |
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@fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions