zabbix_agentd fails on boot if listening interface is vpn, manual start works

Started by arkanoid, June 24, 2022, 01:02:47 PM

Previous topic - Next topic
Hello

like the title says, seems that opn is trying to start zabbix_agentd before the interfaces it's listening on are up.

I solve this by just clicking the play button in home dashboard after the firewall is up.

Question is what's the proper way to fix this:
- listen on all local ips but add a firewall rule (removes the need of binding completely)
- reorder service start or apply preconditions (how?)

considering it's an opnsense package and there's even a web gui for it, I'd say it requires a more general solution.

Thanks

Once people asked why boot delays exist with multiple OpenVPN interfaces. Now that boot is asynchronous people see that there is a race condition with VPN availability and service startup. I'm unsure how to bring everyone together on this. ;)


Cheers,
Franco