Author: jow
Date: 2015-07-27 13:49:48 +0200 (Mon, 27 Jul 2015)
New Revision: 46511

Modified:
   branches/chaos_calmer/package/network/services/dnsmasq/files/dnsmasq.init
Log:
CC: dnsmasq: add some missing files to the jail

found with strace, not sure we got all of them though

Signed-off-by: Etienne CHAMPETIER <[email protected]>

Backport of r46467

Modified: 
branches/chaos_calmer/package/network/services/dnsmasq/files/dnsmasq.init
===================================================================
--- branches/chaos_calmer/package/network/services/dnsmasq/files/dnsmasq.init   
2015-07-27 11:49:43 UTC (rev 46510)
+++ branches/chaos_calmer/package/network/services/dnsmasq/files/dnsmasq.init   
2015-07-27 11:49:48 UTC (rev 46511)
@@ -556,7 +556,7 @@
        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
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to