I recently noticed that telegraf monitoring service does not start at boot time for some reason. Looking at boot log i see 5 quick start attempts in a second with error:
ip: Failed to load BPF prog: 'Operation not permitted' systemd: telegraf.service: Main process exited, code=exited, status=255/EXCEPTION vyos-lns-1 systemd: telegraf.service: Failed with result 'exit-code'.
and after that the service remains in failed state. Checking other services like ntp and snmpd i see the same error at first few attempts to start them. I can't tell what can be the reason, but i see that systemd configuration
fixes that problem for ntp and snmpd. So i'd suggest adding the same Restart/RestartSec to the file
Sample boot log attached.