Skip to content

in_tail: fix error when files without read permission are included in glob patterns#5161

Merged
Watson1978 merged 4 commits into
fluent:masterfrom
Watson1978:in_tail
Nov 25, 2025
Merged

in_tail: fix error when files without read permission are included in glob patterns#5161
Watson1978 merged 4 commits into
fluent:masterfrom
Watson1978:in_tail

Conversation

@Watson1978

@Watson1978 Watson1978 commented Nov 21, 2025

Copy link
Copy Markdown
Contributor

Which issue(s) this PR fixes:
Fixes #5152

What this PR does / why we need it:
It is referencing an uninitialized instance variable for Linux Capability feature, causing an error.
This PR will fix the bug.

Docs Changes:
N/A

Release Note:

  • in_tail: fix error preventing the use of Linux Capability feature

@Watson1978 Watson1978 added this to the v1.20.0 milestone Nov 21, 2025
@Watson1978 Watson1978 added the backport to v1.19 We will backport this fix to the LTS branch label Nov 21, 2025
@Watson1978 Watson1978 requested a review from daipom November 21, 2025 05:22
@Watson1978 Watson1978 marked this pull request as draft November 21, 2025 05:43
@Watson1978 Watson1978 force-pushed the in_tail branch 2 times, most recently from 23419ad to 2e79511 Compare November 21, 2025 05:51
Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
… glob patterns

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
@Watson1978 Watson1978 changed the title in_tail: fix error preventing the use of Linux Capability feature in_tail: fix error when files without read permission are included in glob patterns Nov 21, 2025
@Watson1978 Watson1978 marked this pull request as ready for review November 21, 2025 06:28
Comment thread test/plugin/test_in_tail.rb
Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
Signed-off-by: Shizuo Fujita <fujita@clear-code.com>

@ashie ashie left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread lib/fluent/plugin/in_tail.rb
@Watson1978

Copy link
Copy Markdown
Contributor Author

Thanks.

@Watson1978 Watson1978 merged commit b4dc14d into fluent:master Nov 25, 2025
17 checks passed
@Watson1978 Watson1978 deleted the in_tail branch November 25, 2025 02:06
kenhys pushed a commit that referenced this pull request Nov 26, 2025
… glob patterns (#5161)

**Which issue(s) this PR fixes**:
Fixes #5152

**What this PR does / why we need it**:
It is referencing an uninitialized instance variable for Linux
Capability feature, causing an error.
This PR will fix the bug.

**Docs Changes**:
N/A

**Release Note**:
* in_tail: fix error preventing the use of Linux Capability feature

---------

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
kenhys pushed a commit that referenced this pull request Nov 26, 2025
… glob patterns (#5161)

**Which issue(s) this PR fixes**:
Fixes #5152

**What this PR does / why we need it**:
It is referencing an uninitialized instance variable for Linux
Capability feature, causing an error.
This PR will fix the bug.

**Docs Changes**:
N/A

**Release Note**:
* in_tail: fix error preventing the use of Linux Capability feature

---------

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
kenhys pushed a commit to kenhys/fluentd that referenced this pull request Dec 5, 2025
… glob patterns (fluent#5161)

**Which issue(s) this PR fixes**:
Fixes fluent#5152

**What this PR does / why we need it**:
It is referencing an uninitialized instance variable for Linux
Capability feature, causing an error.
This PR will fix the bug.

**Docs Changes**:
N/A

**Release Note**:
* in_tail: fix error preventing the use of Linux Capability feature

---------

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
kenhys pushed a commit to kenhys/fluentd that referenced this pull request Dec 5, 2025
… glob patterns (fluent#5161)

**Which issue(s) this PR fixes**:
Fixes fluent#5152

**What this PR does / why we need it**:
It is referencing an uninitialized instance variable for Linux
Capability feature, causing an error.
This PR will fix the bug.

**Docs Changes**:
N/A

**Release Note**:
* in_tail: fix error preventing the use of Linux Capability feature

---------

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
kenhys pushed a commit to kenhys/fluentd that referenced this pull request Dec 5, 2025
… glob patterns (fluent#5161)

**Which issue(s) this PR fixes**:
Fixes fluent#5152

**What this PR does / why we need it**:
It is referencing an uninitialized instance variable for Linux
Capability feature, causing an error.
This PR will fix the bug.

**Docs Changes**:
N/A

**Release Note**:
* in_tail: fix error preventing the use of Linux Capability feature

---------

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
kenhys pushed a commit to kenhys/fluentd that referenced this pull request Dec 5, 2025
… glob patterns (fluent#5161)

**Which issue(s) this PR fixes**:
Fixes fluent#5152

**What this PR does / why we need it**:
It is referencing an uninitialized instance variable for Linux
Capability feature, causing an error.
This PR will fix the bug.

**Docs Changes**:
N/A

**Release Note**:
* in_tail: fix error preventing the use of Linux Capability feature

---------

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
kenhys pushed a commit to kenhys/fluentd that referenced this pull request Dec 5, 2025
… glob patterns (fluent#5161)

**Which issue(s) this PR fixes**:
Fixes fluent#5152

**What this PR does / why we need it**:
It is referencing an uninitialized instance variable for Linux
Capability feature, causing an error.
This PR will fix the bug.

**Docs Changes**:
N/A

**Release Note**:
* in_tail: fix error preventing the use of Linux Capability feature

---------

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
kenhys pushed a commit to kenhys/fluentd that referenced this pull request Dec 5, 2025
… glob patterns (fluent#5161)

**Which issue(s) this PR fixes**:
Fixes fluent#5152

**What this PR does / why we need it**:
It is referencing an uninitialized instance variable for Linux
Capability feature, causing an error.
This PR will fix the bug.

**Docs Changes**:
N/A

**Release Note**:
* in_tail: fix error preventing the use of Linux Capability feature

---------

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
kenhys pushed a commit that referenced this pull request Jan 6, 2026
… glob patterns (#5161)

**Which issue(s) this PR fixes**:
Fixes #5152

**What this PR does / why we need it**:
It is referencing an uninitialized instance variable for Linux
Capability feature, causing an error.
This PR will fix the bug.

**Docs Changes**:
N/A

**Release Note**:
* in_tail: fix error preventing the use of Linux Capability feature

---------

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
kenhys pushed a commit that referenced this pull request Jan 6, 2026
… glob patterns (#5161)

**Which issue(s) this PR fixes**:
Fixes #5152

**What this PR does / why we need it**:
It is referencing an uninitialized instance variable for Linux
Capability feature, causing an error.
This PR will fix the bug.

**Docs Changes**:
N/A

**Release Note**:
* in_tail: fix error preventing the use of Linux Capability feature

---------

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
github-actions Bot pushed a commit that referenced this pull request Jan 7, 2026
… glob patterns (#5161)

**Which issue(s) this PR fixes**:
Fixes #5152

**What this PR does / why we need it**:
It is referencing an uninitialized instance variable for Linux
Capability feature, causing an error.
This PR will fix the bug.

**Docs Changes**:
N/A

**Release Note**:
* in_tail: fix error preventing the use of Linux Capability feature

---------

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Watson1978 added a commit that referenced this pull request Jan 8, 2026
…n are included in glob patterns (#5161) (#5222)

**Which issue(s) this PR fixes**: 
Backport #5161
Fixes #5152

**What this PR does / why we need it**: 
It is referencing an uninitialized instance variable for Linux
Capability feature, causing an error.
This PR will fix the bug.

**Docs Changes**:
N/A

**Release Note**: 
* in_tail: fix error preventing the use of Linux Capability feature

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Shizuo Fujita <fujita@clear-code.com>
@Watson1978 Watson1978 added the backported "backport to LTS" is done label Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport to v1.19 We will backport this fix to the LTS branch backported "backport to LTS" is done

Projects

None yet

Development

Successfully merging this pull request may close these issues.

undefined method `have_capability?' for nil"

2 participants