You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 17, 2019. It is now read-only.
I want to fasten permission of files to ensure system security from the CIS view point.
In my setup td-agent 1.3.3 of CentOS7, '/tmp/sigdump-[0-9]+.log' are unexpectedly dumped on every shudown of systemd td-agentd service.
Furthermore, the almost fully opened permission of sigdump files (666 on my environment) cannot be controlled by either the 'UMask' setting or the ' file_permission' setting of configuration file. (relation? : fluent/fluentd#1152 )
As far as I read the fluentd document, the sigdump files are written (only?) if the fluentd receives the SIGCONT signal.
If the implementation of the sigdump behavior has no bug, the descriptions below could be appended in the document.
the event of dumping sigdump in the standard setup of td-agent
As a point of clarification, td-agent is not really supposed to create a dump file
on every shutdown; If your td-agent is keep receiving SIGCONT on shutdown,
there is probably something wrong with the systemd configuration.
how to control the path of sigdump file. env SIGDUMP_PATH?
Yes. You should be able to change the output path by setting the environment
variable SIGDUMP_PATH.
how to control the permission of sigdump file.
Right now there is no way to change it. We'll need to submit a patch to frsyuki/sigdump
to add the feature.
how to remove or suppress the sigdump files
I think you can either remap the signal to something not used (i.e. SIGUSR2), or set SIGDUMP_PATH to - (which means "output the dump to stdout").
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I want to fasten permission of files to ensure system security from the CIS view point.
In my setup td-agent 1.3.3 of CentOS7, '/tmp/sigdump-[0-9]+.log' are unexpectedly dumped on every shudown of systemd td-agentd service.
Furthermore, the almost fully opened permission of sigdump files (666 on my environment) cannot be controlled by either the 'UMask' setting or the ' file_permission' setting of configuration file. (relation? : fluent/fluentd#1152 )
As far as I read the fluentd document, the sigdump files are written (only?) if the fluentd receives the SIGCONT signal.
If the implementation of the sigdump behavior has no bug, the descriptions below could be appended in the document.
The text was updated successfully, but these errors were encountered: