Bug 229996 - greek chars not displayed on startup
greek chars not displayed on startup
Product: Fedora
Classification: Fedora
Component: initscripts (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
Depends On:
Blocks: FC7Target
  Show dependency treegraph
Reported: 2007-02-25 12:12 EST by Stephanos Manos
Modified: 2014-03-16 23:05 EDT (History)
3 users (show)

See Also:
Fixed In Version: 8.52-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-04-13 18:30:38 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
patch for this issue (707 bytes, patch)
2007-04-13 18:30 EDT, Bill Nottingham
no flags Details | Diff

  None (edit)
Description Stephanos Manos 2007-02-25 12:12:46 EST
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):

How reproducible:

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.
Comment 1 Stephanos Manos 2007-03-29 15:13:30 EDT
ping ...
Comment 2 Simos Xenitellis 2007-03-29 21:01:37 EDT
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?
Comment 3 Stephanos Manos 2007-03-30 05:18:45 EDT
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

if [ -n "$LANG" ]; then
    for langfile in /etc/sysconfig/i18n $HOME/.i18n ; do
    	[ -f $langfile ] && . $langfile && sourced=1

and here is the line from fc6
for langfile in /etc/sysconfig/i18n $HOME/.i18n ; do
    [ -f $langfile ] && . $langfile && sourced=1

if you remove the added if or more correctly(?) change it to 
if [ -n "$LANG" ]; then

then the problem is solved
Comment 4 Dimitris Glezos 2007-04-04 09:53:47 EDT
Bill, any update on this?
Comment 5 Simos Xenitellis 2007-04-05 01:09:30 EDT
Stephanos, prepei na steileis patches (diff -u) gia ta dio arxeia, diaforetika
de 8a ginei tipota.
Comment 6 Bill Nottingham 2007-04-13 18:30:01 EDT
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.
Comment 7 Bill Nottingham 2007-04-13 18:30:38 EDT
Will be in 8.52-1.
Comment 8 Dimitris Glezos 2007-04-13 20:08:51 EDT
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.)
Comment 9 Bill Nottingham 2007-04-13 20:19:11 EDT
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.
Comment 10 Stephanos Manos 2007-04-15 12:10:15 EDT
(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

Note You need to log in before you can comment on or make changes to this bug.