[Dbconfig-common-changes] [dbconfig-common] r356 - in trunk: debian dpkg

Sean Finney seanius at alioth.debian.org
Mon Nov 6 20:59:16 CET 2006


tags 397288 pending
thanks

Author: seanius
Date: 2006-11-06 20:59:16 +0100 (Mon, 06 Nov 2006)
New Revision: 356

Modified:
   trunk/debian/changelog
   trunk/dpkg/common
Log:
pw generation fix

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2006-10-30 13:11:07 UTC (rev 355)
+++ trunk/debian/changelog	2006-11-06 19:59:16 UTC (rev 356)
@@ -1,8 +1,11 @@
-dbconfig-common (1.8.29) UNRELEASED; urgency=low
+dbconfig-common (1.8.30) UNRELEASED; urgency=low
 
   * NOT RELEASED YET
+  * Fabio Tranchitella discovered that in some environments passwords
+    could be generated with illegal UTF8 characters.  the fix was simple
+    enough, anyway, thanks.  Closes: #397288.
 
- -- sean finney <seanius at debian.org>  Mon, 30 Oct 2006 14:10:47 +0100
+ -- sean finney <seanius at debian.org>  Mon, 06 Nov 2006 20:58:12 +0100
 
 dbconfig-common (1.8.28) unstable; urgency=low
 

Modified: trunk/dpkg/common
===================================================================
--- trunk/dpkg/common	2006-10-30 13:11:07 UTC (rev 355)
+++ trunk/dpkg/common	2006-11-06 19:59:16 UTC (rev 356)
@@ -776,7 +776,7 @@
 	done
 
 	if [ ! "$dbc_dbpass" ]; then
-		dbc_dbpass=`env LANG=C sed -n -e 's/[^[:alnum:]]//g;p;q' < /dev/urandom | cut -b1-12`
+		dbc_dbpass=`env LANG=C LC_ALL=C sed -n -e 's/[^[:alnum:]]//g;p;q' < /dev/urandom | cut -b1-12`
 		db_set $dbc_package/$dbc_dbtype/app-pass "$dbc_dbpass"
 		db_set $dbc_package/app-password-confirm "$dbc_dbpass"
 	fi




More information about the Dbconfig-common-changes mailing list