runc icon indicating copy to clipboard operation
runc copied to clipboard

Add check for CONFIG_CGROUP_BPF in check-config.sh

Open fmoessbauer opened this issue 2 years ago • 3 comments

The kernel config option CONFIG_CGROUP_BPF=y is required to be able to inject the BPF program of type BPF_PROG_TYPE_CGROUP_DEVICE.

If this option is not set, no containers can be started with runc (BTW: the same holds for crun).

Currently, the check-config.sh script does not test for this option, leading to all-green results for kernels where runc fails to start a container.

fmoessbauer avatar Aug 04 '22 08:08 fmoessbauer

@fmoessbauer thanks for reporting, feel free to open a PR!

kolyshkin avatar Aug 11 '22 01:08 kolyshkin

Hello, I would like to take up this issue is it okay if I create the pr?

dharmicksai avatar Aug 22 '22 07:08 dharmicksai

Hello, I would like to take up this issue is it okay if I create the pr?

Sure. Thanks for taking over.

fmoessbauer avatar Aug 22 '22 08:08 fmoessbauer