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
Off by one in Unbound 1.16.0 verbosity setting. #705
Comments
Hi @buggysolid, thanks for the in depth bug report! |
It hasn't caused me any errors but I can think of a case in which someone runs unbound-checkconf before starting Unbound during a provisioning process to validate there config. If that utility borks AFAIK it will set a non-zero exit code.
That would be good, I wouldn't exactly describe it as a bug either but it wasn't clear from the documentation. |
Closing this issue in the hope that the clarification in the manpage is enough |
Describe the bug
The verbosity option in unbound.conf for controlling the log level information is being incremented plus one of what is defined in the config. .e.g. verbosity: -1 will result in a verbosity: 0 at runtime.
To reproduce
Steps to reproduce the behavior:
Expected behavior
Unbound fails to run due to attempting to start with an invalid verbosity level configuration of -1.
System:
unbound -V
output:Additional information
You can see that unbound-checkconf correctly identifies the invalid option of verbosity: -1 which if it is invalid should cause Unbound to not start when you attempt to execute Unbound but something is incrementing the verbosity statement at runtime.
I haven't dug much more into this issue re: where in the code is causing this, but it is clearly a bug.
The text was updated successfully, but these errors were encountered: