From 77e4364537ece760fecf18087efe6680bfae978b Mon Sep 17 00:00:00 2001 From: Joshua Powers Date: Tue, 27 Jun 2023 09:14:30 -0600 Subject: [PATCH] fix(secretstores): Skip dbus connection with kwallet (#13489) --- cmd/telegraf/main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/telegraf/main.go b/cmd/telegraf/main.go index a56e1a23a6180..dd276c3e1c967 100644 --- a/cmd/telegraf/main.go +++ b/cmd/telegraf/main.go @@ -369,6 +369,9 @@ func runApp(args []string, outputBuffer io.Writer, pprof Server, c TelegrafConfi } func main() { + // #13481: disables gh:99designs/keyring kwallet.go from connecting to dbus + os.Setenv("DISABLE_KWALLET", "1") + agent := Telegraf{} pprof := NewPprofServer() c := config.NewConfig()