aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog2
-rw-r--r--sitesummary-client5
2 files changed, 7 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 16f49df..61299ce 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ sitesummary (0.0.31.0.pere.1) unstable; urgency=low
* Start on code to generate nagios configuration from the collected
sitesummary information.
* Fix peername code in the collector.
+ * Set the locale to C when collecting data, to make sure the output
+ format is well known. (Closes: #452899)
-- Petter Reinholdtsen <pere@debian.org> Fri, 23 Nov 2007 22:28:14 +0100
diff --git a/sitesummary-client b/sitesummary-client
index 9e53e1f..317ad4f 100644
--- a/sitesummary-client
+++ b/sitesummary-client
@@ -8,6 +8,11 @@
set -e
PATH=/sbin:/usr/sbin:/bin:/usr/bin
+export PATH
+
+# Make sure the output from programs is well known.
+LC_ALL=C
+export LC_ALL
# Make sure to store files in a ramfs backed
# storage area on diskless clients, so use /tmp/.