[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

systemd[1]: bpf-restrict-fs: Failed to load BPF object: No such file or directory



Hello,

I recompiled the Linux kernel and in the "dmesg" output I get the error message:

systemd[1]: bpf-restrict-fs: Failed to load BPF object: No such file or directory

accordingly to this post ¹ I want to try to add the libraries:

/usr/lib/x86_64-linux-gnu/libbpf.so.1
/usr/lib/x86_64-linux-gnu/libbpf.so.1.5.0

to my "/boot/initrd.img-6.12.43" file. I checked with the command:

~# lsinitramfs /boot/initrd.img-6.12.43 |grep bpf

that it returns nothing so I guess those libraries are missing.

So the question is: how can I add libraries (not modules) to my "initrd.img" file?

Thanks in advance, kind regards.

¹ https://github.com/anthraxx/linux-hardened/issues/93#issuecomment-1996220588

--
Franco Martelli


Reply to: