diff --git a/src/core/bpf-util.c b/src/core/bpf-util.c index 9130aa373f2..84170da0a80 100644 --- a/src/core/bpf-util.c +++ b/src/core/bpf-util.c @@ -26,7 +26,8 @@ bool cgroup_bpf_supported(void) { r = dlopen_bpf(); if (r < 0) { - log_info_errno(r, "Failed to open libbpf, cgroup BPF features disabled: %m"); + log_full_errno(in_initrd() ? LOG_DEBUG : LOG_INFO, + r, "Failed to open libbpf, cgroup BPF features disabled: %m"); return (supported = false); }