Skip to content
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

shared-state-dnsmasq_servers correct serversfile option setting #1004

Merged
merged 2 commits into from
Apr 14, 2023

Conversation

ilario
Copy link
Member

@ilario ilario commented Apr 6, 2023

Fix one of the two still existing errors from this issue: #970 (comment)

If the option gets set out of UCI, then ujail forbids the access to the /var/shared-state/dnsmasq_servers file, resulting in a No such file or directory error.

@ilario
Copy link
Member Author

ilario commented Apr 14, 2023

I had to advance in init order the shared-state service, for having it create the dnsmasq_servers file before that dnsmasq tries to read it.
I think that it would work even if the file is created later, but this way we also avoid some "No such file" errors when dnsmasq starts.

@ilario
Copy link
Member Author

ilario commented Apr 14, 2023

So now it is tested on a YouHua WR1200JS with OpenWrt 22.03 and works.

@G10h4ck G10h4ck merged commit b76de44 into libremesh:master Apr 14, 2023
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants