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: add procd_jail for serversfile #4908
Conversation
Duplicate item: #4859 |
Let's go with your PR instead |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to be sure that things don't break if people server option serversfile '/tmp/somefile'
we may want to guard that case, mount only the file and warn the user.
If `serversfile` is outside of usual dnsmasq location make sure its directory is added to `procd_add_jail_mount`. Supercedes #4859 Signed-off-by: Stan Grishin <stangri@melmac.ca>
@dangowrt has this been merged? Can it be closed? |
Running into issues with dnsmasq not being able to access the servers file indicated in settings with 22.03-rc6. @jow- can this be picked up asap? |
Thanks for your prompt reply. The same jail expansion treatment needs to happen for Can this be backported to 22.03? It's currently broken for |
Done. 0179ba7 |
If
serversfile
is outside of usual dnsmasq location make sure itsdirectory is added to
procd_add_jail_mount
.Signed-off-by: Stan Grishin stangri@melmac.ca