disable freeipmi in docker by default (#15651)
Ilya Mashchenko committed
Jul 31, 2023 at 17:40 UTC
35d435438997574119807c589668c29e288e184b
1 file changed
+5
collectors/plugins.d/plugins_d.c
+5
@@ -217,6 +217,11 @@ void *pluginsd_main(void *ptr)
217
218
// disable some plugins by default
219
config_get_boolean(CONFIG_SECTION_PLUGINS, "slabinfo", CONFIG_BOOLEAN_NO);
220
+ // it crashes (both threads) on Alpine after we made it multi-threaded
221
+ // works with "--device /dev/ipmi0", but this is not default
222
+ // see https://github.com/netdata/netdata/pull/15564 for details
223
+ if (getenv("NETDATA_LISTENER_PORT"))
224
+ config_get_boolean(CONFIG_SECTION_PLUGINS, "freeipmi", CONFIG_BOOLEAN_NO);
225
226
// store the errno for each plugins directory
227
// so that we don't log broken directories on each loop