Red Hat Bugzilla – Bug 88238
"SYSFONT: undefined variable" error when logging in on console
Last modified: 2014-03-16 22:35:37 EDT
Description of problem: When I log in on the console, I get the error "SYSFONT:
undefined variable", and my .cshrc and .login files aren't executed.
Version-Release number of selected component (if applicable):
How reproducible: I think reproducing this requires what I have in my
/etc/sysconfig/i18n (which I admit to editing by hand, although to what I think
may have been the default in a clean install of RedHat 8 or 9 rather than an
upgrade). My /etc/sysconfig/i18n contains:
Steps to Reproduce:
1. Press Ctrl-Left Alt-F1 to get to virtual terminal 1.
2. Log in.
Actual results: Error message "SYSFONT: undefined variable", and .cshrc and
.login not executed.
Expected results: No error, .cshrc and .login executed.
Additional info: The problem seems to be located in /etc/profile.d/lang.csh .
I fixed it locally with the following change. (I don't know what this script
was intended to do, so I have no idea if it's right.)
--- /etc/profile.d/lang.csh 2003-03-29 14:15:45.000000000 -0500
+++ /etc/profile.d/lang.csh 2003-04-07 22:56:55.000000000 -0400
@@ -74,10 +74,12 @@
if ( $?TERM ) then
if ( "$TERM" == "linux" ) then
if ( `/sbin/consoletype` == "vt" ) then
- if ( $?SYSFONTACM ) then
- unicode_start $SYSFONT $SYSFONTACM
- unicode_start $SYSFONT
+ if ( $?SYSFONT ) then
+ if ( $?SYSFONTACM ) then
+ unicode_start $SYSFONT $SYSFONTACM
+ unicode_start $SYSFONT
Fixed in 7.19-1 or so.