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

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



Franco Martelli wrote:
> 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

  by the looks of this link it doesn't appear the kernel
is supplied by Debian so i'm not sure if this will even
work or not for a Debian system.

  for reference this is the docs for Debian kernel tinkering,
i hope it answers your questions.


  https://kernel-team.pages.debian.net/kernel-handbook/


  songbird


Reply to: