2021-10-31 06:38:56 |
Rafael David Tinoco |
bug |
|
|
added bug |
2021-10-31 06:44:57 |
Rafael David Tinoco |
description |
This is a follow-on request of bug:
HWE kernels should support eBPF CO-RE
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1926330
[Availability]
- Package is already available in all Ubuntu versions.
- This is a backported version (Impish) to Bionic and Focal
[Rationale]
- Current package dwarves-dfsg is old in Ubuntu Bionic and Focal
- HWE kernel compilation needs recent "pahole" binary to encode BTF[1] information
- After talking to SRU team members, updating dwarves-dfsg seemed risky
- Creating a new package for a more recent version of dwarves seems appropriate
[Security]
[Quality assurance]
[UI standards]
[Dependencies]
[Standards compliance]
[Maintenance]
[Background information]
----
[1] https://www.kernel.org/doc/html/latest/bpf/btf.html |
This is a follow-on request of bug:
HWE kernels should support eBPF CO-RE
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1926330
[Availability]
- Package is already available in all Ubuntu versions.
- This is a backported version (Impish) to Bionic and Focal
[Rationale]
- Current package dwarves-dfsg is old in Ubuntu Bionic and Focal.
- HWE kernel compilation needs recent "pahole" binary to encode BTF[1] information.
- After talking to SRU team members, updating dwarves-dfsg seemed risky.
- Creating a new package containing only the new "pahole" tool binary is the best option.
- Kernel HWE compilations will need to use this package, so it has to be in main repository (as kernels builds depend on main only).
[Security]
- This package is already stable and exists in Ubuntu.
[Quality assurance]
- This package is already stable and exists in Ubuntu.
[Dependencies]
- Same dependencies as dwarves-dfsg package (already satisfied).
[Standards compliance]
- This package is already stable and exists in Ubuntu.
[Maintenance]
- SRUs for dwarves-dfsg package within Impish should be applied to this package as well.
[Background information]
Bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1926330 contains more information about why this is needed.
I have been maintaining BTFHUB (https://github.com/aquasecurity/btfhub) in order to generate BTF files to each existing Ubuntu kernel but I feel that a simple change, like adding a recent pahole tool to the main archive in Bionic and Focal, is enough to resolve a VERY BIG problem for eBPF applications to run in HWE kernels in those Ubuntu versions.
A very complete explanation on why BTF is needed for eBPF to be portable among different kernels currently exists at: https://github.com/aquasecurity/btfhub/tree/main/tools.
Projects that would already benefit from this change:
- Microsoft: Sysmon Tools for Linux
- Microsoft: Inspektor Gadge
- Elastic: They're working together with us upstream
- Aqua Security: libbpfgo & tracee-ebpf
- All BCC libbpf-tools
and many more.
----
[1] https://www.kernel.org/doc/html/latest/bpf/btf.html |
|
2021-10-31 06:45:08 |
Rafael David Tinoco |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2021-10-31 06:45:13 |
Rafael David Tinoco |
bug |
|
|
added subscriber Canonical Kernel SRU Team |
2021-10-31 06:45:23 |
Rafael David Tinoco |
bug |
|
|
added subscriber Canonical Kernel Team |
2021-10-31 06:45:32 |
Rafael David Tinoco |
nominated for series |
|
Ubuntu Focal |
|
2021-10-31 06:45:32 |
Rafael David Tinoco |
bug task added |
|
linux (Ubuntu Focal) |
|
2021-10-31 06:45:32 |
Rafael David Tinoco |
nominated for series |
|
Ubuntu Bionic |
|
2021-10-31 06:45:32 |
Rafael David Tinoco |
bug task added |
|
linux (Ubuntu Bionic) |
|
2021-10-31 06:45:46 |
Rafael David Tinoco |
linux (Ubuntu): status |
New |
Fix Released |
|
2021-10-31 06:45:58 |
Rafael David Tinoco |
linux (Ubuntu Bionic): importance |
Undecided |
High |
|
2021-10-31 06:46:01 |
Rafael David Tinoco |
linux (Ubuntu Focal): importance |
Undecided |
High |
|
2021-10-31 06:46:05 |
Rafael David Tinoco |
linux (Ubuntu Bionic): status |
New |
Confirmed |
|
2021-10-31 06:46:09 |
Rafael David Tinoco |
linux (Ubuntu Focal): status |
New |
Confirmed |
|
2021-11-04 17:33:15 |
Dimitri John Ledkov |
linux (Ubuntu Bionic): status |
Confirmed |
Incomplete |
|
2021-11-04 17:33:17 |
Dimitri John Ledkov |
linux (Ubuntu Focal): status |
Confirmed |
Incomplete |
|