lede/package
Beginner 9dc595bade
dnsmasq: reset EXTRA_MOUNT in the right place (#7585)
* dnsmasq: fix more dnsmasq jail issues

 * remove superflus mounts of /dev/null and /dev/urandom
 * reset EXTRA_MOUNTS at the beginning of the script
 * add mount according to ignore_hosts_dir
 * don't add mount for file which is inside a directory already in the
   EXTRA_MOUNTS list

Fixes: 59c63224e1 ("dnsmasq: rework jail mounts")
Reported-by: Hartmut Birr <e9hack@gmail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* dnsmasq: reset EXTRA_MOUNT in the right place

EXTRA_MOUNT variable should be reset in dnsmasq_start() rather than
just once at the beginning of the script.

Fixes: ac4e8aa2f8 ("dnsmasq: fix more dnsmasq jail issues")
Reported-by: Hartmut Birr <e9hack@gmail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

Co-authored-by: Daniel Golle <daniel@makrotopia.org>
2021-08-01 22:26:58 +08:00
..
base-files base-files: NTP change (#7252) 2021-07-02 21:39:39 +08:00
boot rockchip: fixes re-boot with UHS cards (#6482) (#7380) 2021-07-14 21:57:15 +08:00
devel add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
firmware quantenna: use /etc/config/wireless to config 2021-07-25 14:52:52 +08:00
kernel ath11k: memory leak patches (#7546) 2021-07-28 10:12:15 +08:00
lean ramips: crypto: Fix with Mediatek EIP93 Crypto Engine for MT7621 SoC (#7568) 2021-07-31 14:46:15 +08:00
libs Revert "elfutils: fix building with GCC 11 (#7519)" (#7522) 2021-07-26 00:54:54 +08:00
network dnsmasq: reset EXTRA_MOUNT in the right place (#7585) 2021-08-01 22:26:58 +08:00
qca ramips: add Mediatek EIP93 Crypto Engine for MT7621 SoC 2021-07-28 10:25:30 +08:00
system packages: use old extra_command wrapper (#7259) 2021-07-03 14:44:24 +08:00
utils util-linux: update to 2.37 (#7427) 2021-07-19 12:50:07 +00:00
Makefile add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00