Red Hat Bugzilla – Bug 74366
"setsysfont" doesn't work under "action"
Last modified: 2014-03-16 22:31:09 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.19 i686)
Description of problem:
During a boot process I get an unreadable messages.
There is a line in rc.sysinint, like this:
action $"Setting default font ($SYSFONT): " /sbin/setsysfont
Changing it to lines:
action $"Setting default font ($SYSFONT): " /bin/true
fixes the problem. I don't know why "setsysfont" doesn't work
under "action", probably due to some stdin/stdout redirections.
I have verified that "setsysfont" was being executed, but no
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Start RH box configured for some language other than english
2.Watch the boot messages
Actual Results: Unreadable messages
Expected Results: Readable message on my native language
Another problem is that "setsysfont" is called not in the very
beginning of an rc.sysinit, so the part of a boot messages was
still unreadable until I moved the font stuff to the beginning.
And the final problem: I have a /usr on another partition.
That makes /usr/lib/locale unavailable for the part of a boot
process until the local fses are mounted. This makes the first
half of a boot process to write english words and the second
half writes on a local language. The solution can be to move
a /usr/lib/locale to /lib/locale to be present on a root fs,
but this will probably require a glibc recompilling or some
other adjusting work, so I haven't resolved this for me.
If some of that simple bugs can be fixed, I'd be thankfull.
Should be fixed in 6.96-1 or later