Bug 1000565

Summary: Keyboard layout in installation ignored Leap 42.2 Beta 2
Product: [openSUSE] openSUSE Distribution Reporter: Daniel Noga <noga.dany>
Component: InstallationAssignee: Franck Bui <fbui>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P2 - High CC: astieger, axel.braun, forgotten_78VZKcLim2, lnussel, mail, mrmazda, opensuse.lietuviu.kalba, sndirsch, st-malcolm.moore
Version: Leap 42.2   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Daniel Noga 2016-09-22 22:53:46 UTC
1) Download openSUSE Leap 42.2 Beta 2
2) Start installation
3) On first installation page change Keyboard Layout
4) Type in Keyboard Test input

Expected: Type with selected keyboard layout

Actual: Type with english qwerty - Keyboard layout is ignored
Comment 1 malcolm moore 2016-09-23 07:30:49 UTC
I have the same  - cannot get UK layout even though that
was selected during install. After install you also cannot
change it via YaST - it's always US
Comment 2 Ludwig Nussel 2016-09-23 08:28:17 UTC
probably fallout of the kbd update. Franck, is this covered by the pending systemd submission?
Comment 3 Ludwig Nussel 2016-09-23 08:29:33 UTC
In my case
/etc/vconsole.conf has
KEYMAP=de-nodeadkeys

localctl says
...
 VC Keymap: de-nodeadkeys
X11 Keymap: us
Comment 4 Stefan Dirsch 2016-09-23 08:34:45 UTC
I'm pretty sure it is. localectl cannot convert console keyboard layouts like
"de-nodeadkeys" to a X11 layout without a mapping table right now. And the mapping table is missing in Beta2.
Comment 5 Franck Bui 2016-09-23 08:36:21 UTC
(In reply to Ludwig Nussel from comment #2)
> probably fallout of the kbd update. Franck, is this covered by the pending
> systemd submission?

I'm not sure...

If the keyboard layout doesn't change during *installation*, that might be another issue.

In your case and Malcom's one, it seems that the layout isn't taken into account after rebooting. In that case I would say it's probably covered by the upcoming change.
Comment 6 Stefan Dirsch 2016-09-23 08:38:34 UTC
xkbctrl is also affected by this. It's been used by YaST to map console keyboard layout to X11 keyboard layout. So installation is also affected.
Comment 7 Ludwig Nussel 2016-09-23 09:28:13 UTC
the sp2 submission doesn't fix it for me
Comment 8 Ludwig Nussel 2016-09-23 09:47:44 UTC
I had to remove /etc/X11/xorg.conf.d/00-keyboard.conf and reboot, then it worked. is that expected? Any other fix after installing the updated package?
Comment 9 Stefan Dirsch 2016-09-23 10:00:19 UTC
Ludwig, can I login to such a machine? What happens when you run /etc/X11/xdm/keytable?
Comment 10 Stefan Dirsch 2016-09-23 10:59:13 UTC
We figured out that 

  localectl set-keymap <layout>

doesn't rewrite /etc/X11/xorg.conf.d/00-keyboard.conf, if KEYMAP value in /etc/vconsole.conf hasn't been changed since.
Comment 11 Ludwig Nussel 2016-09-23 14:55:16 UTC
Update is on the way. Confirmed working:

# zypper ar -cf obs://openSUSE:Maintenance:5647/openSUSE_Leap_42.2_Update systemd_update
# zypper patch; zypper patch
# rm /etc/X11/xorg.conf.d/00-keyboard.conf
# reboot
Comment 12 Felix Miata 2016-09-28 06:26:31 UTC
Noting here that with the 2016-09-20 (latest available, but older than this bug's "fixed" comment) kernel/initrd starting an HTTP installation with Grub and lang=en and keytable=us on cmdline produces an initial GUI/YaST@ screen showing Language English (US) with Keyboard Layout Traditional Chinese.
Comment 13 Andreas Stieger 2016-09-28 07:38:54 UTC
*** Bug 1001520 has been marked as a duplicate of this bug. ***
Comment 14 Ludwig Nussel 2016-09-30 13:26:21 UTC
*** Bug 1001891 has been marked as a duplicate of this bug. ***