Skip to content

could not check enabled kconfig features - Ubuntu 24.04 #4691

Open
@rohitcoder

Description

@rohitcoder

Description

I was trying to capture egress traffic and thought of using Tracee to help with it. However, while testing, I ran into an error. Do you have any idea how to fix it?

Output of tracee version:

Tracee version: v0.23.0

Output of uname -a:

Linux ip-172-31-0-71 6.8.0-1025-aws #27-Ubuntu SMP Wed Feb 19 19:10:47 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Additional details

root@ip-172-31-0-71:/tmp# arch
x86_64
root@ip-172-31-0-71:/tmp# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.04 LTS
Release:        24.04
Codename:       noble
root@ip-172-31-0-71:/tmp# docker run --name tracee -it --rm \
  --pid=host --cgroupns=host --privileged \
  -v /etc/os-release:/etc/os-release-host:ro \
  -v /var/run:/var/run:ro \
  aquasec/tracee:latest
{"level":"warn","ts":1743437597.235206,"msg":"KConfig: could not check enabled kconfig features","error":"could not read /boot/config-6.8.0-1025-aws: stat /boot/config-6.8.0-1025-aws: no such file or directory"}
{"level":"warn","ts":1743437597.2353456,"msg":"KConfig: assuming kconfig values, might have unexpected behavior"}
{"level":"fatal","ts":1743437605.959398,"msg":"Tracee runner failed","error":"cmd.Runner.Run: error initializing Tracee: ebpf.(*Tracee).Init: ebpf.(*Tracee).initBPF: ebpf.(*Tracee).populateBPFMaps: ebpf.(*Tracee).populateFilterMaps: policy.(*policies).updateBPF: policy.(*policies).createNewEventsMapVersion: policy.createNewInnerMap: could not find BTF id 371: operation not permitted"}
root@ip-172-31-0-71:/tmp# 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions