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

fix(service): Allow notify access from all #14517

Merged
merged 1 commit into from
Jan 3, 2024

Conversation

powersj
Copy link
Contributor

@powersj powersj commented Jan 2, 2024

Summary

Adds the NotifyAccess=all option to the systemd service file we use. Without this, NotifyAccess is set to main, due to Type=notify. This means only the main pid can communicate. Users using exec/execd like plugins need to be able to communicate with other PIDs.

See: https://www.freedesktop.org/software/systemd/man/latest/systemd.service.html#NotifyAccess=

Checklist

  • No AI generated code was used in this PR

Related issues

resolves #14500

Copy link
Member

@srebhan srebhan left a comment

Choose a reason for hiding this comment

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

Fine with me. Thanks @powersj!

@srebhan srebhan added the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label Jan 3, 2024
@powersj powersj merged commit 6761200 into influxdata:master Jan 3, 2024
26 checks passed
@powersj powersj deleted the fix/14500 branch January 3, 2024 17:21
@github-actions github-actions bot added this to the v1.29.2 milestone Jan 3, 2024
powersj added a commit that referenced this pull request Jan 8, 2024
@powersj powersj restored the fix/14500 branch March 29, 2024 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix pr to fix corresponding bug ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

telegraf.service: Got notification message from PID XXX, but reception only permitted for main PID YYY
2 participants