diff options
author | John Crispin <blogic@openwrt.org> | 2015-07-24 09:11:06 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-07-24 09:11:06 +0000 |
commit | a57a0768241563e85134b88ca8d5b77a9e03e283 (patch) | |
tree | 20c520b3298fdce1e26960a1aeefcf6caa6e79c3 | |
parent | bddfe5030508704ba3c11591cbdb2089e26a8717 (diff) | |
download | master-187ad058-a57a0768241563e85134b88ca8d5b77a9e03e283.tar.gz master-187ad058-a57a0768241563e85134b88ca8d5b77a9e03e283.tar.bz2 master-187ad058-a57a0768241563e85134b88ca8d5b77a9e03e283.zip |
dnsmasq: add some missing files to the jail
found with strace, not sure we got all of them though
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46467 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/network/services/dnsmasq/files/dnsmasq.init | 2 |
1 files changed, 1 insertions, 1 deletions
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 |