mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-04-28 18:42:47 +00:00
get_hierarchy: dont WARN about no usable controller
If I start a container with loglevel WARN, and (on a pretty stock ubuntu) do lxc-info -n $c, I get lxc-start media 20230706233337.765 WARN cgfsng - cgroups/cgfsng.c:get_hierarchy:142 - There is no useable cpuacct controller lxc-start media 20230706233337.765 WARN cgfsng - cgroups/cgfsng.c:get_hierarchy:142 - There is no useable blkio controller I don't think that's worth WARNing about, so change it to INFO. Signed-off-by: Serge Hallyn <shallyn@cisco.com>
This commit is contained in:
parent
213e2f68d9
commit
84cfe97724
@ -145,7 +145,7 @@ static struct hierarchy *get_hierarchy(const struct cgroup_ops *ops, const char
|
||||
}
|
||||
|
||||
if (controller)
|
||||
WARN("There is no useable %s controller", controller);
|
||||
INFO("There is no useable %s controller", controller);
|
||||
else
|
||||
WARN("There is no empty unified cgroup hierarchy");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user