FileTest.exist(path) returning false for any file inside /var/tmp/ folder #3988
Replies: 2 comments 1 reply
-
Generally speaking it could be happen when the Fluentd process doesn't have permission to access the directory, but we can't guess the cause on your environment.
Please describe your environment's detail. |
Beta Was this translation helpful? Give feedback.
-
The probability is that your system enables Check your systemd settings to be sure. Refer to the following article for https://www.redhat.com/en/blog/new-red-hat-enterprise-linux-7-security-feature-privatetmp |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
tail plugin is not able to tail any file from /var/tmp/ folder because FileTest.exist(path) returning false for any file inside /var/tmp/ folder
https://github.com/fluent/fluentd/blob/master/lib/fluent/plugin/in_tail.rb#L335
what is special about /var/tmp/ folder?
To Reproduce
use fluentd config where path point out to /var/tmp/ folder
Expected behavior
Agent should tail file from /var/tmp folder
Your Environment
Your Configuration
Your Error Log
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions