some issues in /etc/init.d/dnsmasq

e9hack e9hack at
Sun Aug 1 00:00:50 PDT 2021


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


More information about the openwrt-devel mailing list