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: do not exit on failure of setcap on Telegraf #562

Merged
merged 1 commit into from
Jan 20, 2022
Merged

fix: do not exit on failure of setcap on Telegraf #562

merged 1 commit into from
Jan 20, 2022

Conversation

powersj
Copy link
Contributor

@powersj powersj commented Dec 22, 2021

The Telegraf container entrypoints attempt to use setcap to add
additional capabilites to the telegraf binary. Users who use aufs or run
a kernel that does not allow the setcap option will fail to start the
telegraf container as-is. This allows users to continue to use Telegraf,
but instead print an error message that setcap failed.

Resolves: #561

The Telegraf container entrypoints attempt to use setcap to add
additional capabilites to the telegraf binary. Users who use aufs or run
a kernel that does not allow the setcap option will fail to start the
telegraf container as-is. This allows users to continue to use Telegraf,
but instead print an error message that setcap failed.

Resolves: #561
@powersj powersj merged commit 3847060 into influxdata:master Jan 20, 2022
@powersj powersj deleted the fix/no-error-setcap branch January 20, 2022 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to launch telegraf docker after capabilities changes
2 participants