Public bug reported:

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

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Focal)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1949286

Title:
  [MIR]: Include dwarves-dfsg-hwe package into Bionic and Focal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1949286/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to