dnsmasq hotplug script does not work inside ujail
Username: Nathaniel Wesley Filardo
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=1052
Testing b73986a8 on ipq806x (C2600, specifically), using dnsmasq inside ujail fails to run hotplug events because /lib/functions.sh is unavailable inside the jail:
Mon Oct 9 20:13:53 2017 daemon.debug dnsmasq-script[1]: /sbin/hotplug-call: .: line 6: can’t open ‘/lib/functions.sh’ Mon Oct 9 20:13:53 2017 daemon.warn dnsmasq[1]: script process exited with status 2
Unfortunately, the fix is not as simple as adding /lib/functions.sh to the jail mount, as that results in the uninformative
Mon Oct 9 20:15:35 2017 daemon.warn dnsmasq[1]: script process exited with status 1
Suggestions?