Bug#986905: systemd armhf: Attaching egress BPF program to cgroup failed
Ryutaroh Matsumoto
ryutaroh at ict.e.titech.ac.jp
Thu Apr 15 08:19:50 BST 2021
My reports have been wrong.
This reported symptom is also observed with Debian amd64&arm64, outside of a VM,
with task-xfce-desktop installed and
DefaultIPAccounting=yes in /etc/systemd/user.conf.
In
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986905#5
all the error messages are from systemd user instance (whose PID != 1),
and the error is "Invalid argument".
But on linux-image-armmp-lpae running a barebone hardware (my RPi4B 8GB),
the symptom has difference appearance:
The systemd system instance (PID==1) also gives
"Attaching egress BPF program to cgroup failed",
and its reason is "Cannot allocate memory". (What is it???)
A full output of "journalctl -b -g BPF" on barebone hardware is as below,
which cannot be reproduced in a VM (afaik):
-- Journal begins at Tue 2021-04-13 20:01:59 JST, ends at Wed 2021-04-14 12:58:58 JST. --
Apr 14 12:57:48 raspi4b-armhf systemd[1]: -.slice: Attaching egress BPF program to cgroup /sys/fs/cgroup failed: Cannot allocate memory
Apr 14 12:57:48 raspi4b-armhf systemd[1]: system.slice: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice failed: Cannot allocate memory
Apr 14 12:57:48 raspi4b-armhf systemd[1]: system-getty.slice: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/system-getty.slice failed: Cannot allocate memory
Apr 14 12:57:48 raspi4b-armhf systemd[1]: system-modprobe.slice: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/system-modprobe.slice failed: Cannot allocate memory
Apr 14 12:57:48 raspi4b-armhf systemd[1]: system-postfix.slice: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/system-postfix.slice failed: Cannot allocate memory
Apr 14 12:57:48 raspi4b-armhf systemd[1]: system-serial\x2dgetty.slice: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/system-serial\x2dgetty.slice failed: Cannot allocate memory
Apr 14 12:57:48 raspi4b-armhf systemd[1]: system-systemd\x2dfsck.slice: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/system-systemd\x2dfsck.slice failed: Cannot allocate memory
Apr 14 12:57:48 raspi4b-armhf systemd[1]: system-wpa_supplicant.slice: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/system-wpa_supplicant.slice failed: Cannot allocate memory
Apr 14 12:57:48 raspi4b-armhf systemd[1]: user.slice: Attaching egress BPF program to cgroup /sys/fs/cgroup/user.slice failed: Cannot allocate memory
Apr 14 12:57:48 raspi4b-armhf systemd[1]: dev-hugepages.mount: Attaching egress BPF program to cgroup /sys/fs/cgroup/dev-hugepages.mount failed: Cannot allocate memory
Apr 14 12:57:48 raspi4b-armhf systemd[1]: dev-mqueue.mount: Attaching egress BPF program to cgroup /sys/fs/cgroup/dev-mqueue.mount failed: Cannot allocate memory
Apr 14 12:57:48 raspi4b-armhf systemd[1]: sys-kernel-debug.mount: Attaching egress BPF program to cgroup /sys/fs/cgroup/sys-kernel-debug.mount failed: Cannot allocate memory
Apr 14 12:57:48 raspi4b-armhf systemd[1]: sys-kernel-tracing.mount: Attaching egress BPF program to cgroup /sys/fs/cgroup/sys-kernel-tracing.mount failed: Cannot allocate memory
Apr 14 12:57:48 raspi4b-armhf systemd[1]: fake-hwclock.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/fake-hwclock.service failed: Cannot allocate memory
Apr 14 12:57:48 raspi4b-armhf systemd[1]: keyboard-setup.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/keyboard-setup.service failed: Cannot allocate memory
Apr 14 12:57:48 raspi4b-armhf systemd[1]: kmod-static-nodes.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/kmod-static-nodes.service failed: Cannot allocate memory
Apr 14 12:57:48 raspi4b-armhf systemd[1]: modprobe at configfs.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/system-modprobe.slice/modprobe at configfs.service failed: Cannot allocate memory
Apr 14 12:57:48 raspi4b-armhf systemd[1]: modprobe at drm.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/system-modprobe.slice/modprobe at drm.service failed: Cannot allocate memory
Apr 14 12:57:48 raspi4b-armhf systemd[1]: modprobe at fuse.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/system-modprobe.slice/modprobe at fuse.service failed: Cannot allocate memory
Apr 14 12:57:48 raspi4b-armhf systemd[1]: systemd-modules-load.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/systemd-modules-load.service failed: Cannot allocate memory
Apr 14 12:57:48 raspi4b-armhf systemd[1]: systemd-remount-fs.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/systemd-remount-fs.service failed: Cannot allocate memory
Apr 14 12:57:48 raspi4b-armhf systemd[1]: systemd-udev-trigger.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/systemd-udev-trigger.service failed: Cannot allocate memory
Apr 14 12:57:48 raspi4b-armhf systemd[1]: system.slice: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice failed: Cannot allocate memory
Apr 14 12:57:48 raspi4b-armhf systemd[1]: -.slice: Attaching egress BPF program to cgroup /sys/fs/cgroup failed: Cannot allocate memory
Apr 14 12:57:49 raspi4b-armhf systemd[1]: sys-fs-fuse-connections.mount: Attaching egress BPF program to cgroup /sys/fs/cgroup/sys-fs-fuse-connections.mount failed: Cannot allocate memory
Apr 14 12:57:49 raspi4b-armhf systemd[1]: sys-kernel-config.mount: Attaching egress BPF program to cgroup /sys/fs/cgroup/sys-kernel-config.mount failed: Cannot allocate memory
Apr 14 12:57:49 raspi4b-armhf systemd[1]: systemd-journal-flush.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/systemd-journal-flush.service failed: Cannot allocate memory
Apr 14 12:57:49 raspi4b-armhf systemd[1]: systemd-random-seed.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/systemd-random-seed.service failed: Cannot allocate memory
Apr 14 12:57:49 raspi4b-armhf systemd[1]: systemd-sysctl.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/systemd-sysctl.service failed: Cannot allocate memory
Apr 14 12:57:49 raspi4b-armhf systemd[1]: systemd-sysusers.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/systemd-sysusers.service failed: Cannot allocate memory
Apr 14 12:57:49 raspi4b-armhf systemd[1]: systemd-tmpfiles-setup-dev.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/systemd-tmpfiles-setup-dev.service failed: Cannot allocate memory
Apr 14 12:57:49 raspi4b-armhf systemd[1]: systemd-networkd.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/systemd-networkd.service failed: Cannot allocate memory
Apr 14 12:57:50 raspi4b-armhf systemd[1]: systemd-networkd-wait-online.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/systemd-networkd-wait-online.service failed: Cannot allocate memory
Apr 14 12:57:51 raspi4b-armhf systemd[1]: dev-disk-by\x2dlabel-RASPISWAP.swap: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/dev-disk-by\x2dlabel-RASPISWAP.swap failed: Cannot allocate memory
Apr 14 12:57:51 raspi4b-armhf systemd[1]: systemd-fsck at dev-disk-by\x2dlabel-RASPIFIRM.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/system-systemd\x2dfsck.slice/systemd-fsck at dev-disk-by\x2dlabel-RASPIFIRM.service failed: Cannot allocate memory
Apr 14 12:57:51 raspi4b-armhf systemd[1]: systemd-fsckd.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/systemd-fsckd.service failed: Cannot allocate memory
Apr 14 12:57:51 raspi4b-armhf systemd[1]: systemd-rfkill.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/systemd-rfkill.service failed: Cannot allocate memory
Apr 14 12:57:52 raspi4b-armhf systemd[1]: boot-firmware.mount: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/boot-firmware.mount failed: Cannot allocate memory
Apr 14 12:57:52 raspi4b-armhf systemd[1]: apparmor.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/apparmor.service failed: Cannot allocate memory
Apr 14 12:57:52 raspi4b-armhf systemd[1]: binfmt-support.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/binfmt-support.service failed: Cannot allocate memory
Apr 14 12:57:52 raspi4b-armhf systemd[1]: console-setup.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/console-setup.service failed: Cannot allocate memory
Apr 14 12:57:52 raspi4b-armhf systemd[1]: systemd-tmpfiles-setup.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/systemd-tmpfiles-setup.service failed: Cannot allocate memory
Apr 14 12:57:52 raspi4b-armhf systemd[1]: proc-sys-fs-binfmt_misc.mount: Attaching egress BPF program to cgroup /sys/fs/cgroup/proc-sys-fs-binfmt_misc.mount failed: Cannot allocate memory
Apr 14 12:57:52 raspi4b-armhf systemd[1]: systemd-timesyncd.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/systemd-timesyncd.service failed: Cannot allocate memory
Apr 14 12:57:52 raspi4b-armhf systemd[1]: systemd-update-utmp.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/systemd-update-utmp.service failed: Cannot allocate memory
Apr 14 12:57:53 raspi4b-armhf systemd[1]: accounts-daemon.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/accounts-daemon.service failed: Cannot allocate memory
Apr 14 12:57:53 raspi4b-armhf systemd[1]: alsa-restore.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/alsa-restore.service failed: Cannot allocate memory
Apr 14 12:57:53 raspi4b-armhf systemd[1]: dbus.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/dbus.service failed: Cannot allocate memory
Apr 14 12:57:53 raspi4b-armhf systemd[1]: NetworkManager.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/NetworkManager.service failed: Cannot allocate memory
Apr 14 12:57:53 raspi4b-armhf systemd[1]: e2scrub_reap.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/e2scrub_reap.service failed: Cannot allocate memory
Apr 14 12:57:53 raspi4b-armhf systemd[1]: rngd.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/rngd.service failed: Cannot allocate memory
Apr 14 12:57:53 raspi4b-armhf systemd[1]: rsyslog.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/rsyslog.service failed: Cannot allocate memory
Apr 14 12:57:53 raspi4b-armhf systemd[1]: wpa_supplicant.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/wpa_supplicant.service failed: Cannot allocate memory
Apr 14 12:57:53 raspi4b-armhf systemd[1]: wpa_supplicant at wlan0.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/system-wpa_supplicant.slice/wpa_supplicant at wlan0.service failed: Cannot allocate memory
Apr 14 12:57:54 raspi4b-armhf systemd[1]: polkit.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/polkit.service failed: Cannot allocate memory
Apr 14 12:57:54 raspi4b-armhf systemd[1]: NetworkManager-wait-online.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/NetworkManager-wait-online.service failed: Cannot allocate memory
Apr 14 12:57:54 raspi4b-armhf systemd[1]: ssh.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/ssh.service failed: Cannot allocate memory
Apr 14 12:57:54 raspi4b-armhf systemd[1]: systemd-user-sessions.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/systemd-user-sessions.service failed: Cannot allocate memory
Apr 14 12:57:54 raspi4b-armhf systemd[1]: unattended-upgrades.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/unattended-upgrades.service failed: Cannot allocate memory
Apr 14 12:57:54 raspi4b-armhf systemd[1]: getty at tty1.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/system-getty.slice/getty at tty1.service failed: Cannot allocate memory
Apr 14 12:57:54 raspi4b-armhf systemd[1]: lightdm.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/lightdm.service failed: Cannot allocate memory
Apr 14 12:57:54 raspi4b-armhf systemd[1]: serial-getty at ttyS1.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/system-serial\x2dgetty.slice/serial-getty at ttyS1.service failed: Cannot allocate memory
Apr 14 12:57:56 raspi4b-armhf systemd[1]: NetworkManager-dispatcher.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/NetworkManager-dispatcher.service failed: Cannot allocate memory
Apr 14 12:57:59 raspi4b-armhf systemd[1]: user.slice: Attaching egress BPF program to cgroup /sys/fs/cgroup/user.slice failed: Cannot allocate memory
Apr 14 12:57:59 raspi4b-armhf systemd[1]: user-109.slice: Attaching egress BPF program to cgroup /sys/fs/cgroup/user.slice/user-109.slice failed: Cannot allocate memory
Apr 14 12:57:59 raspi4b-armhf systemd[1]: user-runtime-dir at 109.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/user.slice/user-109.slice/user-runtime-dir at 109.service failed: Cannot allocate memory
Apr 14 12:57:59 raspi4b-armhf systemd[1]: user at 109.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/user.slice/user-109.slice/user at 109.service failed: Cannot allocate memory
Apr 14 12:58:00 raspi4b-armhf systemd[525]: -.slice: Attaching egress BPF program to cgroup /sys/fs/cgroup/user.slice/user-109.slice/user at 109.service failed: Cannot allocate memory
Apr 14 12:58:00 raspi4b-armhf systemd[525]: app.slice: Attaching egress BPF program to cgroup /sys/fs/cgroup/user.slice/user-109.slice/user at 109.service/app.slice failed: Cannot allocate memory
Apr 14 12:58:00 raspi4b-armhf systemd[525]: dbus.socket: Attaching egress BPF program to cgroup /sys/fs/cgroup/user.slice/user-109.slice/user at 109.service/app.slice/dbus.socket failed: Cannot allocate memory
Apr 14 12:58:00 raspi4b-armhf systemd[525]: -.slice: Attaching egress BPF program to cgroup /sys/fs/cgroup/user.slice/user-109.slice/user at 109.service failed: Cannot allocate memory
Apr 14 12:58:00 raspi4b-armhf systemd[525]: pulseaudio.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/user.slice/user-109.slice/user at 109.service/app.slice/pulseaudio.service failed: Cannot allocate memory
Apr 14 12:58:00 raspi4b-armhf systemd[1]: session-c1.scope: Attaching egress BPF program to cgroup /sys/fs/cgroup/user.slice/user-109.slice/session-c1.scope failed: Cannot allocate memory
Apr 14 12:58:00 raspi4b-armhf systemd[525]: dbus.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/user.slice/user-109.slice/user at 109.service/app.slice/dbus.service failed: Cannot allocate memory
Apr 14 12:58:01 raspi4b-armhf systemd[1]: bluetooth.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/bluetooth.service failed: Cannot allocate memory
Apr 14 12:58:20 raspi4b-armhf systemd[1]: getty at tty3.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/system.slice/system-getty.slice/getty at tty3.service failed: Cannot allocate memory
Apr 14 12:58:32 raspi4b-armhf systemd[1]: user-0.slice: Attaching egress BPF program to cgroup /sys/fs/cgroup/user.slice/user-0.slice failed: Cannot allocate memory
Apr 14 12:58:32 raspi4b-armhf systemd[1]: user-runtime-dir at 0.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/user.slice/user-0.slice/user-runtime-dir at 0.service failed: Cannot allocate memory
Apr 14 12:58:32 raspi4b-armhf systemd[1]: user at 0.service: Attaching egress BPF program to cgroup /sys/fs/cgroup/user.slice/user-0.slice/user at 0.service failed: Cannot allocate memory
Apr 14 12:58:33 raspi4b-armhf systemd[588]: -.slice: Attaching egress BPF program to cgroup /sys/fs/cgroup/user.slice/user-0.slice/user at 0.service failed: Cannot allocate memory
Apr 14 12:58:33 raspi4b-armhf systemd[588]: app.slice: Attaching egress BPF program to cgroup /sys/fs/cgroup/user.slice/user-0.slice/user at 0.service/app.slice failed: Cannot allocate memory
Apr 14 12:58:33 raspi4b-armhf systemd[588]: dbus.socket: Attaching egress BPF program to cgroup /sys/fs/cgroup/user.slice/user-0.slice/user at 0.service/app.slice/dbus.socket failed: Cannot allocate memory
Apr 14 12:58:33 raspi4b-armhf systemd[588]: -.slice: Attaching egress BPF program to cgroup /sys/fs/cgroup/user.slice/user-0.slice/user at 0.service failed: Cannot allocate memory
Apr 14 12:58:33 raspi4b-armhf systemd[1]: session-2.scope: Attaching egress BPF program to cgroup /sys/fs/cgroup/user.slice/user-0.slice/session-2.scope failed: Cannot allocate memory
Best regards, Ryutaroh
More information about the Pkg-systemd-maintainers
mailing list