Bug 1368
| Summary: | rc.sysinit changes console font | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Raw Hide | Reporter: | sds |
| Component: | initscripts | Assignee: | Bill Nottingham <notting> |
| Status: | CLOSED WORKSFORME | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 1.0 | CC: | rvokal |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 1999-03-19 22:06:57 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
sds
1999-02-28 04:52:46 UTC
what version of initscripts are you running? $ rpm -q initscripts initscripts-3.91-1 what does your /etc/sysconfig/i18n say? the file is empty: $ ls -l /etc/sysconfig/i18n 0 -rw-rw-r-- 1 root root 0 Dec 2 20:05 /etc/sysconfig/i18n while I'd appreciate being able to display cyrillic-koi8 in the console, I find preserving the size (60x80) more important. Grumble. It shouldn't be doing that anymore.
Does /sbin/setsysfont look like the following?
#!/bin/sh
if [ -f /etc/sysconfig/i18n ]; then
. /etc/sysconfig/i18n
fi
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
fi
else
echo "can't set font"
exit 1
fi
yep, that's exactly what I have. Check through your initscripts to see if $SYSFONT is assigned somewhere else; if it isn't, it obviously shouldn't be calling setfont. 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.) |