http://bugzilla.kernel.org/show_bug.cgi?id=13292 --- Comment #2 from Thibault Mondary <thibm@xxxxxxx> 2009-05-14 14:14:01 --- (In reply to comment #1) I'am starting from a locale "fr_FR@euro" on my system. Output WITHOUT journal : root@ubuntu ~# mount archlinux_64_minimal_ext4_without_journal.img /mnt/loop -o loop root@ubuntu ~# chroot /mnt/loop bash-3.2# locale-gen Generating locales... fr_FR.UTF-8... done fr_FR.ISO-8859-1... done fr_FR.ISO-8859-15@xxxxxxx done Generation complete. bash-3.2# locale LANG=fr_FR@euro LC_CTYPE="fr_FR@euro" LC_NUMERIC="fr_FR@euro" LC_TIME="fr_FR@euro" LC_COLLATE="fr_FR@euro" LC_MONETARY="fr_FR@euro" LC_MESSAGES="fr_FR@euro" LC_PAPER="fr_FR@euro" LC_NAME="fr_FR@euro" LC_ADDRESS="fr_FR@euro" LC_TELEPHONE="fr_FR@euro" LC_MEASUREMENT="fr_FR@euro" LC_IDENTIFICATION="fr_FR@euro" LC_ALL= bash-3.2# exit root@ubuntu:~# umount /mnt/loop root@ubuntu:~# mount archlinux_64_minimal_ext4_without_journal.img /mnt/loop -o loop root@ubuntu ~# chroot /mnt/loop ********BEGINNING OF THE PROBLEM : locales are normally generated from previous mount********** bash-3.2# locale locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory LANG=fr_FR@euro LC_CTYPE="fr_FR@euro" LC_NUMERIC="fr_FR@euro" LC_TIME="fr_FR@euro" LC_COLLATE="fr_FR@euro" LC_MONETARY="fr_FR@euro" LC_MESSAGES="fr_FR@euro" LC_PAPER="fr_FR@euro" LC_NAME="fr_FR@euro" LC_ADDRESS="fr_FR@euro" LC_TELEPHONE="fr_FR@euro" LC_MEASUREMENT="fr_FR@euro" LC_IDENTIFICATION="fr_FR@euro" LC_ALL= bash-3.2# LANG=fr_FR bash-3.2# locale locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory LANG=fr_FR LC_CTYPE="fr_FR" LC_NUMERIC="fr_FR" LC_TIME="fr_FR" LC_COLLATE="fr_FR" LC_MONETARY="fr_FR" LC_MESSAGES="fr_FR" LC_PAPER="fr_FR" LC_NAME="fr_FR" LC_ADDRESS="fr_FR" LC_TELEPHONE="fr_FR" LC_MEASUREMENT="fr_FR" LC_IDENTIFICATION="fr_FR" LC_ALL= **********END************ *************VERSION 2 : adding a journal to the image ************ root@ubuntu:~# tune2fs -O has_journal archlinux_64_minimal_ext4_without_journal.img tune2fs 1.41.4 (27-Jan-2009) Création de l'i-noeud du journal : complété Le système de fichiers sera automatiquement vérifié tous les 39 montages ou après 180 jours, selon la première éventualité. Utiliser tune2fs -c ou -i pour écraser la valeur. root@ubuntu:~# e2fsck -f archlinux_64_minimal_ext4_without_journal.img e2fsck 1.41.4 (27-Jan-2009) Passe 1 : vérification des i-noeuds, des blocs et des tailles Passe 2 : vérification de la structure des répertoires Passe 3 : vérification de la connectivité des répertoires Passe 4 : vérification des compteurs de référence Passe 5 : vérification de l'information du sommaire de groupe archlinux_64_minimal_ext4_without_journal.img : 21848/65536 fichiers (0.1% nontigus), 86608/262144 blocs root@ubuntu:~# mount archlinux_64_minimal_ext4_without_journal.img /mnt/loop -o loop root@ubuntu:~# chroot /mnt/loop bash-3.2# locale locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory LANG=fr_FR@euro LC_CTYPE="fr_FR@euro" LC_NUMERIC="fr_FR@euro" LC_TIME="fr_FR@euro" LC_COLLATE="fr_FR@euro" LC_MONETARY="fr_FR@euro" LC_MESSAGES="fr_FR@euro" LC_PAPER="fr_FR@euro" LC_NAME="fr_FR@euro" LC_ADDRESS="fr_FR@euro" LC_TELEPHONE="fr_FR@euro" LC_MEASUREMENT="fr_FR@euro" LC_IDENTIFICATION="fr_FR@euro" LC_ALL= bash-3.2# locale-gen Generating locales... fr_FR.UTF-8... done fr_FR.ISO-8859-1... done fr_FR.ISO-8859-15@xxxxxxx done Generation complete. bash-3.2# locale LANG=fr_FR@euro LC_CTYPE="fr_FR@euro" LC_NUMERIC="fr_FR@euro" LC_TIME="fr_FR@euro" LC_COLLATE="fr_FR@euro" LC_MONETARY="fr_FR@euro" LC_MESSAGES="fr_FR@euro" LC_PAPER="fr_FR@euro" LC_NAME="fr_FR@euro" LC_ADDRESS="fr_FR@euro" LC_TELEPHONE="fr_FR@euro" LC_MEASUREMENT="fr_FR@euro" LC_IDENTIFICATION="fr_FR@euro" LC_ALL= bash-3.2# exit root@ubuntu:~# umount /mnt/loop root@ubuntu:~# mount archlinux_64_minimal_ext4_without_journal.img /mnt/loop -o loop root@ubuntu:~# chroot /mnt/loop *****************HERE, NO PROBLEM, locales are taken from previous session******* bash-3.2# locale LANG=fr_FR@euro LC_CTYPE="fr_FR@euro" LC_NUMERIC="fr_FR@euro" LC_TIME="fr_FR@euro" LC_COLLATE="fr_FR@euro" LC_MONETARY="fr_FR@euro" LC_MESSAGES="fr_FR@euro" LC_PAPER="fr_FR@euro" LC_NAME="fr_FR@euro" LC_ADDRESS="fr_FR@euro" LC_TELEPHONE="fr_FR@euro" LC_MEASUREMENT="fr_FR@euro" LC_IDENTIFICATION="fr_FR@euro" LC_ALL= exit, umount... > I would be interested to know what your actual output looks like. I've tried > to reproduce this and don't seem to be able to, at least not in my environment. > > My attempts looked like: > [/root]# mount -t ext4 -o loop > /foo/archlinux_64_minimal_ext4_without_journal.img /mnt > [/root]# chroot /mnt > bash-3.2# locale-gen > Generating locales... > fr_FR.UTF-8... done > fr_FR.ISO-8859-1... done > fr_FR.ISO-8859-15@xxxxxxx done > Generation complete. > bash-3.2# locale > locale: Cannot set LC_CTYPE to default locale: No such file or directory > locale: Cannot set LC_MESSAGES to default locale: No such file or directory > locale: Cannot set LC_ALL to default locale: No such file or directory > LANG=en_US > LC_CTYPE="en_US" > LC_NUMERIC="en_US" > LC_TIME="en_US" > LC_COLLATE="en_US" > LC_MONETARY="en_US" > LC_MESSAGES="en_US" > LC_PAPER="en_US" > LC_NAME="en_US" > LC_ADDRESS="en_US" > LC_TELEPHONE="en_US" > LC_MEASUREMENT="en_US" > LC_IDENTIFICATION="en_US" > LC_ALL= > bash-3.2# LANG=fr_FR > bash-3.2# locale > LANG=fr_FR > LC_CTYPE="fr_FR" > LC_NUMERIC="fr_FR" > LC_TIME="fr_FR" > LC_COLLATE="fr_FR" > LC_MONETARY="fr_FR" > LC_MESSAGES="fr_FR" > LC_PAPER="fr_FR" > LC_NAME="fr_FR" > LC_ADDRESS="fr_FR" > LC_TELEPHONE="fr_FR" > LC_MEASUREMENT="fr_FR" > LC_IDENTIFICATION="fr_FR" > LC_ALL= > bash-3.2# exit > [/root]# umount /mnt > [/root]# mount -t ext4 -o loop > /foo/archlinux_64_minimal_ext4_without_journal.img /mnt > [/root]# chroot /mnt > bash-3.2# locale > locale: Cannot set LC_CTYPE to default locale: No such file or directory > locale: Cannot set LC_MESSAGES to default locale: No such file or directory > locale: Cannot set LC_ALL to default locale: No such file or directory > LANG=en_US > LC_CTYPE="en_US" > LC_NUMERIC="en_US" > LC_TIME="en_US" > LC_COLLATE="en_US" > LC_MONETARY="en_US" > LC_MESSAGES="en_US" > LC_PAPER="en_US" > LC_NAME="en_US" > LC_ADDRESS="en_US" > LC_TELEPHONE="en_US" > LC_MEASUREMENT="en_US" > LC_IDENTIFICATION="en_US" > LC_ALL= > bash-3.2# LANG=fr_FR > bash-3.2# locale > LANG=fr_FR > LC_CTYPE="fr_FR" > LC_NUMERIC="fr_FR" > LC_TIME="fr_FR" > LC_COLLATE="fr_FR" > LC_MONETARY="fr_FR" > LC_MESSAGES="fr_FR" > LC_PAPER="fr_FR" > LC_NAME="fr_FR" > LC_ADDRESS="fr_FR" > LC_TELEPHONE="fr_FR" > LC_MEASUREMENT="fr_FR" > LC_IDENTIFICATION="fr_FR" > LC_ALL= > bash-3.2# -- Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.-- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html