Hi,

just noticed that the service_running hook is executed by procd in
parallel to the startup of further init scripts.
If another service depends on the service_running hook of an earlier
service this can lead to strange effects.

For example the network script setting up wireless (in
service_running) being followed by a dropbear setup
only on the wifi interface. In this case the dropbear setup will fall
back to not restricting dropbear to a
particular interface.

Wouldn't it make sense for procd to execute the service_running hook
synchronously before processing
further init scripts?

Thanks,
Helmut
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to