]> git.ipfire.org Git - thirdparty/lxc.git/commit
get_hierarchy: dont WARN about no usable controller 4324/head
authorSerge Hallyn <shallyn@cisco.com>
Thu, 6 Jul 2023 23:34:59 +0000 (18:34 -0500)
committerSerge Hallyn <shallyn@cisco.com>
Thu, 6 Jul 2023 23:34:59 +0000 (18:34 -0500)
commit84cfe977246989d58a4bdfd7942c764e592af039
treed1b5c0fba970783512a6694db9a0866f5bbf3b22
parent213e2f68d90ed63e6338329daf566a79b64dee76
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