Package: initscripts
Version: 2.86.ds1-56
Severity: normal
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu intrepid ubuntu-patch

Hi!

Attached patch sets the locale from /etc/default/locale in mountall,
so that ntfs-3g mounts in /etc/fstab get the correct locale. See
https://launchpad.net/bugs/132357 for details and the original bug.

Thanks,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
 * debian/initscripts/etc/init.d/mountall.sh: Set $LANG from
   /etc/default/locale, so that ntfs-3g and friends can get correct file
   name encodings. (LP #132357) 
--- sysvinit-2.86.ds1/debian/initscripts/etc/init.d/mountall.sh
+++ sysvinit-2.86.ds1/debian/initscripts/etc/init.d/mountall.sh
@@ -15,6 +15,12 @@
 . /lib/lsb/init-functions
 . /lib/init/mount-functions.sh
 
+# for ntfs-3g to get correct file name encoding (LP #132357)
+if [ -r /etc/default/locale ]; then
+       . /etc/default/locale
+       export LANG
+fi
+
 do_start() {
 	#
 	# Mount local file systems in /etc/fstab.

Attachment: signature.asc
Description: Digital signature

Reply via email to