-
Notifications
You must be signed in to change notification settings - Fork 65
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
Missing conf file is silently ignored #188
Comments
Historically, Rserve considered all settings optional. This is in line with the rationale where you are providing service templates, but they may not be always available depending on the capabilities and setting on the server. However, we have seen that this can lead to issues - the most prominent case was TLS where any issue with the libraries or keys has lead to silently not starting a secure server, but that it typically not desired. So, yes, the current behavior is intentional where configuration files optional regardless how they were specified, but I can see an argument for an error in the cases where the file has been explicitly specified yet cannot be read. |
Hello @s-u [Simon] since It is not really a bug I am inquiring about but connected or related to how CONFIG files are handled I am adding a follow up question on that topic here in this ticket. I have the feeling that I was not able to work out correctly how to use the PS: otherwise (when providing a file via |
@gwd-at So if you want to change the default at compile time you'd use something like
but it only applies to the stand-alone server ( |
What happens?
When the parameter
--RS-conf
is set to a missing file, it is silently ignored and the default configuration file is used by Rserve.What should happen?
Rserve should throw error when invalid input parameters are used.
The text was updated successfully, but these errors were encountered: