Fosquitto fails to start during boot on Mox AEEE
Description
Foris-controller fails to start because mosquitto is not running. Manual restart of both fixes it.
Mosquitto fails with following error:
Feb 22 18:07:13 MOOOOX kernel: [ 26.145185] mv88e6085 d0032004.mdio-mii:10: p10: already a member of VLAN 1
Feb 22 18:07:13 MOOOOX kernel: [ 26.176386] mv88e6085 d0032004.mdio-mii:11: p9: already a member of VLAN 1
Feb 22 17:07:13 MOOOOX mosquitto[3778]: 1645549633: Error: Address not available
Feb 22 17:07:13 MOOOOX procd: Instance fosquitto::instance1 s in a crash loop 26 crashes, 0 seconds since last crash
[...]
Feb 22 17:07:16 MOOOOX netifd: bridge 'br-lan' link is up
Feb 22 17:07:16 MOOOOX netifd: Interface 'lan' has link connectivity
Feb 22 17:07:17 MOOOOX turris: Router Turris successfully started.
Most likely culprit is that bridges are not up and running at the time, when mosquitto is starting. So it is most likely timing issue.
How to reproduce
MOX (AEEE), TOS 6.0, HBL, no VLAN configured
2x modules E seems OK, 3x seems to trigger it.
cc: @jhoracek