Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Unable to enable socket connections #28

Closed
axxelG opened this issue Nov 21, 2020 · 2 comments
Closed

Unable to enable socket connections #28

axxelG opened this issue Nov 21, 2020 · 2 comments

Comments

@axxelG
Copy link
Contributor

axxelG commented Nov 21, 2020

unix-socket-enabled is not configurable. It's a fixed setting commented out in influxdb.conf.erb

  # Enable http service over unix domain socket
  # unix-socket-enabled = false

MR will follow but there is a related topic to discuss. The default setting for http_bind_socket is /var/run/influxdb.sock This is the same default influxdb itself uses, but it is not working for most installations. Usually the influxdb user cannot write to /var/run/ so fails to create the socket and exits with run: open server: open service: listen unix /var/run/influxdb.sock: bind: permission denied

I doubt that influxdb would accept a braking change to change the default. Because this puppet module did not support sockets so far, this could be changed here without breaking existing installations.

This is a decision of keeping defaults consistent vs. providing working defaults. What is your opinion?

@axxelG
Copy link
Contributor Author

axxelG commented Nov 21, 2020

PR: #29

@axxelG
Copy link
Contributor Author

axxelG commented Jan 24, 2021

PR was merged some time ago

@axxelG axxelG closed this as completed Jan 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant