[pve-devel] r6520 - pve-storage/trunk

svn-commits at proxmox.com svn-commits at proxmox.com
Tue Aug 30 07:23:26 CEST 2011


Author: dietmar
Date: 2011-08-30 07:23:26 +0200 (Tue, 30 Aug 2011)
New Revision: 6520

Modified:
   pve-storage/trunk/ChangeLog
   pve-storage/trunk/Makefile
   pve-storage/trunk/Storage.pm
   pve-storage/trunk/changelog.Debian
Log:
set LC_ALL instead of LANG


Modified: pve-storage/trunk/ChangeLog
===================================================================
--- pve-storage/trunk/ChangeLog	2011-08-23 04:23:34 UTC (rev 6519)
+++ pve-storage/trunk/ChangeLog	2011-08-30 05:23:26 UTC (rev 6520)
@@ -1,3 +1,8 @@
+2011-08-30  Proxmox Support Team  <support at proxmox.com>
+
+	* Storage.pm (run_command): set LC_ALL instead of LANG (avoid bug
+	when user sets LC_ environment variables)
+
 2011-08-18  Proxmox Support Team  <support at proxmox.com>
  	
 	* Storage.pm (iscsi_login): login to target, instead of

Modified: pve-storage/trunk/Makefile
===================================================================
--- pve-storage/trunk/Makefile	2011-08-23 04:23:34 UTC (rev 6519)
+++ pve-storage/trunk/Makefile	2011-08-30 05:23:26 UTC (rev 6520)
@@ -2,7 +2,7 @@
 
 VERSION=1.0
 PACKAGE=libpve-storage-perl
-PKGREL=18
+PKGREL=19
 
 DESTDIR=
 PREFIX=/usr

Modified: pve-storage/trunk/Storage.pm
===================================================================
--- pve-storage/trunk/Storage.pm	2011-08-23 04:23:34 UTC (rev 6519)
+++ pve-storage/trunk/Storage.pm	2011-08-30 05:23:26 UTC (rev 6520)
@@ -312,7 +312,7 @@
 
     my $pid;
     eval {
-	local $ENV{LANG} = $lang;
+	local $ENV{LC_ALL} = $lang;
 
 	# suppress LVM warnings like: "File descriptor 3 left open";
 	local $ENV{LVM_SUPPRESS_FD_WARNINGS} = "1";

Modified: pve-storage/trunk/changelog.Debian
===================================================================
--- pve-storage/trunk/changelog.Debian	2011-08-23 04:23:34 UTC (rev 6519)
+++ pve-storage/trunk/changelog.Debian	2011-08-30 05:23:26 UTC (rev 6520)
@@ -1,3 +1,10 @@
+libpve-storage-perl (1.0-19) unstable; urgency=low
+
+  * set LC_ALL instead of LANG (avoid bug when user sets LC_ environment
+    variables)
+
+ -- Proxmox Support Team <support at proxmox.com>  Tue, 30 Aug 2011 07:22:15 +0200
+
 libpve-storage-perl (1.0-18) unstable; urgency=low
 
   * iscsi: tolerate errors when not all portals are online.



More information about the pve-devel mailing list