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

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
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 Wed, 18 Oct 2017 14:10:01 +0200
Message-ID <uBVkB-RV-1@gated-at.bofh.it> (permalink)
References <uBG2d-762-1@gated-at.bofh.it>
X-Mailbox-Line From debian-kernel-request@lists.debian.org Wed Oct 18 12:03:24 2017
Old-Return-Path <ben@decadent.org.uk>
X-Amavis-Spam-Status No, score=-12.701 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -6.1
Content-Type multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-YDzfUf6Q5k9SZAjBBlNs"
X-Mailer Evolution 3.26.1-1
MIME-Version 1.0
X-Sa-Exim-Connect-IP 2a02:8011:400e:2:6f00:88c8:c921:d332
X-Sa-Exim-Mail-From ben@decadent.org.uk
X-Sa-Exim-Scanned No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false
X-Mailing-List <debian-kernel@lists.debian.org> archive/latest/114449
List-ID <debian-kernel.lists.debian.org>
List-URL <https://lists.debian.org/debian-kernel/>
List-Archive https://lists.debian.org/msgid-search/1508328177.2721.5.camel@decadent.org.uk
Approved robomod@news.nic.it
Lines 54
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc 877925@bugs.debian.org, 878935@bugs.debian.org
X-Original-Date Wed, 18 Oct 2017 13:02:57 +0100
X-Original-Message-ID <1508328177.2721.5.camel@decadent.org.uk>
X-Original-References <1508269035.29175.30.camel@kurtz.be>
Xref csiph.com linux.debian.kernel:59217 linux.debian.bugs.dist:857395

Cross-posted to 2 groups.

Show key headers only | 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