From 0d41c241a763bf8edbbb3419cda43f3ba1ad4230 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20L=C3=AA-Qu=C3=B4c?= Date: Thu, 19 Sep 2013 10:31:49 -0400 Subject: [PATCH] Override any locale environment variable In one case reported on IRC, having LC_CTYPE=da_DK.UTF8 caused mpstat to report "Middel" instead of "Average". We had LANG=POSIX but that was obviously not enough. Using LC_ALL overrides all local variables and gets us the desired result. http://pubs.opengroup.org/onlinepubs/007908799/xbd/envvar.html --- packaging/datadog-agent-deb/supervisor.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/datadog-agent-deb/supervisor.conf b/packaging/datadog-agent-deb/supervisor.conf index 306efb519e..6fe5a9d57e 100644 --- a/packaging/datadog-agent-deb/supervisor.conf +++ b/packaging/datadog-agent-deb/supervisor.conf @@ -25,7 +25,7 @@ stderr_logfile=NONE priority=999 startsecs=2 user=dd-agent -environment=LANG=POSIX +environment=LC_ALL=POSIX [program:forwarder] command=/usr/bin/dd-forwarder