Description of problem: if system lang is Greek when booting in text mode or shutting down the localized text is displayed as boxes. Version-Release number of selected component (if applicable): initscripts-8.51-1 How reproducible: always Steps to Reproduce: 1.change system lang to greek 2.shutdown, restart in text mode Actual results: Localized text displayed as box Expected results: The text to be readable Additional info: The problem is the additional lines in lang.sh to fix BZ# 229102. Removing these lines (the If $LANG ...) then works as expected.
ping ...
I checked bug 229102 and did not notice a patch/etc. I could see a reference with not sourcing /etc/sysconfig/i18n though it is not clear whether this is system-wide or how it can be made to affect only SSH session. Could you please provide a patch or show what needs to be changed so this bug can be fixed?
bug 229102 does not have a patch attached but as a result to fix it a If $LANG ... statement was added int he beginning of the the files /etc/profile.d/lang.sh and /etc/profile.d/lang.csh here is the beginning of the land.sh in f7 sourced=0 if [ -n "$LANG" ]; then sourced=1 else for langfile in /etc/sysconfig/i18n $HOME/.i18n ; do [ -f $langfile ] && . $langfile && sourced=1 done fi and here is the line from fc6 sourced=0 for langfile in /etc/sysconfig/i18n $HOME/.i18n ; do [ -f $langfile ] && . $langfile && sourced=1 done if you remove the added if or more correctly(?) change it to if [ -n "$LANG" ]; then sourced=0 else ... then the problem is solved
Bill, any update on this?
Stephanos, prepei na steileis patches (diff -u) gia ta dio arxeia, diaforetika de 8a ginei tipota.
Created attachment 152595 [details] patch for this issue Try this - basically, we do need to re-read only when we're calling unicode_start to set the font.
Will be in 8.52-1.
Does this issue have anything in common with bug #222549? Although this might not be the best place to ask this: do we have wiki pages with instructions on how to convert such a patch to an SRPM and test it and info about where these sources lie? (found out the CVS root of initscripts through http://rhlinux.redhat.com/initscripts/, which I didn't know it existed until today.)
In as much as you also need to have SYSFONT set to something appropriate for Greek, it's related. You can always set the font by hand, though. As for the patch, you can add it as PatchN: just like in any other RPM.
(In reply to comment #9) > In as much as you also need to have SYSFONT set to something appropriate for > Greek, it's related. You can always set the font by hand, though. Related only if you change language after installation. As for the patch It works