Bug 601587

Summary: installation work flow always uses English keyboard layout for input
Product: [openSUSE] openSUSE 11.3 Reporter: Terje J. Hanssen <terjejhanssen>
Component: InstallationAssignee: Steffen Winterfeldt <snwint>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Critical    
Priority: P2 - High CC: bitdealer, coolo, forgotten_vs5edErKRK, info, jsuchome, michel.munnix, possebaer, sasch.pe, sndirsch
Version: Milestone 6   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: /var/log/YaST2

Description Terje J. Hanssen 2010-04-30 20:59:01 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; nb-NO; rv:1.9.2.4) Gecko/20100417 SUSE/3.6.4-1.1 Firefox/3.6.4

1. Selected Norwegian keyboard layout for the installation. 
2. Coming to edit partitions mount points, typing '/' was written as '&' on the screen. 

Maybe still US keyboard layout is in use here. However, after installation and login, the Norwegian keyboard layout works as it should.



Reproducible: Always

Steps to Reproduce:
1.see details above
2.
3.
Actual Results:  
see details above

Expected Results:  
Typing '/' in mount point names, should be written '/' and not '&' on screen.
Comment 1 michel munnix 2010-05-02 10:22:02 UTC
Having the same problem with belgian keyboard on i686:

using Language: English (US) + Keyboard: Belgian
going up to "add new user" typing username: "azerty" displays "qwerty"
while the console sessions correctly displays the belgian keymap
Comment 2 michel munnix 2010-05-02 10:40:56 UTC
choosing boot option F2 French + leaving all defaults -> qwerty
Comment 3 Jiří Suchomel 2010-05-04 09:03:58 UTC
Do you have log files from installation?
Comment 4 Terje J. Hanssen 2010-05-04 10:07:16 UTC
Which log files, y2logs? I can post them later today
Comment 5 Jiří Suchomel 2010-05-04 10:12:43 UTC
Yes, y2logs
Comment 6 Jiří Suchomel 2010-05-04 12:03:29 UTC
Finally, I was able to install M6 and reproduce the problem.

Log says that /usr/sbin/xkbctrl is not present during installation.

Steffen?
Comment 7 Terje J. Hanssen 2010-05-04 16:25:52 UTC
Created attachment 359179 [details]
/var/log/YaST2

Maybe not longer of so much interest, but attached is a gz tarball of my /var/log/YaST2 directory. My M6 x86_64 installation isn't quite fresh, and I have run a smaller update since that.
Comment 8 Jiří Suchomel 2010-05-05 08:52:03 UTC
(In reply to comment #7)
> Created an attachment (id=359179) [details]
> /var/log/YaST2

Yes, this is the same as I mentioned before:  /usr/sbin/xkbctrl not found
Comment 9 Jiří Suchomel 2010-05-05 12:22:15 UTC
*** Bug 601780 has been marked as a duplicate of this bug. ***
Comment 10 Jiří Suchomel 2010-05-07 07:25:37 UTC
*** Bug 602647 has been marked as a duplicate of this bug. ***
Comment 11 Thomas Schwarzgruber 2010-05-07 07:55:34 UTC
I also experienced this bug while installing M6.
I chose German as language for the installation but the keyboard was through
all the installation process still an US qwerty. After the installation everything was fine.

I also suspect Bug 600851 being a duplicate report.
Comment 12 Steffen Winterfeldt 2010-05-10 13:17:44 UTC
xkbctrl no longer exists (sax2 was dropped).
Comment 13 Jiří Suchomel 2010-05-10 13:32:00 UTC
(In reply to comment #12)
> xkbctrl no longer exists (sax2 was dropped).

Cool that I was not noticed at all :-)

Anyway, YaST is using /usr/sbin/xkbctrl to get the info about X11 layout for given language (console map). If this data was dropped as well, I need to have another way to know the necessary information.

However, I think it would be better to leave xkbctrl, and /usr/share/sax/sysp/maps/Keyboard.map even without sax2 functionality, and new solution should be created after 11.3 release.
Comment 14 Jiří Suchomel 2010-05-10 13:38:10 UTC
(In reply to comment #12)
> xkbctrl no longer exists (sax2 was dropped).

For example, it _is_ part of openSUSE 11.3 M6. So was it removed later?
Comment 15 Terje J. Hanssen 2010-05-10 13:46:59 UTC
... and, according to 11.3 M6 Update>Installation :)
sax2-tools has been added back to the LiveCD images resolving a YaST dependency issue in installation stage 2. (Bug #585432)
http://news.opensuse.org/2010/05/03/opensuse-11-3-milestone-6-the-dust-begins-to-settle/
Comment 16 Stefan Dirsch 2010-05-10 16:13:28 UTC
Could it be that yast2-x11 is no longer installed during firstboot/second stage? In that case YaST is no longer running setxkbmap.
Comment 17 Jiří Suchomel 2010-05-10 18:16:39 UTC
(In reply to comment #16)
> Could it be that yast2-x11 is no longer installed during firstboot/second
> stage? In that case YaST is no longer running setxkbmap.

This is not the case of firstboot/second stage, but initial stage of installation. setxkbmap is needed there, and YaST is (was) using xkbctrl there. 

Steffen removed it and says it was dropped. Is that true? If not (and I think it should not be when we do not have a replacement), xkbctrl (and /usr/share/sax/sysp/maps/Keyboard.map as well) should be returned to inst-sys.
Comment 18 Jiří Suchomel 2010-05-10 18:46:22 UTC
(In reply to comment #16)
> Could it be that yast2-x11 is no longer installed during firstboot/second
> stage? In that case YaST is no longer running setxkbmap.

And BTW, even in firstboot YaST calls setxkbmap if keyboard step is part of firstboot configuration. If you want to drop these data required by YaST, please talk to me how should we find a solution, but I'd prefer not touch it for 11.3.
Comment 19 Stefan Dirsch 2010-05-10 19:04:19 UTC
As already said sax2-tools has been readded. I believe it makes sense to switch to
/etc/X11/xdm/Keyboard.map, which is now also used by /etc/X11/xdm/keytable.
Comment 20 Tristan Hoffmann 2010-05-10 19:19:38 UTC
For me this is even a blocker bug because I do not manage to finish the "Encrypted Volume Activation", I always get "Password did not unlock any volume".
The passsword contains really simple letters and an @ which I consider to be the problem. Even changing to German using F2 during Grub does not help :-(

I would really appreciate a solution for M7, thanks.
Comment 21 Jiří Suchomel 2010-05-10 19:58:43 UTC
(In reply to comment #19)
> As already said sax2-tools has been readded.

So, Steffen, please return it to inst-sys.

> I believe it makes sense to switch
> to
> /etc/X11/xdm/Keyboard.map, which is now also used by /etc/X11/xdm/keytable.

What should switch (and when)?
YaST is directly using only xkbctrl, so if xkbctrl uses different file, I do not care.
Comment 22 Steffen Winterfeldt 2010-05-11 09:44:57 UTC
I've put back xkbctrl and /usr/share/sax/sysp/maps/Keyboard.map from
sax2-ident.
If you are going to use a different map, don't hesitate to tell me.
Comment 23 Jiří Suchomel 2010-05-11 12:32:42 UTC
*** Bug 600851 has been marked as a duplicate of this bug. ***
Comment 24 Steffen Winterfeldt 2010-05-18 09:49:17 UTC
*** Bug 606505 has been marked as a duplicate of this bug. ***