Author: blogic
Date: 2015-07-24 11:11:06 +0200 (Fri, 24 Jul 2015)
New Revision: 46467

Modified:
   trunk/package/network/services/dnsmasq/files/dnsmasq.init
Log:
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]>

Modified: trunk/package/network/services/dnsmasq/files/dnsmasq.init
===================================================================
--- trunk/package/network/services/dnsmasq/files/dnsmasq.init   2015-07-24 
09:11:00 UTC (rev 46466)
+++ trunk/package/network/services/dnsmasq/files/dnsmasq.init   2015-07-24 
09:11:06 UTC (rev 46467)
@@ -557,7 +557,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