-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Telegraf runs /sbin/init --version unconditionally #6846
Comments
I don't understand how this could be correct, why would Telegraf execute |
While I was on this, I installed telegraf on my workstation (Telegraf 1.13.0 (git: HEAD 773e4ca)
But if we remove the
And
|
Okay, I see this too, I think this might be related to
I'll keep investigating, but I expect we can remove this. |
Look like this has been fixed upstream, and we just need to update the library: kardianos/service#115 |
System info:
Linux 3.18 buildroot with sninit (https://github.com/arsv/sninit/)
Telegraf version 1.13.0
Steps to reproduce:
telegraf --help
ortelegraf --version
Expected behavior:
Telegraf help or telegraf version is printed to stdout
Actual behavior:
Telegraf executes
/sbin/init --version
. sninit has no understanding of--version
and begins executing system initialization.Additional info:
Configuration file or commandline options passed to telegraf are parsed only after
/sbin/init --version
invocationThe text was updated successfully, but these errors were encountered: