I admit I didn't provide any detail on the intent, because I don't need help with that.
Just need to know if it is intentional that fw4 doesn't "publish" events to hotplug, like fw3 does.
Looking at a default v22.03.3 image, there are subfolders in /etc/hotplug.d for dhcp, net, iface, etc but not for firewall. So, it looks like that is the case; but looking for an "official" confirmation that this changed with fw4/v22.03.x and onwards.
I am not clear about the meaning of "eventsfw3publishes to hotplug"?
Hotplug works with procd (process management daemon). When procd detects a trigger event, it just calls all scripts in the trigger event directory in alpha order.
/sbin/hotplug-call is a helper script that ensures the procdtrigger event is pointed to the correct directory in /etc/hotplug.d
FWIW, I don't have any entries in /etc/hotplug.d/firewall in 21.02.3/5 or Master Snapshot, at least not since I stopped using vpn-policy-routing.
Well, if you are looking for the environment variables used in each hotplug directory you could add something like this to each of the Trigger Directories - block/button/dhcp/dsl/firewall/iface/neigh/net/tftp/usb :
As noted on my post, already did that but not looking for the environment variables used in each hotplug directory. Instead looking to confirm if fw4 doesn't trigger any event by design OR because of a bug.