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
dnsmasq cant load config folder in new openwrt release #10625
Comments
|
Please provide your |
I had to "#conf-dir=/etc/dnsmasq.d/,*.conf" comment it out for now for it to not crash. |
|
option confdir '/tmp/dnsmasq.d,/etc/dnsmasq.d' ? |
|
??
?? oh |
|
weird. |
|
too soon. |
|
Remove it from /etc/dnsmasq.conf and add it in /etc/config/dhcp as in my previous comment. If that doesn't work maybe we should change the UCI option to a list and loop over it, adding multiple --conf-dir arguments. |
|
I replaced option confdir '/tmp/dnsmasq.d' with option confdir '/etc/dnsmasq.d' and it works now. |
|
I'd rather call it a feature. Dnsmasq is running in ujail now. The init script will make sure the path in the UCI option is exposed in the jail, but we don't parse /etc/dnsmasq.conf to do that. |
I was gonna suggest that it may have to do with jail but I didnt see anything in changelog of openwrt. |
I upgraded to 22.03 today and got this error:
daemon.crit dnsmasq[1]: cannot access directory /etc/dnsmasq.d: No such file or directoryI have checked and folder is there.
The text was updated successfully, but these errors were encountered: