Bug 1050180
| Summary: | keyboard layout changes back to english, allthough german (austria) is selected during install | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Christoph Galuschka <tigalch> |
| Component: | systemd | Assignee: | systemd-maint |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | qe-baseos-daemons |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.0 | CC: | jamespatterson, lnykryn, msekleta, pasik, systemd-maint-list, tigalch, vpodzime |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-06-12 09:05:53 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Christoph Galuschka
2014-01-08 20:09:32 UTC
(In reply to Christoph Galuschka from comment #0) > Description of problem: > When choosing i.e. ge-de as keyboard layout for the installation, and > removing en as layout, after the installation completes and the system > reboots, a en-keybord layout is again in place. > > Version-Release number of selected component (if applicable): > RHEL7b1 > > How reproducible: > always > > Steps to Reproduce: > 1. install from netinstall/full DVD > 2. choose german keyboard layout, and remove english keyboard layout > 3. reboot - english layout is again in use > > Actual results: > english leyout is used, allthough not selected during install What does "english layout is used" mean? Do you mean it is used in the VConsole or in the X server? Could you please attach the /etc/vconsole.conf and /etc/X11/xorg.conf.d/00-keboard.conf files from that system? Hi, I installed a minimal system, so I can only offer VConsole. I selected the german keyboard layout during install and removed the english layout. After rebooting, the layout is english again. The file contents you requested reads: >> KEYMAP=de-latin1-nodeadkeys FONT=latarcyrheb-sun16 >> I do read it lists a german layout, however when pressing 'z' in my keyboard I get an 'y' on the console. Using system-config-keyboard to change the layout works, as afterwards a 'z' is a 'z' again. I probably forgot to mention the installation is on vBox 4.3.6 if this makes any difference. Is it still KEYMAP=de-latin1-nodeadkeys after using system-config-keyboard? If not, please reassign this bug to systemd because it should suggest anaconda using a different VConsole keymap for the 'de' X layout. Vratislav, after using system-config-keyboard /etc/vconsole.conf still reads the same content. After hitting OK in system-config-keyboard I do get 'Loading /lib/kbd/keymaps/i386/qwertz/de-latin1-nodeadkeys.map.gz' and a 'z' is a 'z' again. So if I read you correct, I will not reassign this bug. (In reply to Christoph Galuschka from comment #5) > Vratislav, > > after using system-config-keyboard /etc/vconsole.conf still reads the same > content. After hitting OK in system-config-keyboard I do get 'Loading > /lib/kbd/keymaps/i386/qwertz/de-latin1-nodeadkeys.map.gz' and a 'z' is a 'z' > again. So if I read you correct, I will not reassign this bug. I believe you should, but for a different reason -- systemd obviously ignores the configuration file and doesn't load the keymap specified there. Anaconda can do nothing more than writing out proper configuration files. Reassigning. ok, thanks This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux. So fixing systemd to correctly read the keyboard configuration file did not happen within 5 months. Any ETA when one can expect this to work correctly? Just installed RHEL7, removed us keyboard during installation and added de layout. After reboot it works as expected, i.e. de layout is set. Can you try with RHEL7 GA and let me know if it works for you? Well no. I just tried this with EL7beta and EL7RC. No subscription (yet). But I do have one question: Did you try a minimal install or a GNOME-Desktop? I did some trying around yesterday, and keyboard works as expected on GNOME/runlevel 5, but NOT when doing a minimal install and then logging into the CLI. I did minimal install. Did you also change the installation language or only the keyboard layout? Michal: some more input. Could you please give it a try with either "German (Austria, eliminate dead keys)" or "German (Austria)"? It seems to not effect "German (eliminate dead keys)". Thanks. Michal: These are the steps to reproduce: http://miuku.net/tmp/7keyboard.txt Michal: Anyluck with german (austria) keyboard? I sent to upstream mailing list patch [0] which should fix some keyboard setting issues. However I think we are facing another problem here. Algorithm for mapping X11 layout to vconsole layout uses /usr/share/systemd/kbd-model-map file. In that file there is no mapping from German (Austria) "at" X11 layout to any vconsole layout. Thus "us" layout gets selected for vconsole. This doesn't happen with German "de" layout because there is mapping X11 -> vconsole. [0] http://lists.freedesktop.org/archives/systemd-devel/2014-May/019625.html Michal: Thanks for taking this up. Re. the second bug, will you file a new one, or will this be handled in this issue? Another issue which should be fixed with patch I linked in comment #17 is already reported. And there is couple more internal bugs reported for similar issues. https://bugzilla.redhat.com/show_bug.cgi?id=903776 ok, thanks. will wait for the fix/update. Maybe anaconda shouldn't present user with such broad range of keyboard layouts to choose from during installation if we are unable to set the layout on kernel VTs after installation. At least until there is a clear mapping of *all* X layouts in anaconda to kernel VT layouts. Afaik in RHEL6 anaconda started system-config-keyboard at the beginning of installation process and allowed user to pick only from layouts which are supported on kernel VTs. Vratislav, any comments? (In reply to Michal Sekletar from comment #21) > Maybe anaconda shouldn't present user with such broad range of keyboard > layouts to choose from during installation if we are unable to set the > layout on kernel VTs after installation. At least until there is a clear > mapping of *all* X layouts in anaconda to kernel VT layouts. > > Afaik in RHEL6 anaconda started system-config-keyboard at the beginning of > installation process and allowed user to pick only from layouts which are > supported on kernel VTs. Vratislav, any comments? Yeah, but it resulted in bugs that the list is limitted and we should offer all X layouts. Staying with that seemed like saying "we don't want to bother fixing it" so we've changed it. And there is a clear mapping of *all* X layouts to kernel VT layouts, at least in Fedora due to conversion of X layouts into VT layouts and patches for loadkeys and other utilities. I'm not quite sure systemd-localed is fixed there to give those layouts' names instead of the old VT layouts when asked by Anaconda or anything else, but it's there, it works and could be ported to RHEL 7 quite easily. So still I think fixing bugs is better way to go than saying "it's not 100% covered, leave it as it is". *** Bug 1117206 has been marked as a duplicate of this bug. *** Can you please retest with rhel-7.1? Sorry for not testing at the release of 7.1. The issue appeares fixed to me. GNOME desktop shows both the selected german (austria) langueage and english and allows me to choose. I think this can be closed. |