]> git.ipfire.org Git - thirdparty/lxc.git/commit
get_hierarchy: dont WARN about no usable controller
authorSerge Hallyn <shallyn@cisco.com>
Thu, 6 Jul 2023 23:34:59 +0000 (18:34 -0500)
committerStéphane Graber <stgraber@stgraber.org>
Tue, 25 Jul 2023 16:29:15 +0000 (12:29 -0400)
commit54227bdb159e25f14b1a8b18dbede46d46e386f0
treeb42e09a9b9c348fe2eae891d2af54894a0b45dcf
parentbe7efff356941a1e4f0a68d16a28be39f55288b3
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>
src/lxc/cgroups/cgfsng.c