Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #59217

Re: libbpfcc needs a way to ensure the current kernel's headers are installed

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.kernel, linux.debian.bugs.dist
Subject Re: libbpfcc needs a way to ensure the current kernel's headers are installed
Date 2017-10-18 14:10 +0200
Message-ID <uBVkB-RV-1@gated-at.bofh.it> (permalink)
References <uBG2d-762-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Tue, 2017-10-17 at 21:37 +0200, Alexander Kurtz wrote:
> Hi!
> 
> (Applications linked against) libbpfcc will dynamically compile and
> load C source code into eBPF byte code at runtime and load the result
> into the kernel for various purposes (e.g. socket filtering, tracing,
> etc.).
> 
> For this to work, it needs the kernel headers of the *currently running
> kernel* [0,1]. Therefore, the maintainer of libbpfcc in Debian added a
> corresponding dependency [2] which unfortunately breaks everything but
> amd64 [3] and does also not quite fix the original bug [4].
> 
> Please comment on bug #877925 [4] and/or #878922 [3] regarding on how
> to solve the "this package needs the current kernel's headers
> installed" problem!

You cannot use package dependencies to do this.  It has to be a run-
time check.

Ben.

-- 
Ben Hutchings
Anthony's Law of Force: Don't force it, get a larger hammer.

Back to linux.debian.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: libbpfcc needs a way to ensure the current kernel's headers are  installed Ben Hutchings <ben@decadent.org.uk> - 2017-10-18 14:10 +0200
  Bug#877925: libbpfcc needs a way to ensure the current kernel's headers are installed Alexander Kurtz <alexander@kurtz.be> - 2017-10-18 14:30 +0200
    Bug#877925: libbpfcc needs a way to ensure the current kernel's headers are installed Ben Hutchings <ben@decadent.org.uk> - 2017-10-18 15:30 +0200

csiph-web