Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does aws-network-policy-agent work without vmlinux.h? #249

Open
developer-guy opened this issue Apr 16, 2024 · 1 comment
Open

does aws-network-policy-agent work without vmlinux.h? #249

developer-guy opened this issue Apr 16, 2024 · 1 comment
Labels
question Further information is requested

Comments

@developer-guy
Copy link

developer-guy commented Apr 16, 2024

Hello folks👋

At the line #32 in Dockerfile make vmlinuxh tries to run bpftool btf dump file .. and it causes the following problem in our GitHub Actions workflow:

2024/04/13 20:08:33 INFO /sys/kernel/btf/vmlinux: cannot open `/sys/kernel/btf/vmlinux' (No such file or directory)
2024/04/13 20:08:33 INFO bpftool btf dump file /sys/kernel/btf/vmlinux format c > /home/build/pkg/ebpf/c/vmlinux.h
2024/04/13 20:08:33 WARN Error: failed to load BTF from /sys/kernel/btf/vmlinux: No such file or directory

So the questions are:

  • Would you mind giving me some ideas to sort out this problem?
  • If this is smth that we cannot fix atm is this required for the application to be running?

Thanks!

@jayanthvn
Copy link
Contributor

@developer-guy - Do you know the kernel version where the build is happening?

Since looks like /sys/kernel/btf/vmlinux is missing.

@jayanthvn jayanthvn added the question Further information is requested label Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants