Bug 2035608
Summary: | Controller bpf-restrict-network-interfaces, bpf-socket-bind not supported | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | François Rigault <francois.rigault> | ||||
Component: | systemd | Assignee: | systemd-maint | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | dan, fedoraproject, filbranden, flepied, lnykryn, msekleta, ryncsn, ssahani, s, systemd-maint, yuwatana, zbyszek | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | systemd-250-2.fc36 systemd-250.1-1.fc36 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2022-01-04 18:09:31 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 2036145 | ||||||
Attachments: |
|
Description
François Rigault
2021-12-25 13:17:38 UTC
Created attachment 1847787 [details]
patch systemd.spec to build with bpf framework
Thanks for the patch! Unfortunately it doesn't work on arm and ppc64el, see https://kojipkgs.fedoraproject.org//work/tasks/4221/80464221/build.log and https://kojipkgs.fedoraproject.org//work/tasks/4225/80464225/build.log. Because of the holidays, I didn't have the will to really look into this. https://github.com/systemd/systemd/issues/21900 for the ppc64 build issue This is now fixed except on arm and ppc64el. This breaks booting on s390x ... [ 5.380524] systemd[1]: Hostname set to <fedora>. [ 5.380852] systemd[1]: Initializing machine ID from random generator. [ 5.676504] systemd[1]: Failed to link 'restrict_filesystems' LSM BPF program: Cannot allocate memory [ 5.695467] systemd[1]: Failed to allocate manager object: Cannot allocate memory [!!!!!!] Failed to allocate manager object. [ 5.695718] systemd[1]: Freezing execution. starting with Fedora-Rawhide-20211231.n.0 which is the first compose with systemd >= 250-2.fc36 Dan: this is a different issue, an opposite one in fact. This bug was about the functionality not being compiled in, and that's been fixed. A patch was just merged upstream that should make the code successfully compile on all architectures. Unfortunately that *exposes* the bug you see, the fact that the kernel/libbpf don't work as expected on some architectures. This is tracked in #2036145. I'll add your comment there. |