Bug 2310159 - Review Request: bpftool - Management of eBPF programs and maps
Summary: Review Request: bpftool - Management of eBPF programs and maps
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-09-05 08:50 UTC by Viktor Malik
Modified: 2024-09-09 21:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:
ngompa13: fedora-review?


Attachments (Terms of Use)

Description Viktor Malik 2024-09-05 08:50:03 UTC
Spec URL: https://vmalik.fedorapeople.org/bpftool.spec
SRPM URL: https://vmalik.fedorapeople.org/bpftool-7.4.0-1.fc42.src.rpm
Description: This package contains the bpftool, which allows inspection and simple manipulation of eBPF programs and maps.
Fedora Account System Username: vmalik

bpftool is not a new package, it is currently built as a part of kernel RPM build (because its source files are a part of the kernel source tree). This is a request to move it to a separate package which will be built from the official GitHub mirror [1].

There are two main reasons for this change:
1. bpftool version is independent of the kernel and having it in the kernel spec causes all kinds of problems,
2. bpftool is loosely coupled to the libbpf library which is also packaged separately [2].

This change is accompanied by removing bpftool package build from kernel specfile [3].

[1] https://github.com/libbpf/bpftool
[2] https://packages.fedoraproject.org/pkgs/libbpf/libbpf/
[3] https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3338

Comment 1 Neal Gompa 2024-09-09 21:45:27 UTC
Taking this review.


Note You need to log in before you can comment on or make changes to this bug.