summaryrefslogtreecommitdiff
path: root/src/nspawn
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-04-22 17:26:06 -0300
committerLennart Poettering <lennart@poettering.net>2013-04-22 23:14:12 -0300
commitaff38e74bd776471f15ba54b305a24b0251eb865 (patch)
tree3cf5b2d30d78cd2f7472907d098e298b52683e2e /src/nspawn
parentdc2c75602dc9f2529e6ba6db02fa53d057ce0f8c (diff)
nspawn: suffix the nspawn cgroups with ".nspawn"
As discussed with Dan Berrange it's a good idea to suffix all objects in the cgroup tree with ".something", so that when the system is partitioned using a resource management tool we can drop objects of different types into the same partition directory without generate namespace conflicts. We'l add this to the Pax Control Group document as soon as write access to the fdo wiki is restored.
Diffstat (limited to 'src/nspawn')
-rw-r--r--src/nspawn/nspawn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index 0a5a151202..1e7df38c16 100644
--- a/src/nspawn/nspawn.c
+++ b/src/nspawn/nspawn.c
@@ -1298,7 +1298,7 @@ int main(int argc, char *argv[]) {
goto finish;
}
- newcg = strjoin(machine_root, "/", arg_machine, NULL);
+ newcg = strjoin(machine_root, "/", arg_machine, ".nspawn", NULL);
if (!newcg) {
log_error("Failed to allocate cgroup path.");
goto finish;