Bug 2175496

Summary: systemd: bpf-lsm: Failed to load BPF object: No such process
Product: [Fedora] Fedora Reporter: itrymybest80
Component: systemdAssignee: systemd-maint
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: fedoraproject, filbranden, kocelfc, lnykryn, msekleta, ryncsn, systemd-maint, yuwatana, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-04-18 10:07:09 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:
Attachments:
Description Flags
log from journalctl -b -0 none

Description itrymybest80 2023-03-05 11:39:25 UTC
After my kernel upgrade during the 6.2 kernel test week I noticed the follow two new lines in dmesg:


[1.251632] systemd[1]: bpf-lsm: Failed to load BPF object: No such process
[23.588053] systemd[1]: bpf-lsm: Failed to load BPF object: No such process


Version-Release number of selected component (if applicable):
systemd-251.13-4.fc37.x86_64
kernel-6.2.2-300.fc37.x86_64


How reproducible: always!


Steps to Reproduce:
1. upgrade to the latest 6.2 kernel
2. boot and login to your desktop environment


In addition to the following two old messages (who has been with me for a couple of months):
[23.697915] systemd-gpt-auto-generator[1060]: Failed to dissect: Permission denied
[23.715759] (sd-executor)[1045]: /usr/lib/systemd/system-generators/systemd-gpt-auto-generator failed with exit status 1.

Comment 1 Zbigniew Jędrzejewski-Szmek 2023-03-06 08:51:03 UTC
The warning about bpf-lsm is similar to #2084955. I'm not sure why
you're seeing it in F37. Please attach the full logs from the boot
('journalctl -b -o short-monotonic' or so).

systemd-gpt-auto-generator is is #2083900.

Comment 2 kocelfc 2023-03-06 09:06:17 UTC
Created attachment 1948257 [details]
log from journalctl -b -0

I am also running into this on kernel 6.2.2 on F37, attaching the output of journalctl -b -0 -o short-monotonic.

Comment 3 Zbigniew Jędrzejewski-Szmek 2023-03-07 10:30:33 UTC
'rpm -q libbpf' ?

Comment 4 itrymybest80 2023-03-07 12:18:18 UTC
# rpm -q libbpf
libbpf-0.8.0-2.fc37.x86_64

Comment 5 kocelfc 2023-04-03 17:31:22 UTC
Not reproducible on the F38 beta

Comment 6 Zbigniew Jędrzejewski-Szmek 2023-04-18 10:07:09 UTC
Ah, OK. This is a version incompatiblity in libbpf.

*** This bug has been marked as a duplicate of bug 2138510 ***