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

UdpInput plugin should support use of abstract unix domain sockets #1371

Closed
jaredgisin opened this Issue Feb 27, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@jaredgisin
Copy link

jaredgisin commented Feb 27, 2015

[UdpInput]
address = "@hekaUDPInput.sock"

This should be a valid abstract unix domain socket address, but upon startup, heka complains:

2015/02/27 19:37:52 Error making runner for UdpInput: Initialization failed for 'UdpInput': Error changing unixgram socket permissions: chmod @hekaUDPInput.sock: no such file or directory

mattrco added a commit to mattrco/heka that referenced this issue Mar 24, 2015

Add support for abstract UNIX domain sockets
In Go, unixgram addresses starting with "@" are treated as
abstract.

Abstract domain sockets do not create a file on the filesystem,
so we omit the chmod and cleanup used with other unixgram
sockets.

Abstract domain sockets are also Linux-specific so we
check runtime.GOOS and behave accordingly.

Fixes mozilla-services#1371.

relistan pushed a commit to Nitro/heka that referenced this issue Jan 26, 2016

Add support for abstract UNIX domain sockets
In Go, unixgram addresses starting with "@" are treated as
abstract.

Abstract domain sockets do not create a file on the filesystem,
so we omit the chmod and cleanup used with other unixgram
sockets.

Abstract domain sockets are also Linux-specific so we
check runtime.GOOS and behave accordingly.

Fixes mozilla-services#1371.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.