Bug 1368 - rc.sysinit changes console font
rc.sysinit changes console font
Product: Red Hat Raw Hide
Classification: Retired
Component: initscripts (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Depends On:
  Show dependency treegraph
Reported: 1999-02-27 23:52 EST by sds
Modified: 2014-03-16 22:09 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-03-19 17:06:57 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description sds 1999-02-27 23:52:46 EST
I set vga= in lilo.conf and /sbin/setsysfont called
from /etc/rc.d/rc.sysinit screws it up.
Comment 1 Bill Nottingham 1999-03-08 13:55:59 EST
what version of initscripts are you running?
Comment 2 sds 1999-03-09 09:13:59 EST
$ rpm -q initscripts
Comment 3 Bill Nottingham 1999-03-09 10:53:59 EST
what does your /etc/sysconfig/i18n say?
Comment 4 sds 1999-03-09 11:09:59 EST
the file is empty:

$ ls -l /etc/sysconfig/i18n
   0 -rw-rw-r--   1 root     root            0 Dec  2 20:05

while I'd appreciate being able to display cyrillic-koi8 in the
console, I find preserving the size (60x80) more important.
Comment 5 Bill Nottingham 1999-03-10 11:46:59 EST
Grumble. It shouldn't be doing that anymore.
Does /sbin/setsysfont look like the following?


if [ -f /etc/sysconfig/i18n ]; then
  . /etc/sysconfig/i18n

if [ -x /usr/bin/setfont ]; then

  if [ -n "$SYSFONT" -a -n "$UNIMAP" ]; then
    /usr/bin/setfont $SYSFONT -u $UNIMAP
  elif [ -n "$SYSFONT" ]; then
    /usr/bin/setfont $SYSFONT
#  else
#    /usr/bin/setfont

  echo "can't set font"
  exit 1
Comment 6 sds 1999-03-10 18:28:59 EST
yep, that's exactly what I have.
Comment 7 Bill Nottingham 1999-03-11 11:37:59 EST
Check through your initscripts to see if $SYSFONT is assigned
somewhere else; if it isn't, it obviously shouldn't be
calling setfont.
Comment 8 Bill Nottingham 1999-03-19 17:06:59 EST
at this point, I can't reproduce this here.
Using recent initscripts, the console stays the
same when booting with vga=ext, vga=132x43 (or whatever.)

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