Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Ben Hutchings 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: References: X-Mailbox-Line: From debian-kernel-request@lists.debian.org Wed Oct 18 12:03:24 2017 Old-Return-Path: 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: archive/latest/114449 List-ID: List-URL: 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 --=-YDzfUf6Q5k9SZAjBBlNs Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2017-10-17 at 21:37 +0200, Alexander Kurtz wrote: > Hi! >=20 > (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.). >=20 > 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]. >=20 > 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. --=20 Ben Hutchings Anthony's Law of Force: Don't force it, get a larger hammer. --=-YDzfUf6Q5k9SZAjBBlNs Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAlnnQvEACgkQ57/I7JWG EQlJkg//XxIPdAHdnsOt5ap5BEzsD7qV2HnGMJrSEBRVba7E5TiHGDXMPLiSv9FM UShtqJPlsBDhuwFSBILVxpH91p8JAp81yNY+lip40BJOoNNFKM12EuxHuWunzPg/ 8L16xt0tilhU9eMcV8dKCUOws4QyA42c+ybYdZYn3Bk3hFEfllhplx8Efypd3KM/ LIK+cZOeJgW5ngrT5ePKUqAZzINOzwOCmJsUxdMuguAADeej2mlq5BbVuvUKXdNW kjWwq+0y2nONTB1i/VwQe00vc7cwXkZMNHO5ta+CLH8kgYQ283cEEsFWZ+PmjNot UzTM2PpFI/QyqaegL71bv8LAQ85oImN18itfyrtC5/vURPiNkgRULx2n9fDGkh2C zoI6m6cDdokH0vyTjekSHe9WJrdKUeQl9/hW9XFSnorN1NT0NC/jkSp1bWpt2vzz jiLxi0YzDj2AkcPno+YPoRK+GETF8kDkPFNeYnP6kbz1FhKu3/GpYpx0TpsFjkJR sfi3cYlZm43AGSkighgEaQbq1vbV4GB34xOeFs2dI6Z3yMBhEmaeHK4HBNvO4VOh 6wnab4CbRnwWieYVmA5ZmuJXX1c0QYL2CQcj501zk6XxtyiNz2D+mw4REH0+d6mF i9yxQrdvIEw5jo668dt4qXKXfZRDq5+saBFl59JtUw9/oKA31Hw= =KFv9 -----END PGP SIGNATURE----- --=-YDzfUf6Q5k9SZAjBBlNs--