[Pkg-sysvinit-commits] r1308 - in sysvinit/trunk/debian: . initscripts/etc/init.d

kelmo-guest at alioth.debian.org kelmo-guest at alioth.debian.org
Mon Feb 2 12:03:19 UTC 2009


Author: kelmo-guest
Date: 2009-02-02 12:03:19 +0000 (Mon, 02 Feb 2009)
New Revision: 1308

Modified:
   sysvinit/trunk/debian/changelog
   sysvinit/trunk/debian/initscripts/etc/init.d/mountoverflowtmp
Log:
Force C locale for df command used in mountoverflowtmp initscript.
Closes: #510912

Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog	2009-02-02 11:59:42 UTC (rev 1307)
+++ sysvinit/trunk/debian/changelog	2009-02-02 12:03:19 UTC (rev 1308)
@@ -2,8 +2,10 @@
 
   * In the LSB init information of the urandom script, the Description
     keyword is missing a semi-colon. Closes: #501724
+  * Force C locale for df command used in mountoverflowtmp initscript.
+    Closes: #510912
 
- -- Kel Modderman <kel at otaku42.de>  Mon, 02 Feb 2009 21:59:10 +1000
+ -- Kel Modderman <kel at otaku42.de>  Mon, 02 Feb 2009 22:00:52 +1000
 
 sysvinit (2.86.ds1-61) unstable; urgency=low
 

Modified: sysvinit/trunk/debian/initscripts/etc/init.d/mountoverflowtmp
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/mountoverflowtmp	2009-02-02 11:59:42 UTC (rev 1307)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/mountoverflowtmp	2009-02-02 12:03:19 UTC (rev 1308)
@@ -24,7 +24,7 @@
 case "$1" in
   start)
 	[ "$VERBOSE" != no ] && log_action_begin_msg "Checking minimum space in /tmp"
-	df="`df -kP /tmp |grep -v Filesystem`"
+	df="`LANG=C LC_ALL=C df -kP /tmp | grep -v Filesystem`"
 	set -- $df
 	avail="$4"
 	[ "$VERBOSE" != no ] && log_action_end_msg 0




More information about the Pkg-sysvinit-commits mailing list