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

Need patch for #5 (disable remote logging) #3

Open
bennlich opened this issue Jun 5, 2018 · 0 comments
Open

Need patch for #5 (disable remote logging) #3

bennlich opened this issue Jun 5, 2018 · 0 comments
Labels
good first issue Good for newcomers

Comments

@bennlich
Copy link
Collaborator

bennlich commented Jun 5, 2018

See sudomesh/bugs#5 for history/context. And in particular: sudomesh/makenode@13fd952.

We need a patch that removes these lines from /etc/config/system in existing nodes:

option log_proto udp
option log_port 514
option log_prefix <%= host_name %>
option log_ip <%= log_ip %>

I think the <%= log_ip %> is the same on every node, but the <%= host_name %> varies.

I think the approaches I was considering when I stopped working on this were either:
a) overwrite /etc/config/system wholesale with a correct config based on the latest firmware (requires querying the system for the hostname). could annoy node operators who have made custom changes to this file.
b) use a tool like sed to hand-remove the specific bad lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant