in_unix plugin does not work without supervisor (permission denied with var/run/td-agent/td-agent.sock
)
#2984
Labels
bug
Something isn't working
Check CONTRIBUTING guideline first and here is the list to help us investigate the problem.
Describe the bug
We we run Fluentd without the supervisor mode (in order to save some memory), the
in_unix
plugin no longer works becausechumask
is not set without the supervisor mode and there is a permission denied error withvar/run/td-agent/td-agent.sock
.To Reproduce
/var/run/google-fluentd/google-fluentd.sock
file can not be written:Expected behavior
The permission should be
srwxrwxrwx
.Your Environment
Additional context
It seems like that for standalone worker mode, we are setting
chuser
andchgroup
, but notchumask
.fluentd/lib/fluent/supervisor.rb
Line 596 in c9dde71
The text was updated successfully, but these errors were encountered: