HWE kernels should support eBPF CO-RE
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dwarves-dfsg (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Confirmed
|
Undecided
|
Unassigned | ||
Focal |
Confirmed
|
Undecided
|
Unassigned | ||
Groovy |
Fix Released
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Confirmed
|
Undecided
|
Unassigned | ||
Focal |
Confirmed
|
Undecided
|
Unassigned | ||
Groovy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I had recent discussion with kernel team regarding support or not BTF in HWE kernels (Bionic and Focal). Having CONFIG_
By allowing runtime relocations, using provided BTF, libbpf binaries might end up running, without modifications, in different kernel versions (from Bionic HWE v5.4 kernel to Hirsute v5.11).
A good example would be to support tools such as:
https:/
An ebpf powered backend for a containers security solution.
Considering:
$ rmadisonb dwarves
dwarves | 1.9-1 | precise/universe | amd64
dwarves | 1.10-2 | trusty | amd64
dwarves | 1.10-2.1 | xenial/universe | amd64
dwarves | 1.10-2.1build1 | bionic/universe | amd64
dwarves | 1.15-2 | focal/universe | amd64
dwarves | 1.17-1 | groovy/universe | amd64
dwarves | 1.20-1 | hirsute/universe | amd64
dwarves | 1.20-1 | impish/universe | amd64
And the fact that the 'pahole' binary, from dwarves package, is the one to blame, not to have CONFIG_
Question: Would have dwarves backported in -backports be enough for Bionic and Focal HWE kernels compilation to have CONFIG_
Changed in linux (Ubuntu Groovy): | |
status: | New → Fix Committed |
status: | Fix Committed → Fix Released |
Changed in linux (Ubuntu Focal): | |
status: | New → Confirmed |
Changed in linux (Ubuntu Bionic): | |
status: | New → Confirmed |
summary: |
- HWE kernels should enable BTF support to enable new eBPF based code + HWE kernels should enable BTF support to enable eBPF RO.CE support |
Changed in dwarves-dfsg (Ubuntu Groovy): | |
status: | New → Fix Released |
Changed in dwarves-dfsg (Ubuntu Focal): | |
status: | New → Confirmed |
Changed in dwarves-dfsg (Ubuntu Bionic): | |
status: | New → Confirmed |
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
Changed in dwarves-dfsg (Ubuntu): | |
status: | New → Confirmed |
no longer affects: | dwarves-dfsg (Ubuntu Hirsute) |
no longer affects: | linux (Ubuntu Hirsute) |
summary: |
- HWE kernels should enable BTF support to enable eBPF RO.CE support + HWE kernels should enable BTF support to enable eBPF CO-RE support |
summary: |
- HWE kernels should enable BTF support to enable eBPF CO-RE support + HWE kernels should support eBPF CO-RE |
Changed in dwarves-dfsg (Ubuntu Bionic): | |
status: | Won't Fix → Confirmed |
Changed in linux (Ubuntu Bionic): | |
status: | Won't Fix → Confirmed |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1926330
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.