Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 638860

Summary: sys-apps/systemd-235 should warn about CONFIG_CGROUP_BPF kernel option for Linux >= 4.10
Product: Gentoo Linux Reporter: Darko Luketic <info>
Component: Current packagesAssignee: Gentoo systemd Team <systemd>
Status: RESOLVED FIXED    
Severity: normal CC: tsmksubc
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Darko Luketic 2017-11-26 08:31:33 UTC
cgroup_bpf patch is applied towards kernel 4.10 and up
https://github.com/systemd/systemd/issues/7188

kernel 4.9 doesn't have this functionality, therefore >=systemd-235 should require kernel >=4.10

or backport the cgroup_bpf patch to lts kernels
Comment 1 Mike Gilbert gentoo-dev 2017-11-27 21:53:11 UTC
cgroup bpf support is not a requirement; it's just a warning.

Lennart has already fixed the log spam issue on master.
Comment 2 Larry the Git Cow gentoo-dev 2017-11-27 22:04:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=663c5cf752b24425fa93c8f9a0fbf22077314520

commit 663c5cf752b24425fa93c8f9a0fbf22077314520
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2017-11-27 22:03:07 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2017-11-27 22:03:59 +0000

    sys-apps/systemd: add kernel check for CGROUP_BPF
    
    Closes: https://bugs.gentoo.org/638860
    Package-Manager: Portage-2.3.15, Repoman-2.3.6_p7

 sys-apps/systemd/systemd-235-r1.ebuild | 1 +
 sys-apps/systemd/systemd-9999.ebuild   | 1 +
 2 files changed, 2 insertions(+)