Hi, In the second stage the missing locale is generated, but if we reboot, the LANG (and the related variables) won't be exported despite the fact that the locale is valid. There is certainly an unhandled state in termwrap. Could you please test the attached fix (by applying it to termwrap and rebooting)? I've tested here and it seems OK.
P.S. This patch only adresses the bug, but I think we should perform a code cleanup in this part of termwrap, as there is some repetitive code. -- roktas
--- termwrap.orig 2004-06-18 00:29:28.000000000 +0300 +++ termwrap 2004-06-18 00:42:31.000000000 +0300 @@ -156,6 +156,12 @@ unset LANG_INST unset LANGUAGE_INST fi + else + LANG=$LANG_INST + LC_ALL=$LANG_INST + LC_COLLATE=C + export LANG LC_ALL LC_COLLATE + unset LANG_INST fi unset locale
signature.asc
Description: Digital signature