summaryrefslogtreecommitdiff
path: root/src/basic
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-09-03 20:10:00 +0200
committerLennart Poettering <lennart@poettering.net>2015-09-04 09:07:31 +0200
commit98e4d8d7635496cbf62c8127ce6a8e8f7604a031 (patch)
tree68abbb86889691edb419329c82fa36145b862b6b /src/basic
parent5f4c5fef66581383ee852b301db67f687663004c (diff)
nspawn: enable all controllers we can for the "payload" subcgroup we create
In the unified hierarchy delegating controller access is safe, hence make sure to enable all controllers for the "payload" subcgroup if we create it, so that the container will have all controllers enabled the nspawn service itself has.
Diffstat (limited to 'src/basic')
-rw-r--r--src/basic/cgroup-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/cgroup-util.c b/src/basic/cgroup-util.c
index 388bd629ee..a298b29382 100644
--- a/src/basic/cgroup-util.c
+++ b/src/basic/cgroup-util.c
@@ -2163,7 +2163,7 @@ int cg_enable_everywhere(CGroupMask supported, CGroupMask mask, const char *p) {
r = write_string_file(fs, s, 0);
if (r < 0)
- log_warning_errno(r, "Failed to enable controller %s for %s (%s): %m", n, p, fs);
+ log_debug_errno(r, "Failed to enable controller %s for %s (%s): %m", n, p, fs);
}
}