some issues in /etc/init.d/dnsmasq
Daniel Golle
daniel at makrotopia.org
Sun Aug 1 03:57:50 PDT 2021
Hi,
On Sun, Aug 01, 2021 at 09:00:50AM +0200, e9hack wrote:
> Hi,
>
> I found a few issues in /etc/init.d/dnsmasq
>
> - variable EXTRA_MOUNT must be reset at beginning of dnsmasq_start to avoid to add the previous content to the following configurations
> - /dev/null must be jail mount read/write (see the next too)
> - jail mount for /dev/null and /dev/random isn't necessary because it will be jail mount automatically
> - depend on parameter ignore_hosts_dir, the host-file itself or the directory of the host-file must be jail mount
I have addressed these isues in commit ac4e8aa2f8.
Thank you for reviewing, testing and reporting!
Cheers
Daniel
More information about the openwrt-devel
mailing list