Bug 167363
| Summary: | loadkeys in rc.sysinit is no longer non-UTF-8 safe | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Peter Bieringer <pb> |
| Component: | initscripts | Assignee: | Bill Nottingham <notting> |
| Status: | CLOSED RAWHIDE | QA Contact: | Brock Organ <borgan> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | cs.smela, rvokal |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 8.44-1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2006-10-05 16:48:32 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 150221 | ||
*** Bug 160039 has been marked as a duplicate of this bug. *** Fixed in 8.44-1, thanks! initscripts-8.31.6-1 has been pushed for fc5, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report. initscripts-8.31.6-1 has been pushed for fc5, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report. |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.10) Gecko/20050720 Fedora/1.0.6-1.1.fc4 Firefox/1.0.6 Description of problem: If system is in non-UTF-8 mode, loadkey still uses "-u" to load keymap. This will cause that e.g. German umlauts are displayed as two chars. Version-Release number of selected component (if applicable): initscripts-8.11.1-1 How reproducible: Always Steps to Reproduce: 1. enable non-UTF-8 mode in /etc/sysconfig/i18n (e.g. LANG=en_US) 2. reboot 3. use a German keyboard and type a German umlaut on a console Actual Results: Strange chars are displayed Expected Results: Germans umlauts are displayed Additional info: loadkey call in rc.sysinit unconditionally uses "-u" for unicode setup: loadkeys -u $KEYMAP < /dev/tty0 > /dev/tty0 2>/dev/null && \ success $"Loading default keymap" || failure $"Loading default keymap" echo That was not a good idea to use "-u" without checking whether system language is UTF-8. A temporary fix is to remove "-u" on non-UTF-8 systems.