You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to compile the eBPF probe (falco_ubuntu-generic_5.4.0-88-generic_99.o)
make[1]: *** /lib/modules/5.4.0-88-generic/build: No such file or directory. Stop.
make: *** [Makefile:20: all] Error 2
mv: cannot stat '/usr/src/falco-3aa7a83bf7b9e6229a3824e3fd1f4452d1e95cb4/bpf/probe.o': No such file or directory
Unable to load the falco eBPF probe
Sun Oct 31 01:58:45 2021: Falco version 0.30.0 (driver version 3aa7a83bf7b9e6229a3824e3fd1f4452d1e95cb4)
Sun Oct 31 01:58:45 2021: Falco initialized with configuration file /etc/falco/falco.yaml
Sun Oct 31 01:58:45 2021: Loading rules from file /etc/falco/falco_rules.yaml:
Sun Oct 31 01:58:46 2021: Loading rules from file /etc/falco/falco_rules.local.yaml:
Sun Oct 31 01:58:46 2021: Loading rules from file /etc/falco/rules.d/rules-nginx-write.yaml:
Sun Oct 31 01:58:46 2021: Unable to load the driver.
Sun Oct 31 01:58:46 2021: Runtime error: can't open BPF probe '/root/.falco/falco-bpf.o': Errno 2. Exiting.
How to reproduce it
Install a KinD cluster using K8s 1.21 on a base Ubuntu 20.04. Use Helm to deploy Falco with BPF enabled, using 0.30.0
KinD Cluster has the extra mounts:
Ill close this - same issue I had in the past, to make this work I needed to add the extra mount for /usr/src to the KinD containers to the Host and it works fine after that.
Describe the bug
Falco pods fail to start on a new KinD cluster using the BPF or kernel. This issue is in regard to using the BPF on KinD running on Ubuntu 20.04
Pod Logs:
curl: (22) The requested URL returned error: 404
Unable to find a prebuilt falco eBPF probe
make[1]: *** /lib/modules/5.4.0-88-generic/build: No such file or directory. Stop.
make: *** [Makefile:20: all] Error 2
mv: cannot stat '/usr/src/falco-3aa7a83bf7b9e6229a3824e3fd1f4452d1e95cb4/bpf/probe.o': No such file or directory
Unable to load the falco eBPF probe
Sun Oct 31 01:58:45 2021: Falco version 0.30.0 (driver version 3aa7a83bf7b9e6229a3824e3fd1f4452d1e95cb4)
Sun Oct 31 01:58:45 2021: Falco initialized with configuration file /etc/falco/falco.yaml
Sun Oct 31 01:58:45 2021: Loading rules from file /etc/falco/falco_rules.yaml:
Sun Oct 31 01:58:46 2021: Loading rules from file /etc/falco/falco_rules.local.yaml:
Sun Oct 31 01:58:46 2021: Loading rules from file /etc/falco/rules.d/rules-nginx-write.yaml:
Sun Oct 31 01:58:46 2021: Unable to load the driver.
Sun Oct 31 01:58:46 2021: Runtime error: can't open BPF probe '/root/.falco/falco-bpf.o': Errno 2. Exiting.
How to reproduce it
Install a KinD cluster using K8s 1.21 on a base Ubuntu 20.04. Use Helm to deploy Falco with BPF enabled, using 0.30.0
KinD Cluster has the extra mounts:
containerPath: /dev
containerPath: /var/run/docker.sock
Expected behaviour
Pods should run without crashing.
Environment
Ubuntu 20.04, kernel headers installed, KinD cluster running K8s 1.21
Falco version:
0.30.0
OS:
NAME="Ubuntu"
VERSION="20.04.3 LTS (Focal Fossa)"
Kernel:
5.4.0-88-generic Add sending alerts to one or more email addresses #99-Ubuntu SMP Thu Sep 23 17:29:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Installation method:
K8s
Hoping someone has an idea to resolve the issue?
The text was updated successfully, but these errors were encountered: