fw3 fails to connect to ubus
Username: Paul Traina
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=1693
I’m marking this critical because it completely breaks firewalls and NAT and is likely to cause quite a bit of grief.
Additionally, I’m submitting it as an incomplete work-in-progress because it is such a critical bug and I want to give an early heads-up.
Device is a ath79 - Archer C7v2.
Bug does not occur in OpenWrt SNAPSHOT r7360-e15565a0 (master as of July 8th or so)
Bug does occur in OpenWrt SNAPSHOT, r7558-a5c3bbaf (master as of July 25th)
There have been several updates to ubus and one to the firewall code.
root@g2s:/etc# service firewall restart Warning: Failed to connect to ubus Warning: Section @zone[0] (lan) cannot resolve device of network 'lan' Warning: Section @zone[0] (lan) cannot resolve device of network 'vpn0' Warning: Section @zone[1] (wan) cannot resolve device of network 'wan_cc' Warning: Section @zone[1] (wan) cannot resolve device of network 'wan_cc6' Warning: Section @zone[1] (wan) cannot resolve device of network 'wan_mb' Warning: Section @zone[1] (wan) cannot resolve device of network 'wan_mb6' Warning: Section @zone[2] (guest) cannot resolve device of network 'guest' Warning: Section @zone[0] (lan) has no device, network, subnet or extra options Warning: Section @zone[1] (wan) has no device, network, subnet or extra options Warning: Section @zone[2] (guest) has no device, network, subnet or extra options
It is also, possibly, a tools/compiler migration bug, as the master branch was NOT rebuilt from scratch and instead was just pulled and rebuilt.
I am re-creating my compile environment from scratch and rebuilding the tree from scratch and will report back.