Bug 1629350 - Keymap doesn’t get set correctly
Summary: Keymap doesn’t get set correctly
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dracut
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: dracut-maint-list
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-15 07:46 UTC by Frank
Modified: 2022-04-14 10:27 UTC (History)
8 users (show)

Fixed In Version: dracut-050-61.git20200529.fc31
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-18 15:47:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Frank 2018-09-15 07:46:10 UTC
Description of problem:
On both F28 and F29, I set my systems up with keymaps "de-neo" (primary) and "de-nodeadkeys" (secondary). Anaconda also states, that the primary keymap will be used at boot – but since F28 this doesn’t work anymore. I instead always have to type in my password via a US keymap.

With help of Christian Schaller, I was able to find out that `localectl`, the keymap in the initrd and `/etc/vconsole.conf` all were set up properly. I had to manually add "vconsole.keymap=de-neo" in the kernel command line for the layout to be correct. So it seams that plymouth isn’t correctly configured and/or not able to read `/etc/vconsole` correctly.


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

How reproducible:
Every time

Steps to Reproduce:
1. Chose Neo as primary keympa in Anaconda.
2. Set encrypted drive.
3. Plymouth keymap will be US

Additional info:

$ localectl
   System Locale: LANG=de_DE.UTF-8
       VC Keymap: de-neo
      X11 Layout: de,de
     X11 Variant: neo,nodeadkeys


$ cat /etc/vconsole.conf 
KEYMAP="de-neo"
FONT="eurlatgr"

Comment 1 Frank 2018-12-15 19:27:26 UTC
Any progress on this? It’s very annoying to always enter passwords in a total different keyboard layout. And this is reproducible on other machines. :/

Comment 2 Ben Cotton 2019-05-02 20:07:02 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Ben Cotton 2019-05-28 23:28:01 UTC
Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 4 Frank 2019-05-28 23:52:53 UTC
Reproducible with FSB30.

Comment 5 Hans de Goede 2019-06-12 07:47:27 UTC
plymouth does not set the keymap itself, it simply uses the keymap as setup by the initrd environment.

The initrd is generated by dracut and should inherit the settings from vconsole.conf, see:
/usr/lib/dracut/modules.d/00systemd/module-setup.sh

Note it only does this when building a host-only initrd (the default) have you perhaps changed the dracut config?

What is the output of: "sudo lsinitrd | grep vconsole"  ?  This should include etc/vconsole.conf
if not you've likely set the dracut hostonly option to no/false.

Changing component to dracut.

Comment 6 Frank 2019-07-23 22:22:34 UTC
Yes, in the meantime I was told the same in Fedora-Discourse:
https://discussion.fedoraproject.org/t/bug-dm-crypt-password-saved-in-qwerty/1204/8


```
sudo lsinitrd | grep vconsole
No <initramfs file> specified and the default image '/boot/initramfs-5.1.18-300.fc30.x86_64.img' cannot be accessed!
```

Comment 7 Ben Cotton 2020-04-30 21:30:28 UTC
This message is a reminder that Fedora 30 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 30 on 2020-05-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '30'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 30 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 8 Ben Cotton 2020-05-26 16:16:55 UTC
Fedora 30 changed to end-of-life (EOL) status on 2020-05-26. Fedora 30 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 9 Frank 2020-05-27 01:01:03 UTC
Still occurring in FSB31 (maybe Silverblue-specific).

Comment 10 Fedora Update System 2020-05-29 19:03:33 UTC
FEDORA-2020-03e14f6120 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-03e14f6120

Comment 11 Fedora Update System 2020-05-30 02:04:21 UTC
FEDORA-2020-03e14f6120 has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-03e14f6120`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-03e14f6120

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Frank 2020-05-30 13:21:02 UTC
Is there an equivalent to do this in Silverblue?

Comment 13 Frank 2020-05-30 13:22:15 UTC
Ah sorry, it's mentioned there.

Comment 14 Fedora Update System 2020-10-18 15:47:57 UTC
FEDORA-2020-03e14f6120 has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Guillaume 2022-04-14 10:27:41 UTC
Hi,
I've tested Silverblue in march 2019 and had this bug too. The experience was too bad for me, back to Fedora Workstation, and today I'm trying again Silverblue Beta. This bug is still here.
Also, in Workstation, the layout is show in dracut, but not in Silverblue.


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