Bug 984757 - TTY Keyboard Layout is not correct
Summary: TTY Keyboard Layout is not correct
Keywords:
Status: CLOSED DUPLICATE of bug 994180
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-15 21:53 UTC by Fabian
Modified: 2013-09-03 15:47 UTC (History)
21 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-09-03 15:47:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Fabian 2013-07-15 21:53:10 UTC
Description of problem:
After installing fedora19 the keyboard layout in the TTY (e.g. ctrl+alt+f2) does not match the actual layout as it was configured. vconsole.conf and localectl state that the correct layout is set.

Version-Release number of selected component (if applicable):


How reproducible:
install fedora 19 and go into any virtual console.

Steps to Reproduce:
1. install f19 and change keyboard layout to any specific layout like "de"
2. go into a virtual console by pressing ctrl+alt+fx (x=1,2,3,...)
3. try to type a character specificly avaiable on your keyboard (like ona qwerty the y which is a z in qertz)

Actual results:
wrong key was mapped.

Expected results:
proper keylayout

Additional info:
manually chaning it via:
'loadkeys de-nodeadkeys' solved it.

Comment 1 Harald Hoyer 2013-07-29 14:31:43 UTC
does updating the initramfs with the changed vconsole.conf fix the issue?
# dracut -f

Comment 2 thohai 2013-08-06 07:58:59 UTC
Hi Harald!

In my case (F19 x64 kernel 3.10.4) "dracut -f" does not help.

After reboot the qwerty keyboard is used although the /etc/vconsole.conf 
looks like this:
KEYMAP=de
FONT=latarcyrheb-sun16

As with Fabian: loadkeys temporarily solves the problem.

Comment 3 Matthieu Araman 2013-08-12 21:45:29 UTC
same pb here, with French keyboard

had to change the password via X to be able to login 

once logged, loadkeys fr works

I'm trying the dracut -f

Comment 4 Matthieu Araman 2013-08-12 21:50:20 UTC
after dracut -f and reboot, it's ok
very strange...

Comment 5 Harald Hoyer 2013-08-16 08:28:04 UTC
The root problem is, I think, that anaconda does the yum transaction (in which dracut creates the initramfs image) before writing /etc/vconsole.conf and /etc/locale.conf.

And the kernel command line may not contain the keyboard and language setting.

Comment 6 Matthieu Araman 2013-09-01 16:10:37 UTC
to give additional info, I upgraded from F16 to F19 with :
F16 to F17 via yum (using raid-1, preupgrade doesn't work with it) then just after
F17 to F19 via Fedup

So it looks like there's some missing thing when upgrading with fedup

Comment 7 David Shea 2013-09-03 15:47:44 UTC

*** This bug has been marked as a duplicate of bug 994180 ***


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