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

Fix unixsock default path #940

Merged
merged 1 commit into from May 13, 2020

Conversation

smortex
Copy link
Member

@smortex smortex commented May 13, 2020

Pull Request (PR) description

The default path for unixsock has been /var/run/collectd-unixsock since
the first version of the plugin, 14 years ago:
https://github.com/collectd/collectd/blob/4bf284162200a304f0ec8d1f5c2dd93339ddc64c/src/unixsock.c#L48

This path is not overridden by the Debian nor CentOS packages as
installed by the module.

Use this path by default so that collectdctl without argument can
connect to the socket, unbreaking the bolt tasks.

This Pull Request (PR) fixes the following issues

n/a

The default path for unixsock has been /var/run/collectd-unixsock since
the first version of the plugin, 14 years ago:
https://github.com/collectd/collectd/blob/4bf284162200a304f0ec8d1f5c2dd93339ddc64c/src/unixsock.c#L48

This path is not overridden by the Debian nor CentOS packages as
installed by the module.

Use this path by default so that collectdctl without argument can
connect to the socket, unbreaking the bolt tasks.
@bastelfreak bastelfreak added the bug Something isn't working label May 13, 2020
@bastelfreak
Copy link
Member

thanks for the fix!

@bastelfreak bastelfreak merged commit 5212135 into voxpupuli:master May 13, 2020
@smortex smortex deleted the fix-unixsock-default-path branch May 13, 2020 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants