Am 16.04.2021 um 06:07 schrieb Ryutaroh Matsumoto:
ryutaroh@raspi4b8gb:~$ systemd-run --user --scope --unit=test -p "IPAccounting=yes" sh -c 'wget -O /dev/null http://www.debian.org/ ; sleep 100; exit 0' &
Is it expected to work???
eBPF requires root privileges, so this is supposed to fail. This is a kernel limitation. That's probably the reason by DefaultIPAccounting= was not added to the
default user.conf in the first place.Aside from fixing the kernel to allow rootless eBPF, there is not a lot systemd can do (and no, making it setuid is not an option).
Not sure what I should do with this bug report (besides closing it). Michael
OpenPGP_signature
Description: OpenPGP digital signature