From: John Crispin Date: Fri, 24 Jul 2015 09:11:06 +0000 (+0000) Subject: dnsmasq: add some missing files to the jail X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=027230ade2e13dd1b521c93b6aaf08fdd5910831;p=openwrt%2Fstaging%2Fthess.git dnsmasq: add some missing files to the jail found with strace, not sure we got all of them though Signed-off-by: Etienne CHAMPETIER SVN-Revision: 46467 --- diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init index 5844aaf8e2..ab64e88a93 100644 --- a/package/network/services/dnsmasq/files/dnsmasq.init +++ b/package/network/services/dnsmasq/files/dnsmasq.init @@ -557,7 +557,7 @@ start_service() { procd_set_param respawn procd_add_jail dnsmasq ubus log - procd_add_jail_mount $CONFIGFILE $TRUSTANCHORSFILE $HOSTFILE /etc/passwd /dev/urandom /etc/dnsmasq.conf /tmp/dnsmasq.d /tmp/resolv.conf.auto /etc/hosts /etc/ethers + procd_add_jail_mount $CONFIGFILE $TRUSTANCHORSFILE $HOSTFILE /etc/passwd /etc/group /etc/TZ /dev/null /dev/urandom /etc/dnsmasq.conf /tmp/dnsmasq.d /tmp/resolv.conf.auto /etc/hosts /etc/ethers procd_add_jail_mount_rw /var/run/dnsmasq/ /tmp/dhcp.leases $TIMESTAMPFILE procd_close_instance