diff options
author | Nick Hainke <vincent@systemli.org> | 2021-07-18 15:32:44 +0200 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2021-07-19 14:16:19 +0100 |
commit | 88c8d0a2193bd3dd2cf00bc875def6155f2e34db (patch) | |
tree | 8fe30ad80741c0619f423f10a888fb1f12606af3 /package | |
parent | 4633471d74589c761a3849bd63935b42ac3cea73 (diff) | |
download | upstream-88c8d0a2193bd3dd2cf00bc875def6155f2e34db.tar.gz upstream-88c8d0a2193bd3dd2cf00bc875def6155f2e34db.tar.bz2 upstream-88c8d0a2193bd3dd2cf00bc875def6155f2e34db.zip |
dnsmasq: add /tmp/hosts/ to jail_mount
Programs like the olsr-name-plugin write hostname files to "/tmp/hosts/".
If you don't add this to the jail_mount, dnsmasq can't read it anymore.
Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit 3a94c2ca5cf7c11ca150fa3ae884e7be8d07a281)
Diffstat (limited to 'package')
-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 680e72f9e7..e5f67a95de 100644 --- a/package/network/services/dnsmasq/files/dnsmasq.init +++ b/package/network/services/dnsmasq/files/dnsmasq.init @@ -1106,7 +1106,7 @@ dnsmasq_start() procd_set_param respawn procd_add_jail dnsmasq ubus log - procd_add_jail_mount $CONFIGFILE $TRUSTANCHORSFILE $HOSTFILE $RFC6761FILE $DHCPBOGUSHOSTNAMEFILE /etc/passwd /etc/group /etc/TZ /dev/null /dev/urandom $dnsmasqconffile $dnsmasqconfdir $resolvdir $user_dhcpscript /etc/hosts /etc/ethers /sbin/hotplug-call $EXTRA_MOUNT $DHCPSCRIPT + procd_add_jail_mount $CONFIGFILE $TRUSTANCHORSFILE $HOSTFILE $RFC6761FILE $DHCPBOGUSHOSTNAMEFILE /etc/passwd /etc/group /etc/TZ /dev/null /dev/urandom $dnsmasqconffile $dnsmasqconfdir $resolvdir $user_dhcpscript /etc/hosts /etc/ethers /sbin/hotplug-call $EXTRA_MOUNT $DHCPSCRIPT /tmp/hosts/ procd_add_jail_mount_rw /var/run/dnsmasq/ $leasefile procd_close_instance |