-
Notifications
You must be signed in to change notification settings - Fork 561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workaround for dnsmasq problem #425
Comments
Caution: if you're using OpenWrt with ujail enabled, the workaround above won't work and may even make dnsmasq unable to start at all. Manually edit diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init
index b864ea9069..7a535f576d 100755
--- a/package/network/services/dnsmasq/files/dnsmasq.init
+++ b/package/network/services/dnsmasq/files/dnsmasq.init
@@ -1253,7 +1253,7 @@ dnsmasq_start()
procd_add_jail dnsmasq ubus log
procd_add_jail_mount $CONFIGFILE $DHCPBOGUSHOSTNAMEFILE $DHCPSCRIPT $DHCPSCRIPT_DEPENDS
- procd_add_jail_mount $EXTRA_MOUNT $RFC6761FILE $TRUSTANCHORSFILE
+ procd_add_jail_mount $EXTRA_MOUNT $RFC6761FILE $TRUSTANCHORSFILE /tmp/dnsmasq.d
procd_add_jail_mount $dnsmasqconffile $dnsmasqconfdir $resolvdir $user_dhcpscript
procd_add_jail_mount /etc/passwd /etc/group /etc/TZ /etc/hosts /etc/ethers
procd_add_jail_mount_rw /var/run/dnsmasq/ $leasefile A better solution for this problem will be included in version 3.5 of this project (which is not planned before, but seems necessary now). |
#430 includes an option to set dnsmasq integration mode in preview app. If luci-app-xray works correctly, don't change this option. Only try "Per Instance" mode if:
|
openwrt/openwrt#14975 involves a change to dnsmasq configuration path (
/tmp/dnsmasq.d
->/tmp/dnsmasq.cfg01411c.d
) which breaks DNS configurations for luci-app-xray. Add this to Custom Configurations as a workaround:The text was updated successfully, but these errors were encountered: