[FS#1052] dnsmasq hotplug script does not work inside ujail
LEDE Bugs
lede-bugs at lists.infradead.org
Mon Dec 4 01:37:42 PST 2017
The following task has a new comment added:
FS#1052 - dnsmasq hotplug script does not work inside ujail
User who did this - Nathaniel Wesley Filardo (nwf)
----------
Having spent some quality time with strace, the answer seems to be that all of these must be bound into the jail as well:
/lib/functions.sh
/bin/ls
/etc/hotplug.d/dhcp
/etc/hotplug.d/tftp
/etc/hotplug.d/neigh
as well as anything actually used by the scripts in /etc/hotplug.d/{dhcp,tftp,neigh}. The first two are requisite for /sbin/hotplug-call's operation; the next three are requisite for this use thereof.
However, the "anything used by" constraint is going to be somewhat trickier to fix in a general manner. Perhaps making the /bin/busybox dispatcher available would be sufficient.
----------
More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=1052#comment3943
More information about the lede-bugs
mailing list