Files
runc/libcontainer/cgroups
Kir Kolyshkin 5cdf76719e libct/cg: IsCgroup2UnifiedMode: don't panic
Replace a panic with a warning, unless it's ENOENT and we're running in
a user namespace. In the latter case, do the same as before, i.e. report
the error but using a Debug logging level.

This prevents software that uses libcontainer from panicking in
some exotic setups.

This will also print a warning on some very old systems which does not
use /sys/fs/cgroup for cgroup mount point. My bet is such systems no
longer exist.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2023-06-27 11:29:37 -07:00
..
2023-01-31 15:19:05 +08:00
2021-10-14 13:46:02 -07:00
2022-03-22 23:44:31 -07:00
2022-05-18 11:17:08 -07:00
2023-04-04 11:19:25 -07:00